k8s

package
v0.0.0-...-64e3f11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KubernetesLastAppliedConfig = "kubectl.kubernetes.io/last-applied-configuration"
)

Variables

This section is empty.

Functions

func GetK8sMetricsFromInformer

func GetK8sMetricsFromInformer(informers map[string]*cache.SharedIndexInformer,
	workDir *os.File, parseMetricData bool) error

GetK8sMetricsFromInformer loops through all k8s resource informers in kubeAgentConfig writing each to the WSD

func StartUpInformers

func StartUpInformers(clientset kubernetes.Interface, clusterVersion float64,
	resyncInterval int, stopCh chan struct{}) (map[string]*cache.SharedIndexInformer, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL