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()
Click to show internal directories.
Click to hide internal directories.