package rdt

import "github.com/containerd/containerd/pkg/rdt"

Index

Constants

const (
	// ResctrlPrefix is the prefix used for class/closid directories under the resctrl filesystem
	ResctrlPrefix = ""
)

Functions

func ContainerClassFromAnnotations

func ContainerClassFromAnnotations(containerName string, containerAnnotations, podAnnotations map[string]string) (string, error)

ContainerClassFromAnnotations examines container and pod annotations of a container and returns its RDT class.

func IsEnabled

func IsEnabled() bool

IsEnabled checks whether rdt is enabled.

func SetConfig

func SetConfig(configFilePath string) error

SetConfig updates rdt config with a given config path.

Source Files

rdt_linux.go

Version
v1.7.0
Published
Mar 10, 2023
Platform
linux/amd64
Imports
4 packages
Last checked
2 minutes ago

Tools for package owners.