containerdrunner

package
v0.0.0-...-fd18712 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 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 {
	Version         int         `toml:"version"`
	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 ContainerdRuntimes

type ContainerdRuntimes struct {
	RuntimesRunc RuntimesRunc `toml:"runc"`
}

type DebugConfig

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

type GRPCConfig

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

type IoContainerdGrpcV1Cri

type IoContainerdGrpcV1Cri struct {
	IoContainerdGrpcV1CriContainerd IoContainerdGrpcV1CriContainerd `toml:"containerd"`
}

type IoContainerdGrpcV1CriContainerd

type IoContainerdGrpcV1CriContainerd struct {
	ContainerdRuntimes ContainerdRuntimes `toml:"runtimes"`
}

type IoContainerdGrpcV1Linux

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

type Plugins

type Plugins struct {
	IoContainerdGrpcV1Linux IoContainerdGrpcV1Linux `toml:"io.containerd.runtime.v1.linux"`
	IoContainerdGrpcV1Cri   IoContainerdGrpcV1Cri   `toml:"io.containerd.grpc.v1.cri"`
}

type RuntimesRunc

type RuntimesRunc struct {
	RuntimeType string `toml:"runtime_type"`
}

Jump to

Keyboard shortcuts

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