containerd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallDbus

func InstallDbus() error

InstallDbus checks if D-Bus service is installed and active. If not, installs D-Bus and starts the service. NOTE: this limits support to systems using systemctl to manage systemd.

func ListSystemdUnits

func ListSystemdUnits() ([]byte, error)

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(hostFs afero.Fs, configPath string, restarter Restarter, runtimeOptions map[string]string) *Config

func (*Config) AddRuntime

func (c *Config) AddRuntime(shimPath string) error

func (*Config) RemoveRuntime

func (c *Config) RemoveRuntime(shimPath string) (changed bool, err error)

func (*Config) RestartRuntime

func (c *Config) RestartRuntime() error

type K0sRestarter

type K0sRestarter struct{}

func (K0sRestarter) Restart

func (c K0sRestarter) Restart() error

type K3sRestarter

type K3sRestarter struct{}

func (K3sRestarter) Restart

func (c K3sRestarter) Restart() error

type MicroK8sRestarter

type MicroK8sRestarter struct{}

func (MicroK8sRestarter) Restart

func (c MicroK8sRestarter) Restart() error

type RKE2Restarter

type RKE2Restarter struct{}

func (RKE2Restarter) Restart

func (c RKE2Restarter) Restart() error

type Restarter

type Restarter interface {
	Restart() error
}

func NewDefaultRestarter

func NewDefaultRestarter() Restarter

Jump to

Keyboard shortcuts

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