containerdrunner

package
v0.0.0-...-89d5bac Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 License: AGPL-3.0, AGPL-3.0-or-later, Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSession

func NewSession(runDir string, config Config) *gexec.Session

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