Documentation ¶
Index ¶
- type KubernetesHandler
- func (kubernetesHandler *KubernetesHandler) GetNodeUsageMetrics(nodeName string) prometheus.NodeUsageMetrics
- func (kubernetesHandler *KubernetesHandler) GetPodUsageMetrics(podName, namespace string) []prometheus.ContainerUsageMetrics
- func (kubernetesHandler *KubernetesHandler) ListNodes() []prometheus.NodeMetrics
- func (KubernetesHandler *KubernetesHandler) ListPods(ignoredNamespaces []string) []prometheus.PodMetrics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubernetesHandler ¶
type KubernetesHandler struct {
// contains filtered or unexported fields
}
func NewKubernetesHandler ¶
func NewKubernetesHandler() *KubernetesHandler
func (*KubernetesHandler) GetNodeUsageMetrics ¶
func (kubernetesHandler *KubernetesHandler) GetNodeUsageMetrics(nodeName string) prometheus.NodeUsageMetrics
func (*KubernetesHandler) GetPodUsageMetrics ¶
func (kubernetesHandler *KubernetesHandler) GetPodUsageMetrics(podName, namespace string) []prometheus.ContainerUsageMetrics
func (*KubernetesHandler) ListNodes ¶
func (kubernetesHandler *KubernetesHandler) ListNodes() []prometheus.NodeMetrics
func (*KubernetesHandler) ListPods ¶
func (KubernetesHandler *KubernetesHandler) ListPods(ignoredNamespaces []string) []prometheus.PodMetrics
Click to show internal directories.
Click to hide internal directories.