All example values are now documented per field,
so are automatically used to generate responses.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -2042,98 +2042,6 @@ definitions: |
| 2042 | 2042 |
$ref: "#/definitions/NodeStatus" |
| 2043 | 2043 |
ManagerStatus: |
| 2044 | 2044 |
$ref: "#/definitions/ManagerStatus" |
| 2045 |
- example: |
|
| 2046 |
- ID: "24ifsmvkjbyhk" |
|
| 2047 |
- Version: |
|
| 2048 |
- Index: 8 |
|
| 2049 |
- CreatedAt: "2016-06-07T20:31:11.853781916Z" |
|
| 2050 |
- UpdatedAt: "2016-06-07T20:31:11.999868824Z" |
|
| 2051 |
- Spec: |
|
| 2052 |
- Name: "my-node" |
|
| 2053 |
- Role: "manager" |
|
| 2054 |
- Availability: "active" |
|
| 2055 |
- Labels: |
|
| 2056 |
- foo: "bar" |
|
| 2057 |
- Description: |
|
| 2058 |
- Hostname: "bf3067039e47" |
|
| 2059 |
- Platform: |
|
| 2060 |
- Architecture: "x86_64" |
|
| 2061 |
- OS: "linux" |
|
| 2062 |
- Resources: |
|
| 2063 |
- NanoCPUs: 4000000000 |
|
| 2064 |
- MemoryBytes: 8272408576 |
|
| 2065 |
- GenericResources: |
|
| 2066 |
- - DiscreteResourceSpec: |
|
| 2067 |
- Kind: "SSD" |
|
| 2068 |
- Value: 3 |
|
| 2069 |
- - NamedResourceSpec: |
|
| 2070 |
- Kind: "GPU" |
|
| 2071 |
- Value: "UUID1" |
|
| 2072 |
- - NamedResourceSpec: |
|
| 2073 |
- Kind: "GPU" |
|
| 2074 |
- Value: "UUID2" |
|
| 2075 |
- Engine: |
|
| 2076 |
- EngineVersion: "17.04.0" |
|
| 2077 |
- Labels: |
|
| 2078 |
- foo: "bar" |
|
| 2079 |
- Plugins: |
|
| 2080 |
- - Type: "Log" |
|
| 2081 |
- Name: "awslogs" |
|
| 2082 |
- - Type: "Log" |
|
| 2083 |
- Name: "fluentd" |
|
| 2084 |
- - Type: "Log" |
|
| 2085 |
- Name: "gcplogs" |
|
| 2086 |
- - Type: "Log" |
|
| 2087 |
- Name: "gelf" |
|
| 2088 |
- - Type: "Log" |
|
| 2089 |
- Name: "journald" |
|
| 2090 |
- - Type: "Log" |
|
| 2091 |
- Name: "json-file" |
|
| 2092 |
- - Type: "Log" |
|
| 2093 |
- Name: "logentries" |
|
| 2094 |
- - Type: "Log" |
|
| 2095 |
- Name: "splunk" |
|
| 2096 |
- - Type: "Log" |
|
| 2097 |
- Name: "syslog" |
|
| 2098 |
- - Type: "Network" |
|
| 2099 |
- Name: "bridge" |
|
| 2100 |
- - Type: "Network" |
|
| 2101 |
- Name: "host" |
|
| 2102 |
- - Type: "Network" |
|
| 2103 |
- Name: "ipvlan" |
|
| 2104 |
- - Type: "Network" |
|
| 2105 |
- Name: "macvlan" |
|
| 2106 |
- - Type: "Network" |
|
| 2107 |
- Name: "null" |
|
| 2108 |
- - Type: "Network" |
|
| 2109 |
- Name: "overlay" |
|
| 2110 |
- - Type: "Volume" |
|
| 2111 |
- Name: "local" |
|
| 2112 |
- - Type: "Volume" |
|
| 2113 |
- Name: "localhost:5000/vieux/sshfs:latest" |
|
| 2114 |
- - Type: "Volume" |
|
| 2115 |
- Name: "vieux/sshfs:latest" |
|
| 2116 |
- TLSInfo: |
|
| 2117 |
- TrustRoot: | |
|
| 2118 |
- -----BEGIN CERTIFICATE----- |
|
| 2119 |
- MIIBajCCARCgAwIBAgIUbYqrLSOSQHoxD8CwG6Bi2PJi9c8wCgYIKoZIzj0EAwIw |
|
| 2120 |
- EzERMA8GA1UEAxMIc3dhcm0tY2EwHhcNMTcwNDI0MjE0MzAwWhcNMzcwNDE5MjE0 |
|
| 2121 |
- MzAwWjATMREwDwYDVQQDEwhzd2FybS1jYTBZMBMGByqGSM49AgEGCCqGSM49AwEH |
|
| 2122 |
- A0IABJk/VyMPYdaqDXJb/VXh5n/1Yuv7iNrxV3Qb3l06XD46seovcDWs3IZNV1lf |
|
| 2123 |
- 3Skyr0ofcchipoiHkXBODojJydSjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMB |
|
| 2124 |
- Af8EBTADAQH/MB0GA1UdDgQWBBRUXxuRcnFjDfR/RIAUQab8ZV/n4jAKBggqhkjO |
|
| 2125 |
- PQQDAgNIADBFAiAy+JTe6Uc3KyLCMiqGl2GyWGQqQDEcO3/YG36x7om65AIhAJvz |
|
| 2126 |
- pxv6zFeVEkAEEkqIYi0omA9+CjanB/6Bz4n1uw8H |
|
| 2127 |
- -----END CERTIFICATE----- |
|
| 2128 |
- CertIssuerSubject: "MBMxETAPBgNVBAMTCHN3YXJtLWNh" |
|
| 2129 |
- CertIssuerPublicKey: "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEmT9XIw9h1qoNclv9VeHmf/Vi6/uI2vFXdBveXTpcPjqx6i9wNazchk1XWV/dKTKvSh9xyGKmiIeRcE4OiMnJ1A==" |
|
| 2130 |
- Status: |
|
| 2131 |
- State: "ready" |
|
| 2132 |
- Addr: "172.17.0.2" |
|
| 2133 |
- ManagerStatus: |
|
| 2134 |
- Leader: true |
|
| 2135 |
- Reachability: "reachable" |
|
| 2136 |
- Addr: "172.17.0.2:2377" |
|
| 2137 | 2045 |
|
| 2138 | 2046 |
NodeDescription: |
| 2139 | 2047 |
description: | |