containerd

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const ContainerRuntimeEndpoint = "unix:///run/containerd/containerd.sock"
View Source
const (
	ContainerdDaemonName = "containerd"
)

Variables

This section is empty.

Functions

func GetContainerdMajorVersion added in v1.0.14

func GetContainerdMajorVersion() (int, error)

func GetContainerdVersion added in v1.0.14

func GetContainerdVersion() (string, error)

func GetContainerdVersionRaw added in v1.0.14

func GetContainerdVersionRaw() ([]byte, error)

func Install

func Install(ctx context.Context, artifactsTracker *tracker.Tracker, source Source, containerdSource tracker.ContainerdSourceName, kubernetesVersion string) error

func NewContainerdDaemon

func NewContainerdDaemon(daemonManager daemon.DaemonManager, cfg *api.NodeConfig, awsConfig *aws.Config, logger *zap.Logger) daemon.Daemon

func Uninstall

func Uninstall(ctx context.Context, source Source) error

func Upgrade added in v1.0.4

func Upgrade(ctx context.Context, source Source, kubernetesVersion string, skipContainerdMajorVersionUpgrade bool) error

func ValidateContainerdSource

func ValidateContainerdSource(source tracker.ContainerdSourceName) error

func ValidateSystemdUnitFile

func ValidateSystemdUnitFile() error

Types

type Source

type Source interface {
	GetContainerd(version string) artifact.Package
}

Source represents a source that serves a containerd binary.

Jump to

Keyboard shortcuts

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