container

package
v3.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 17 Imported by: 3

Documentation

Index

Constants

View Source
const (
	DefaultContainerdCRISocket = "/run/containerd/containerd.sock"
)

Variables

This section is empty.

Functions

func InstallContainerd

func InstallContainerd(m *InstallContainerModule) []task.Interface

func InstallDocker

func InstallDocker(m *InstallContainerModule) []task.Interface

func MigrateACri

func MigrateACri(p *CriMigrateModule) []task.Interface

func MigrateMCri

func MigrateMCri(p *CriMigrateModule) []task.Interface

func MigrateSelfNodeCriTasks

func MigrateSelfNodeCriTasks(runtime connector.Runtime, kubeAction common.KubeAction) error

func MigrateWCri

func MigrateWCri(p *CriMigrateModule) []task.Interface

func UninstallContainerd

func UninstallContainerd(m *UninstallContainerModule) []task.Interface

func UninstallDocker

func UninstallDocker(m *UninstallContainerModule) []task.Interface

Types

type ContainerdExist

type ContainerdExist struct {
	common.KubePrepare
	Not bool
}

func (*ContainerdExist) PreCheck

func (c *ContainerdExist) PreCheck(runtime connector.Runtime) (bool, error)

type CordonNode

type CordonNode struct {
	common.KubeAction
}

func (*CordonNode) Execute

func (d *CordonNode) Execute(runtime connector.Runtime) error

type CriMigrateModule

type CriMigrateModule struct {
	common.KubeModule

	Skip bool
}

func (*CriMigrateModule) Init

func (p *CriMigrateModule) Init()

func (*CriMigrateModule) IsSkip

func (i *CriMigrateModule) IsSkip() bool

type CrictlExist

type CrictlExist struct {
	common.KubePrepare
	Not bool
}

func (*CrictlExist) PreCheck

func (c *CrictlExist) PreCheck(runtime connector.Runtime) (bool, error)

type DisableContainerd

type DisableContainerd struct {
	common.KubeAction
}

func (*DisableContainerd) Execute

func (d *DisableContainerd) Execute(runtime connector.Runtime) error

type DisableDocker

type DisableDocker struct {
	common.KubeAction
}

func (*DisableDocker) Execute

func (d *DisableDocker) Execute(runtime connector.Runtime) error

type DockerExist

type DockerExist struct {
	common.KubePrepare
	Not bool
}

func (*DockerExist) PreCheck

func (d *DockerExist) PreCheck(runtime connector.Runtime) (bool, error)

type DockerLoginRegistry

type DockerLoginRegistry struct {
	common.KubeAction
}

func (*DockerLoginRegistry) Execute

func (p *DockerLoginRegistry) Execute(runtime connector.Runtime) error

type DrainNode

type DrainNode struct {
	common.KubeAction
}

func (*DrainNode) Execute

func (d *DrainNode) Execute(runtime connector.Runtime) error

type EditKubeletCri

type EditKubeletCri struct {
	common.KubeAction
}

func (*EditKubeletCri) Execute

func (i *EditKubeletCri) Execute(runtime connector.Runtime) error

type EnableContainerd

type EnableContainerd struct {
	common.KubeAction
}

func (*EnableContainerd) Execute

func (e *EnableContainerd) Execute(runtime connector.Runtime) error

type EnableDocker

type EnableDocker struct {
	common.KubeAction
}

func (*EnableDocker) Execute

func (e *EnableDocker) Execute(runtime connector.Runtime) error

type InstallContainerModule

type InstallContainerModule struct {
	common.KubeModule
	Skip bool
}

func (*InstallContainerModule) Init

func (i *InstallContainerModule) Init()

func (*InstallContainerModule) IsSkip

func (i *InstallContainerModule) IsSkip() bool

type MigrateSelfNodeCri

type MigrateSelfNodeCri struct {
	common.KubeAction
}

func (*MigrateSelfNodeCri) Execute

func (d *MigrateSelfNodeCri) Execute(runtime connector.Runtime) error

type PrivateRegistryAuth

type PrivateRegistryAuth struct {
	common.KubePrepare
}

func (*PrivateRegistryAuth) PreCheck

func (p *PrivateRegistryAuth) PreCheck(runtime connector.Runtime) (bool, error)

type RestartCri

type RestartCri struct {
	common.KubeAction
}

func (*RestartCri) Execute

func (i *RestartCri) Execute(runtime connector.Runtime) error

type RestartKubeletNode

type RestartKubeletNode struct {
	common.KubeAction
}

func (*RestartKubeletNode) Execute

func (d *RestartKubeletNode) Execute(runtime connector.Runtime) error

type SyncContainerd

type SyncContainerd struct {
	common.KubeAction
}

func (*SyncContainerd) Execute

func (s *SyncContainerd) Execute(runtime connector.Runtime) error

type SyncCrictlBinaries

type SyncCrictlBinaries struct {
	common.KubeAction
}

func (*SyncCrictlBinaries) Execute

func (s *SyncCrictlBinaries) Execute(runtime connector.Runtime) error

type SyncDockerBinaries

type SyncDockerBinaries struct {
	common.KubeAction
}

func (*SyncDockerBinaries) Execute

func (s *SyncDockerBinaries) Execute(runtime connector.Runtime) error

type UnCordonNode

type UnCordonNode struct {
	common.KubeAction
}

func (*UnCordonNode) Execute

func (d *UnCordonNode) Execute(runtime connector.Runtime) error

type UninstallContainerModule

type UninstallContainerModule struct {
	common.KubeModule
	Skip bool
}

func (*UninstallContainerModule) Init

func (i *UninstallContainerModule) Init()

func (*UninstallContainerModule) IsSkip

func (i *UninstallContainerModule) IsSkip() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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