package deprecation

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

Index

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/"
	// PullSchema1Image is a warning for the use of schema 1 images
	PullSchema1Image Warning = Prefix + "pull-schema-1-image"
	// GoPluginLibrary is a warning for the use of dynamic library Go plugins
	GoPluginLibrary Warning = Prefix + "go-plugin-library"
	// CRISystemdCgroupV1 is a warning for the `systemd_cgroup` property
	CRISystemdCgroupV1 Warning = Prefix + "cri-systemd-cgroup-v1"
	// CRIUntrustedWorkloadRuntime is a warning for the `untrusted_workload_runtime` property
	CRIUntrustedWorkloadRuntime Warning = Prefix + "cri-untrusted-workload-runtime"
	// CRIDefaultRuntime is a warning for the `default_runtime` property
	CRIDefaultRuntime Warning = Prefix + "cri-default-runtime"
	// CRIRuntimeEngine is a warning for the `runtime_engine` property
	CRIRuntimeEngine Warning = Prefix + "cri-runtime-engine"
	// CRIRuntimeRoot is a warning for the `runtime_root` property
	CRIRuntimeRoot Warning = Prefix + "cri-runtime-root"
	// 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"
	// CRIAPIV1Alpha2 is a warning for the use of CRI-API v1alpha2
	CRIAPIV1Alpha2 Warning = Prefix + "cri-api-v1alpha2"
	// AUFSSnapshotter is a warning for the use of the aufs snapshotter
	AUFSSnapshotter Warning = Prefix + "aufs-snapshotter"
	// RuntimeV1 is a warning for the io.containerd.runtime.v1.linux runtime
	RuntimeV1 Warning = Prefix + "runtime-v1"
	// RuntimeRuncV1 is a warning for the io.containerd.runc.v1 runtime
	RuntimeRuncV1 Warning = Prefix + "runtime-runc-v1"
	// CRICRIUPath is a warning for the use of the `CriuPath` property
	CRICRIUPath Warning = Prefix + "cri-criu-path"
)

Source Files

deprecation.go

Version
v1.7.11
Published
Dec 8, 2023
Platform
js/wasm
Last checked
6 minutes ago

Tools for package owners.