Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeletPodLister ¶
type KubeletPodLister struct{}
func (*KubeletPodLister) GetAvailableMetrics ¶
func (k *KubeletPodLister) GetAvailableMetrics() []string
GetAvailableMetrics returns containerCPUUsageMetricName and containerMemUsageMetricName if kubelet is connected
func (*KubeletPodLister) ListMetrics ¶
func (k *KubeletPodLister) ListMetrics() (containerCPU, containerMem map[string]float64, nodeCPU, nodeMem float64, retErr error)
ListMetrics accesses Kubelet's metrics and obtain pods and node metrics
Click to show internal directories.
Click to hide internal directories.