Documentation
¶
Overview ¶
Package k8sobject implements Kubernetes object utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NodeInfo ¶ added in v1.1.5
type NodeInfo struct {
v1.NodeSystemInfo
KubeletMinorVersionValue float64 `json:"kubelet-minor-version-value"`
KubeProxyMinorVersionValue float64 `json:"kube-proxy-minor-version-value"`
}
func ParseNodeInfo ¶ added in v1.1.5
func ParseNodeInfo(info v1.NodeSystemInfo) (nodeInfo NodeInfo)
ParseNodeInfo parses the node info. e.g. {"machineID":"","systemUUID":"","bootID":"","kernelVersion":"4.14.173-137.229.amzn2.x86_64","osImage":"Amazon Linux 2","containerRuntimeVersion":"docker://19.3.6","kubeletVersion":"v1.16.8-eks-e16311","kubeProxyVersion":"v1.16.8-eks-e16311","operatingSystem":"linux","architecture":"amd64"}
Click to show internal directories.
Click to hide internal directories.