containerd

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: Apache-2.0 Imports: 22 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 Install

func Install(ctx context.Context, tracker *tracker.Tracker, source Source, containerdSource SourceName) 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 ValidateContainerdSource

func ValidateContainerdSource(source SourceName) error

func ValidateSystemdUnitFile

func ValidateSystemdUnitFile() error

Types

type Source

type Source interface {
	GetContainerd() artifact.Package
}

Source represents a source that serves a containerd binary.

type SourceName

type SourceName string
const (
	ContainerdSourceNone   SourceName = "none"
	ContainerdSourceDistro SourceName = "distro"
	ContainerdSourceDocker SourceName = "docker"
)

func GetContainerdSource

func GetContainerdSource(containerdSource string) SourceName

Jump to

Keyboard shortcuts

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