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 // ContainerStats holds all container energy and resource usage metrics ContainerStats *map[string]*stats.ContainerStats // 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.