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 Installer ¶
type Installer interface { InstallOn(hosts []net.IP) error GetInfo() (Info, error) UnInstallFrom(hosts []net.IP) error }
func NewInstaller ¶
func NewInstaller(conf v2.ContainerRuntimeConfig, driver infradriver.InfraDriver) (Installer, error)
Click to show internal directories.
Click to hide internal directories.