package blockio

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

Index

Functions

func ClassNameToLinuxOCI

func ClassNameToLinuxOCI(className string) (*runtimespec.LinuxBlockIO, error)

ClassNameToLinuxOCI always is no-op in non-linux platforms.

func ContainerClassFromAnnotations

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

ContainerClassFromAnnotations always is no-op in non-linux platforms.

func IsEnabled

func IsEnabled() bool

IsEnabled always returns false in non-linux platforms.

func SetConfig

func SetConfig(configFilePath string) error

SetConfig always is no-op in non-linux platforms.

Source Files

blockio_nonlinux.go

Version
v1.7.1
Published
May 10, 2023
Platform
js/wasm
Imports
1 packages
Last checked
18 minutes ago

Tools for package owners.