watcher

package
v0.0.0-...-fef43ea Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjListWatcher

type ObjListWatcher struct {
	ResourceKind string

	LabelNames      *map[string]bool
	LabelPrefixes   []string
	ExposeAllLabels bool

	// PodMetrics holds all pod labels
	PodMetrics *map[string]map[string]string

	// Lock to syncronize the collector update with prometheus exporter
	Mx *sync.Mutex
	// contains filtered or unexported fields
}

func NewObjListWatcher

func NewObjListWatcher(kubeConfigPath string) *ObjListWatcher

func (*ObjListWatcher) Run

func (w *ObjListWatcher) Run()

func (*ObjListWatcher) Stop

func (w *ObjListWatcher) Stop()

Jump to

Keyboard shortcuts

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