containerd

package
v0.0.0-...-3b6e1db Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

func NewConfig

func NewConfig(hostFs afero.Fs, configPath string, restarter Restarter) *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 Restarter

type Restarter interface {
	Restart() error
}

func NewRestarter

func NewRestarter() Restarter

Jump to

Keyboard shortcuts

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