forked from kubernetes-client/go
/
v1_node_status.go
44 lines (32 loc) · 1.94 KB
/
v1_node_status.go
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
/*
* Kubernetes
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: v1.10.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package client
// NodeStatus is information about the current status of a node.
type V1NodeStatus struct {
// List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses
Addresses []V1NodeAddress `json:"addresses,omitempty"`
// Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.
Allocatable map[string]string `json:"allocatable,omitempty"`
// Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
Capacity map[string]string `json:"capacity,omitempty"`
// Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition
Conditions []V1NodeCondition `json:"conditions,omitempty"`
// Endpoints of daemons running on the Node.
DaemonEndpoints *V1NodeDaemonEndpoints `json:"daemonEndpoints,omitempty"`
// List of container images on this node
Images []V1ContainerImage `json:"images,omitempty"`
// Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info
NodeInfo *V1NodeSystemInfo `json:"nodeInfo,omitempty"`
// NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.
Phase string `json:"phase,omitempty"`
// List of volumes that are attached to the node.
VolumesAttached []V1AttachedVolume `json:"volumesAttached,omitempty"`
// List of attachable volumes in use (mounted) by the node.
VolumesInUse []string `json:"volumesInUse,omitempty"`
}