This repository was archived by the owner on Aug 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathnode.graphql
More file actions
86 lines (74 loc) · 1.28 KB
/
Copy pathnode.graphql
File metadata and controls
86 lines (74 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
type SwarmNode {
createdAt: Date
description: NodeDescription
details: NodeInfo
id: String
managerStatus: ManagerStatus
spec: NodeSpec
status: NodeStatus
updatedAt: Date
version: SwarmVersion
}
type NodeSpec {
availability: String
labels: StringAnyMap
name: String
role: String
}
type NodeDescription {
engine: EngineConfig
hostname: String
platform: Platform
resources: Resources
}
type Platform {
architecture: String
os: String
}
type Resources {
memoryBytes: Long
nanoCpus: Long
}
type EngineConfig {
engineVersion: String
labels: StringAnyMap
plugins: [EnginePlugin]
}
type EnginePlugin {
name: String
type: String
}
type NodeStatus {
addr: String
state: String
}
type ManagerStatus {
addr: String
leader: Boolean
reachability: String
}
input NodeFilter {
id: [String]
label: [String]
membership: [NodeMembership]
name: [String]
role: [NodeRole]
}
enum NodeMembership {
accepted
pending
}
enum NodeRole {
manager
worker
}
type NodeInfo {
createdAt: String
description: NodeDescription
id: ID!
managerStatus: ManagerStatus
spec: NodeSpec
status: NodeStatus
updatedAt: String
version: SwarmVersion
}