Extract NodeDescription to a separate definition
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
7cb4a97ae1
commit
33e2c99401
1 changed files with 19 additions and 16 deletions
|
@ -2037,22 +2037,7 @@ definitions:
|
|||
Spec:
|
||||
$ref: "#/definitions/NodeSpec"
|
||||
Description:
|
||||
description: |
|
||||
Description encapsulates the properties of the Node as reported by the
|
||||
agent.
|
||||
type: "object"
|
||||
properties:
|
||||
Hostname:
|
||||
type: "string"
|
||||
example: "bf3067039e47"
|
||||
Platform:
|
||||
$ref: "#/definitions/Platform"
|
||||
Resources:
|
||||
$ref: "#/definitions/ResourceObject"
|
||||
Engine:
|
||||
$ref: "#/definitions/EngineDescription"
|
||||
TLSInfo:
|
||||
$ref: "#/definitions/TLSInfo"
|
||||
$ref: "#/definitions/NodeDescription"
|
||||
Status:
|
||||
$ref: "#/definitions/NodeStatus"
|
||||
ManagerStatus:
|
||||
|
@ -2150,6 +2135,24 @@ definitions:
|
|||
Reachability: "reachable"
|
||||
Addr: "172.17.0.2:2377"
|
||||
|
||||
NodeDescription:
|
||||
description: |
|
||||
NodeDescription encapsulates the properties of the Node as reported by the
|
||||
agent.
|
||||
type: "object"
|
||||
properties:
|
||||
Hostname:
|
||||
type: "string"
|
||||
example: "bf3067039e47"
|
||||
Platform:
|
||||
$ref: "#/definitions/Platform"
|
||||
Resources:
|
||||
$ref: "#/definitions/ResourceObject"
|
||||
Engine:
|
||||
$ref: "#/definitions/EngineDescription"
|
||||
TLSInfo:
|
||||
$ref: "#/definitions/TLSInfo"
|
||||
|
||||
Platform:
|
||||
description: |
|
||||
Platform represents the platform (Arch/OS).
|
||||
|
|
Loading…
Reference in a new issue