Files
go/kubernetes/client/v1_node_status.go
Haowei Cai 6181687d2e Generated API change for kubernetes 1.10
Settings:
    export KUBERNETES_BRANCH="release-1.10"
    export CLIENT_VERSION="0.1.0a1"
    export PACKAGE_NAME="client"
2018-03-21 14:15:19 -07:00

45 lines
1.9 KiB
Go

/*
* 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"`
}