deprecation

package
v2.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvPrefix = "CONTAINERD_ENABLE_DEPRECATED_"
)

Variables

This section is empty.

Functions

func Message

func Message(id Warning) (string, bool)

Message returns the human-readable message for a given Warning

func Valid

func Valid(id Warning) bool

Valid checks whether a given Warning is valid

Types

type Warning

type Warning string
const (
	// Prefix is a standard prefix for all Warnings, used for filtering plugin Exports
	Prefix = "io.containerd.deprecation/"
	// CRIRegistryMirrors is a warning for the use of the `mirrors` property
	CRIRegistryMirrors Warning = Prefix + "cri-registry-mirrors"
	// CRIRegistryAuths is a warning for the use of the `auths` property
	CRIRegistryAuths Warning = Prefix + "cri-registry-auths"
	// CRIRegistryConfigs is a warning for the use of the `configs` property
	CRIRegistryConfigs Warning = Prefix + "cri-registry-configs"
	// CRICNIBinDir is a warning for the use of the `bin_dir` property
	CRICNIBinDir = Prefix + "cri-cni-bin-dir"
	// OTLPTracingConfig is a warning for the use of the `otlp` property
	TracingOTLPConfig Warning = Prefix + "tracing-processor-config"
	// TracingServiceConfig is a warning for the use of the `tracing` property
	TracingServiceConfig Warning = Prefix + "tracing-service-config"
	// NRIV010Plugin is a warning for the use of NRI 0.1.0-style plugins
	NRIV010Plugin Warning = Prefix + "nri-v010-plugin"
	// CgroupV1 is a warning for the use of cgroup v1
	CgroupV1 Warning = Prefix + "cgroup-v1"
	// CRIEnableCDI is a warning for the use of the `enable_cdi` property
	CRIEnableCDI Warning = Prefix + "enable-cdi"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL