Versions in this module Expand all Collapse all v0 v0.1.0 Oct 16, 2024 Changes in this version + func DefaultBuildConfigFunc() (*rest.Config, error) + func DefaultNewClientsetFunc(config *rest.Config) (kubernetes.Interface, error) + func GetKubernetesClient(buildConfigFunc func() (*rest.Config, error), ...) (*rest.Config, kubernetes.Interface, error) + type PodScrapeDetails struct + Namespace string + Path string + PodName string + Port string + type PodScrapeWatcher struct + DeletePodMetricsFunc func(*corev1.Pod) + PodMetricsEndpoints map[string]PodScrapeDetails + UpdatePodMetricsFunc func(*corev1.Pod) + func NewPodScrapeWatcher() *PodScrapeWatcher + func (pw *PodScrapeWatcher) DeletePodMetrics(pod *corev1.Pod) + func (pw *PodScrapeWatcher) GetPodMetricsEndpoints() map[string]PodScrapeDetails + func (pw *PodScrapeWatcher) UpdatePodMetrics(pod *corev1.Pod) + func (pw *PodScrapeWatcher) WatchPods(clientset kubernetes.Interface, namespace string, labels map[string]string)