package resctrl

import "github.com/google/cadvisor/resctrl"

Index

Functions

func RegisterPlugin

func RegisterPlugin(name string, plugin ResControlManagerPlugin) error

Types

type ResControlManager

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

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

Source Files

factory.go

Directories

PathSynopsis
resctrl/intelCollector of resctrl for a container.
resctrl/intel/install
Version
v0.52.1 (latest)
Published
Mar 5, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
3 days ago

Tools for package owners.