package rdt
import "github.com/containerd/containerd/pkg/rdt"
Index ¶
- Constants
- func ContainerClassFromAnnotations(containerName string, containerAnnotations, podAnnotations map[string]string) (string, error)
- func IsEnabled() bool
- func SetConfig(configFilePath string) error
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 ¶
SetConfig updates rdt config with a given config path.
Source Files ¶
- Version
- v1.7.0
- Published
- Mar 10, 2023
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 2 seconds ago –
Tools for package owners.