Documentation
¶
Index ¶
- Constants
- func Install(ctx context.Context, tracker *tracker.Tracker, source Source, ...) error
- func NewContainerdDaemon(daemonManager daemon.DaemonManager, cfg *api.NodeConfig, awsConfig *aws.Config, ...) daemon.Daemon
- func Uninstall(ctx context.Context, source Source) error
- func ValidateContainerdSource(source SourceName) error
- func ValidateSystemdUnitFile() error
- type Source
- type SourceName
Constants ¶
View Source
const ContainerRuntimeEndpoint = "unix:///run/containerd/containerd.sock"
View Source
const (
ContainerdDaemonName = "containerd"
)
Variables ¶
This section is empty.
Functions ¶
func NewContainerdDaemon ¶
func NewContainerdDaemon(daemonManager daemon.DaemonManager, cfg *api.NodeConfig, awsConfig *aws.Config, logger *zap.Logger) daemon.Daemon
func ValidateContainerdSource ¶
func ValidateContainerdSource(source SourceName) error
func ValidateSystemdUnitFile ¶
func ValidateSystemdUnitFile() error
Types ¶
type SourceName ¶
type SourceName string
const ( ContainerdSourceNone SourceName = "none" ContainerdSourceDistro SourceName = "distro" ContainerdSourceDocker SourceName = "docker" )
func GetContainerdSource ¶
func GetContainerdSource(containerdSource string) SourceName
Click to show internal directories.
Click to hide internal directories.