resctrl

package
v0.52.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPlugin added in v0.52.1

func RegisterPlugin(name string, plugin ResControlManagerPlugin) error

Types

type ResControlManager added in v0.52.1

type ResControlManager interface {
	Destroy()
	GetCollector(containerName string, getContainerPids func() ([]string, error), numberOfNUMANodes int) (stats.Collector, error)
}

func NewManager

func NewManager(interval time.Duration, vendorID string, inHostNamespace bool) (ResControlManager, error)

type ResControlManagerPlugin added in v0.52.1

type ResControlManagerPlugin interface {
	NewManager(interval time.Duration, vendorID string, inHostNamespace bool) (ResControlManager, error)
}

Directories

Path Synopsis
Collector of resctrl for a container.
Collector of resctrl for a container.

Jump to

Keyboard shortcuts

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