Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { // ID is a unique string that identifies a node in tis cluster. It can be // any value but we strongly recommend a random GUID or a hash derived from // identifying information. This should be a stable value for the lifetime // of the node, or else it will be assumed to be a different node. This // must not include personally identifiable information. ID string `json:"id"` // OperatingSystem is the value reported by kubernetes in the node status. OperatingSystem *string `json:"operating_system,omitempty"` // OSImage is the value reported by kubernetes in the node status. OSImage *string `json:"os_image,omitempty"` // KernelVersion is the value reported by kubernetes in the node status. KernelVersion *string `json:"kernel_version,omitempty"` // Architecture is the value reported by kubernetes in the node status. Architecture *string `json:"architecture,omitempty"` // ContainerRuntimeVersion is the value reported by kubernetes in the node // status. ContainerRuntimeVersion *string `json:"container_runtime_version,omitempty"` // KubeletVersion is the value reported by kubernetes in the node status. KubeletVersion *string `json:"kubelet_version,omitempty"` // CloudProvider is the <ProviderName> portion of the ProviderID reported // by kubernetes in the node spec. CloudProvider *string `json:"cloud_provider,omitempty"` // ExternalIP is the node's external IP. ExternalIP string `json:"external_ip"` // Capacity is a list of resources and their associated values as reported // by kubernetes in the node status. Capacity []Resource `json:"capacity,omitempty"` }
type Record ¶
type Record struct { agent.KindVersion // Time is the time when the record is generated. Time time.Time `json:"time"` // Kubernetes version of this cluster. KubernetesVersion string `json:"kubernetes_version"` // Nodes is a list of node-specific information from the reporting cluster. Nodes []Node `json:"nodes,omitempty"` }
Click to show internal directories.
Click to hide internal directories.