kubernetes

package
v0.7.9 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IsWatcherEnabled = false
)

Functions

func ParseContainerIDFromPodStatus

func ParseContainerIDFromPodStatus(containerID string) string

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()

Jump to

Keyboard shortcuts

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