containerdrunner

package
v0.0.0-...-7ac82bb Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContainerdProcess

func NewContainerdProcess(runDir string, config Config) *os.Process

Types

type Config

type Config struct {
	Root            string      `toml:"root"`
	State           string      `toml:"state"`
	Subreaper       bool        `toml:"subreaper"`
	OomScore        int         `toml:"oom_score"`
	GRPC            GRPCConfig  `toml:"grpc"`
	Debug           DebugConfig `toml:"debug"`
	DisabledPlugins []string    `toml:"disabled_plugins"`
	Plugins         Plugins     `toml:"plugins"`

	RunDir string
}

func ContainerdConfig

func ContainerdConfig(containerdDataDir string) Config

type DebugConfig

type DebugConfig struct {
	Address string `toml:"address"`
	Level   string `toml:"level"`
}

type GRPCConfig

type GRPCConfig struct {
	Address string `toml:"address"`
}

type Linux

type Linux struct {
	ShimDebug bool `toml:"shim_debug"`
}

type Plugins

type Plugins struct {
	Linux Linux `toml:"linux"`
}

Jump to

Keyboard shortcuts

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