package resctrl
import "github.com/google/cadvisor/resctrl"
Collector of resctrl for a container.
Manager of resctrl for containers.
Utilities.
Index ¶
Functions ¶
func Setup ¶
func Setup() error
Types ¶
type Manager ¶
type Manager interface { Destroy() GetCollector(containerName string, getContainerPids func() ([]string, error), numberOfNUMANodes int) (stats.Collector, error) }
func NewManager ¶
func NewManager(interval time.Duration, setup func() error, vendorID string, inHostNamespace bool) (Manager, error)
type NoopManager ¶
type NoopManager struct { stats.NoopDestroy }
func (*NoopManager) GetCollector ¶
func (np *NoopManager) GetCollector(_ string, _ func() ([]string, error), _ int) (stats.Collector, error)
Source Files ¶
collector.go manager.go utils.go
- Version
- v0.49.1
- Published
- Mar 2, 2024
- Platform
- linux/amd64
- Imports
- 17 packages
- Last checked
- 4 minutes ago –
Tools for package owners.