Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
IsWatcherEnabled = false
)
Functions ¶
Types ¶
type ObjListWatcher ¶
type ObjListWatcher struct { // Lock to syncronize the collector update with the watcher Mx *sync.Mutex ResourceKind string // ContainersMetrics holds all container energy and resource usage metrics ContainersMetrics *map[string]*collector_metric.ContainerMetrics // contains filtered or unexported fields }
func NewObjListWatcher ¶
func NewObjListWatcher() *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.