precheck

package
v3.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 15 Imported by: 7

Documentation

Index

Constants

View Source
const (
	UnknownVersion = "UnknownVersion"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CalculateMinK8sVersion

type CalculateMinK8sVersion struct {
	common.KubeAction
}

func (*CalculateMinK8sVersion) Execute

func (g *CalculateMinK8sVersion) Execute(runtime connector.Runtime) error

type CheckDesiredK8sVersion

type CheckDesiredK8sVersion struct {
	common.KubeAction
}

func (*CheckDesiredK8sVersion) Execute

type ClusterPreCheckModule

type ClusterPreCheckModule struct {
	common.KubeModule
	SkipDependencyCheck bool
}

func (*ClusterPreCheckModule) Init

func (c *ClusterPreCheckModule) Init()

type DependencyCheck

type DependencyCheck struct {
	common.KubeAction
}

func (*DependencyCheck) Execute

func (d *DependencyCheck) Execute(_ connector.Runtime) error

type GetAllNodesK8sVersion

type GetAllNodesK8sVersion struct {
	common.KubeAction
}

func (*GetAllNodesK8sVersion) Execute

func (g *GetAllNodesK8sVersion) Execute(runtime connector.Runtime) error

type GetKubeConfig

type GetKubeConfig struct {
	common.KubeAction
}

func (*GetKubeConfig) Execute

func (g *GetKubeConfig) Execute(runtime connector.Runtime) error

type GetKubernetesNodesStatus

type GetKubernetesNodesStatus struct {
	common.KubeAction
}

func (*GetKubernetesNodesStatus) Execute

func (g *GetKubernetesNodesStatus) Execute(runtime connector.Runtime) error

type GreetingsModule

type GreetingsModule struct {
	module.BaseTaskModule
}

func (*GreetingsModule) Init

func (h *GreetingsModule) Init()

type GreetingsTask

type GreetingsTask struct {
	action.BaseAction
}

func (*GreetingsTask) Execute

func (h *GreetingsTask) Execute(runtime connector.Runtime) error

type KsVersionCheck

type KsVersionCheck struct {
	common.KubeAction
}

func (*KsVersionCheck) Execute

func (k *KsVersionCheck) Execute(runtime connector.Runtime) error

type KubeSphereExist

type KubeSphereExist struct {
	common.KubePrepare
}

func (*KubeSphereExist) PreCheck

func (k *KubeSphereExist) PreCheck(runtime connector.Runtime) (bool, error)

type NodePreCheck

type NodePreCheck struct {
	common.KubeAction
}

func (*NodePreCheck) Execute

func (n *NodePreCheck) Execute(runtime connector.Runtime) error

type NodePreCheckModule

type NodePreCheckModule struct {
	common.KubeModule
	Skip bool
}

func (*NodePreCheckModule) Init

func (n *NodePreCheckModule) Init()

func (*NodePreCheckModule) IsSkip

func (n *NodePreCheckModule) IsSkip() bool

Jump to

Keyboard shortcuts

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