confirm

package
v3.1.6 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 19 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RefineDockerVersion

func RefineDockerVersion(version string) (string, error)

Types

type CheckFile

type CheckFile struct {
	action.BaseAction
	FileName string
}

func (*CheckFile) Execute

func (c *CheckFile) Execute(runtime connector.Runtime) error

type CheckFileExistModule

type CheckFileExistModule struct {
	module.BaseTaskModule
	FileName string
}

func (*CheckFileExistModule) Init

func (c *CheckFileExistModule) Init()

type DeleteClusterConfirmModule

type DeleteClusterConfirmModule struct {
	common.KubeModule
	Skip bool
}

func (*DeleteClusterConfirmModule) Init

func (d *DeleteClusterConfirmModule) Init()

func (*DeleteClusterConfirmModule) IsSkip added in v3.0.8

func (d *DeleteClusterConfirmModule) IsSkip() bool

type DeleteConfirm

type DeleteConfirm struct {
	common.KubeAction
	Content string
}

func (*DeleteConfirm) Execute

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

type DeleteNodeConfirmModule

type DeleteNodeConfirmModule struct {
	common.KubeModule
	Skip bool
}

func (*DeleteNodeConfirmModule) Init

func (d *DeleteNodeConfirmModule) Init()

func (*DeleteNodeConfirmModule) IsSkip added in v3.0.8

func (d *DeleteNodeConfirmModule) IsSkip() bool

type InstallConfirmModule

type InstallConfirmModule struct {
	common.KubeModule
	Skip bool
}

func (*InstallConfirmModule) Init

func (i *InstallConfirmModule) Init()

func (*InstallConfirmModule) IsSkip

func (i *InstallConfirmModule) IsSkip() bool

type InstallationConfirm

type InstallationConfirm struct {
	common.KubeAction
}

func (*InstallationConfirm) Execute

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

type MigrateCri

type MigrateCri struct {
	common.KubeAction
}

func (*MigrateCri) Execute

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

type MigrateCriConfirmModule

type MigrateCriConfirmModule struct {
	common.KubeModule
}

func (*MigrateCriConfirmModule) Init

func (d *MigrateCriConfirmModule) Init()

type PreCheckResults

type PreCheckResults struct {
	Name       string `table:"name"`
	Sudo       string `table:"sudo"`
	Curl       string `table:"curl"`
	Openssl    string `table:"openssl"`
	Ebtables   string `table:"ebtables"`
	Socat      string `table:"socat"`
	Ipset      string `table:"ipset"`
	Ipvsadm    string `table:"ipvsadm"`
	Conntrack  string `table:"conntrack"`
	Chronyd    string `table:"chrony"`
	Docker     string `table:"docker"`
	Containerd string `table:"containerd"`
	Nfs        string `table:"nfs client"`
	Ceph       string `table:"ceph client"`
	Glusterfs  string `table:"glusterfs client"`
	Time       string `table:"time"`
}

PreCheckResults defines the items to be checked.

type UpgradeConfirm

type UpgradeConfirm struct {
	common.KubeAction
}

func (*UpgradeConfirm) Execute

func (u *UpgradeConfirm) Execute(runtime connector.Runtime) error

type UpgradeConfirmModule

type UpgradeConfirmModule struct {
	common.KubeModule
	Skip bool
}

func (*UpgradeConfirmModule) Init

func (u *UpgradeConfirmModule) Init()

func (*UpgradeConfirmModule) IsSkip

func (u *UpgradeConfirmModule) IsSkip() bool

Jump to

Keyboard shortcuts

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