Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn authored on 2017/08/11 09:09:35... | ... |
@@ -2046,22 +2046,7 @@ definitions: |
2046 | 2046 |
type: "string" |
2047 | 2047 |
example: "bf3067039e47" |
2048 | 2048 |
Platform: |
2049 |
- description: | |
|
2050 |
- Platform represents the platform (Arch/OS). |
|
2051 |
- type: "object" |
|
2052 |
- properties: |
|
2053 |
- Architecture: |
|
2054 |
- description: | |
|
2055 |
- Architecture represents the hardware architecture (for example, |
|
2056 |
- `x86_64`). |
|
2057 |
- type: "string" |
|
2058 |
- example: "x86_64" |
|
2059 |
- OS: |
|
2060 |
- description: | |
|
2061 |
- OS represents the Operating System (for example, `linux` or |
|
2062 |
- `windows`). |
|
2063 |
- type: "string" |
|
2064 |
- example: "linux" |
|
2049 |
+ $ref: "#/definitions/Platform" |
|
2065 | 2050 |
Resources: |
2066 | 2051 |
$ref: "#/definitions/ResourceObject" |
2067 | 2052 |
Engine: |
... | ... |
@@ -2184,6 +2169,23 @@ definitions: |
2184 | 2184 |
Reachability: "reachable" |
2185 | 2185 |
Addr: "172.17.0.2:2377" |
2186 | 2186 |
|
2187 |
+ Platform: |
|
2188 |
+ description: | |
|
2189 |
+ Platform represents the platform (Arch/OS). |
|
2190 |
+ type: "object" |
|
2191 |
+ properties: |
|
2192 |
+ Architecture: |
|
2193 |
+ description: | |
|
2194 |
+ Architecture represents the hardware architecture (for example, |
|
2195 |
+ `x86_64`). |
|
2196 |
+ type: "string" |
|
2197 |
+ example: "x86_64" |
|
2198 |
+ OS: |
|
2199 |
+ description: | |
|
2200 |
+ OS represents the Operating System (for example, `linux` or `windows`). |
|
2201 |
+ type: "string" |
|
2202 |
+ example: "linux" |
|
2203 |
+ |
|
2187 | 2204 |
TLSInfo: |
2188 | 2205 |
description: "Information about the issuer of leaf TLS certificates and the trusted root CA certificate" |
2189 | 2206 |
type: "object" |
... | ... |
@@ -2784,14 +2786,7 @@ definitions: |
2784 | 2784 |
scheduling restrictions. |
2785 | 2785 |
type: "array" |
2786 | 2786 |
items: |
2787 |
- type: "object" |
|
2788 |
- properties: |
|
2789 |
- Architecture: |
|
2790 |
- type: "string" |
|
2791 |
- example: "amd64" |
|
2792 |
- OS: |
|
2793 |
- type: "string" |
|
2794 |
- example: "linux" |
|
2787 |
+ $ref: "#/definitions/Platform" |
|
2795 | 2788 |
ForceUpdate: |
2796 | 2789 |
description: "A counter that triggers an update even if no relevant parameters have been changed." |
2797 | 2790 |
type: "integer" |