Remove redundant example for Node
All example values are now documented per field, so are automatically used to generate responses. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
5b017ef45d
commit
2720cefbb2
1 changed files with 0 additions and 92 deletions
|
@ -2042,98 +2042,6 @@ definitions:
|
|||
$ref: "#/definitions/NodeStatus"
|
||||
ManagerStatus:
|
||||
$ref: "#/definitions/ManagerStatus"
|
||||
example:
|
||||
ID: "24ifsmvkjbyhk"
|
||||
Version:
|
||||
Index: 8
|
||||
CreatedAt: "2016-06-07T20:31:11.853781916Z"
|
||||
UpdatedAt: "2016-06-07T20:31:11.999868824Z"
|
||||
Spec:
|
||||
Name: "my-node"
|
||||
Role: "manager"
|
||||
Availability: "active"
|
||||
Labels:
|
||||
foo: "bar"
|
||||
Description:
|
||||
Hostname: "bf3067039e47"
|
||||
Platform:
|
||||
Architecture: "x86_64"
|
||||
OS: "linux"
|
||||
Resources:
|
||||
NanoCPUs: 4000000000
|
||||
MemoryBytes: 8272408576
|
||||
GenericResources:
|
||||
- DiscreteResourceSpec:
|
||||
Kind: "SSD"
|
||||
Value: 3
|
||||
- NamedResourceSpec:
|
||||
Kind: "GPU"
|
||||
Value: "UUID1"
|
||||
- NamedResourceSpec:
|
||||
Kind: "GPU"
|
||||
Value: "UUID2"
|
||||
Engine:
|
||||
EngineVersion: "17.04.0"
|
||||
Labels:
|
||||
foo: "bar"
|
||||
Plugins:
|
||||
- Type: "Log"
|
||||
Name: "awslogs"
|
||||
- Type: "Log"
|
||||
Name: "fluentd"
|
||||
- Type: "Log"
|
||||
Name: "gcplogs"
|
||||
- Type: "Log"
|
||||
Name: "gelf"
|
||||
- Type: "Log"
|
||||
Name: "journald"
|
||||
- Type: "Log"
|
||||
Name: "json-file"
|
||||
- Type: "Log"
|
||||
Name: "logentries"
|
||||
- Type: "Log"
|
||||
Name: "splunk"
|
||||
- Type: "Log"
|
||||
Name: "syslog"
|
||||
- Type: "Network"
|
||||
Name: "bridge"
|
||||
- Type: "Network"
|
||||
Name: "host"
|
||||
- Type: "Network"
|
||||
Name: "ipvlan"
|
||||
- Type: "Network"
|
||||
Name: "macvlan"
|
||||
- Type: "Network"
|
||||
Name: "null"
|
||||
- Type: "Network"
|
||||
Name: "overlay"
|
||||
- Type: "Volume"
|
||||
Name: "local"
|
||||
- Type: "Volume"
|
||||
Name: "localhost:5000/vieux/sshfs:latest"
|
||||
- Type: "Volume"
|
||||
Name: "vieux/sshfs:latest"
|
||||
TLSInfo:
|
||||
TrustRoot: |
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIBajCCARCgAwIBAgIUbYqrLSOSQHoxD8CwG6Bi2PJi9c8wCgYIKoZIzj0EAwIw
|
||||
EzERMA8GA1UEAxMIc3dhcm0tY2EwHhcNMTcwNDI0MjE0MzAwWhcNMzcwNDE5MjE0
|
||||
MzAwWjATMREwDwYDVQQDEwhzd2FybS1jYTBZMBMGByqGSM49AgEGCCqGSM49AwEH
|
||||
A0IABJk/VyMPYdaqDXJb/VXh5n/1Yuv7iNrxV3Qb3l06XD46seovcDWs3IZNV1lf
|
||||
3Skyr0ofcchipoiHkXBODojJydSjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMB
|
||||
Af8EBTADAQH/MB0GA1UdDgQWBBRUXxuRcnFjDfR/RIAUQab8ZV/n4jAKBggqhkjO
|
||||
PQQDAgNIADBFAiAy+JTe6Uc3KyLCMiqGl2GyWGQqQDEcO3/YG36x7om65AIhAJvz
|
||||
pxv6zFeVEkAEEkqIYi0omA9+CjanB/6Bz4n1uw8H
|
||||
-----END CERTIFICATE-----
|
||||
CertIssuerSubject: "MBMxETAPBgNVBAMTCHN3YXJtLWNh"
|
||||
CertIssuerPublicKey: "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEmT9XIw9h1qoNclv9VeHmf/Vi6/uI2vFXdBveXTpcPjqx6i9wNazchk1XWV/dKTKvSh9xyGKmiIeRcE4OiMnJ1A=="
|
||||
Status:
|
||||
State: "ready"
|
||||
Addr: "172.17.0.2"
|
||||
ManagerStatus:
|
||||
Leader: true
|
||||
Reachability: "reachable"
|
||||
Addr: "172.17.0.2:2377"
|
||||
|
||||
NodeDescription:
|
||||
description: |
|
||||
|
|
Loading…
Add table
Reference in a new issue