Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { Name string `json:"name"` CACertDigest string `json:"ca_cert_digest"` K8sVersion string `json:"k8s_version"` CNIVersion string `json:"cni_version,omitempty"` Location *Location `json:"location"` NodesCount int `json:"nodes_count"` Nodes []Node `json:"nodes"` Components Components `json:"components"` }
type Components ¶ added in v0.2.0
type Components struct { Images []Image `json:"images,omitempty"` Resources map[string]ResourceList `json:"resources"` }
type Image ¶
type Node ¶
type Node struct { Name string `json:"name"` Type string `json:"type"` Hostname string `json:"hostname"` Capacity *Capacity `json:"capacity"` Allocatable *Capacity `json:"allocatable"` Labels map[string]string `json:"labels"` Annotations map[string]string `json:"annotations"` MachineID string `json:"machine_id"` Architecture string `json:"architecture"` ContainerRuntimeVersion string `json:"container_runtime_version"` BootID string `json:"boot_id"` KernelVersion string `json:"kernel_version"` KubeProxyVersion string `json:"kube_proxy_version"` KubeletVersion string `json:"kubelet_version"` OperatingSystem string `json:"operating_system"` OsImage string `json:"os_image"` }
type ResourceList ¶
Click to show internal directories.
Click to hide internal directories.