Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchNodes ¶
Types ¶
type Container ¶
type Namespace ¶
type Node ¶
type Node struct { Annotations map[string]string `json:"annotations,omitempty"` Arch string `json:"arch,omitempty"` ContainerRuntimeVersion string `json:"container_runtime_version,omitempty"` KernelVersion string `json:"kernel_version,omitempty"` KubeProxyVersion string `json:"kube_proxy_version,omitempty"` KubeletVersion string `json:"kubelet_version,omitempty"` Labels map[string]string `json:"labels,omitempty"` Name string `json:"name"` OperatingSystem string `json:"operating_system,omitempty"` UID string `json:"uid"` }
type Pod ¶
type Report ¶
type Report struct { ClusterName string `json:"cluster_name"` Containers []Container `json:"containers"` Namespaces []Namespace `json:"namespaces,omitempty"` Nodes []Node `json:"nodes,omitempty"` Pods []Pod `json:"pods,omitempty"` ServerVersionMetadata *version.Info `json:"serverVersionMetadata"` Timestamp string `json:"timestamp,omitempty"` // Should be generated using time.Now.UTC() and formatted according to RFC Y-M-DTH:M:SZ }
Click to show internal directories.
Click to hide internal directories.