containerruntime

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultDockerCRISocket     = "/var/run/dockershim.sock"
	DefaultCgroupDriver        = "systemd"
	DefaultDockerCertsDir      = "/etc/docker/certs.d"
	DefaultContainerdCRISocket = "/run/containerd/containerd.sock"
	DefaultContainerdCertsDir  = "/etc/containerd/certs.d"
	DockerConfigFileName       = "config.json"
)
View Source
const (
	CgroupDriverArg = "CgroupDriver"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultInstaller added in v0.9.2

type DefaultInstaller struct {
	Info
	// contains filtered or unexported fields
}

func (*DefaultInstaller) GetInfo added in v0.9.2

func (d *DefaultInstaller) GetInfo() (Info, error)

func (*DefaultInstaller) InstallOn added in v0.9.2

func (d *DefaultInstaller) InstallOn(hosts []net.IP) error

func (*DefaultInstaller) UnInstallFrom added in v0.9.2

func (d *DefaultInstaller) UnInstallFrom(hosts []net.IP) error

type Info

type Info struct {
	v2.ContainerRuntimeConfig
	CgroupDriver   string
	CRISocket      string
	CertsDir       string
	ConfigFilePath string
}

type Installer

type Installer interface {
	InstallOn(hosts []net.IP) error

	GetInfo() (Info, error)

	UnInstallFrom(hosts []net.IP) error
}

Jump to

Keyboard shortcuts

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