k8e

package
v3.1.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SyncKubeBinaries

func SyncKubeBinaries(runtime connector.Runtime, binariesMap map[string]*files.KubeBinary) error

SyncKubeBinaries is used to sync kubernetes' binaries to each node.

Types

type AddMasterTaint

type AddMasterTaint struct {
	common.KubeAction
}

func (*AddMasterTaint) Execute

func (a *AddMasterTaint) Execute(runtime connector.Runtime) error

type AddWorkerLabel

type AddWorkerLabel struct {
	common.KubeAction
}

func (*AddWorkerLabel) Execute

func (a *AddWorkerLabel) Execute(runtime connector.Runtime) error

type ChmodScript

type ChmodScript struct {
	common.KubeAction
}

func (*ChmodScript) Execute

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

type ClusterIsExist

type ClusterIsExist struct {
	common.KubePrepare
	Not bool
}

func (*ClusterIsExist) PreCheck

func (c *ClusterIsExist) PreCheck(_ connector.Runtime) (bool, error)

type CopyK8eKubeConfig

type CopyK8eKubeConfig struct {
	common.KubeAction
}

func (*CopyK8eKubeConfig) Execute

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

type DeleteClusterModule

type DeleteClusterModule struct {
	common.KubeModule
}

func (*DeleteClusterModule) Init

func (d *DeleteClusterModule) Init()

type EnableK8eService

type EnableK8eService struct {
	common.KubeAction
}

func (*EnableK8eService) Execute

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

type ExecUninstallScript

type ExecUninstallScript struct {
	common.KubeAction
}

func (*ExecUninstallScript) Execute

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

type GenerateK8eService

type GenerateK8eService struct {
	common.KubeAction
}

func (*GenerateK8eService) Execute

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

type GenerateK8eServiceEnv

type GenerateK8eServiceEnv struct {
	common.KubeAction
}

func (*GenerateK8eServiceEnv) Execute

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

type GetClusterStatus

type GetClusterStatus struct {
	common.KubeAction
}

func (*GetClusterStatus) Execute

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

type InitClusterModule

type InitClusterModule struct {
	common.KubeModule
}

func (*InitClusterModule) Init

func (i *InitClusterModule) Init()

type InstallKubeBinariesModule

type InstallKubeBinariesModule struct {
	common.KubeModule
}

func (*InstallKubeBinariesModule) Init

func (i *InstallKubeBinariesModule) Init()

type JoinNodesModule

type JoinNodesModule struct {
	common.KubeModule
}

func (*JoinNodesModule) Init

func (j *JoinNodesModule) Init()

type K8eStatus

type K8eStatus struct {
	Version     string
	ClusterInfo string
	NodeToken   string
	KubeConfig  string
	NodesInfo   map[string]string
}

func NewK8eStatus

func NewK8eStatus() *K8eStatus

func (*K8eStatus) LoadKubeConfig

func (k *K8eStatus) LoadKubeConfig(runtime connector.Runtime, kubeConf *common.KubeConf) error

func (*K8eStatus) SearchInfo

func (k *K8eStatus) SearchInfo(runtime connector.Runtime) error

func (*K8eStatus) SearchKubeConfig

func (k *K8eStatus) SearchKubeConfig(runtime connector.Runtime) error

func (*K8eStatus) SearchNodeToken

func (k *K8eStatus) SearchNodeToken(runtime connector.Runtime) error

func (*K8eStatus) SearchNodesInfo

func (k *K8eStatus) SearchNodesInfo(_ connector.Runtime) error

func (*K8eStatus) SearchVersion

func (k *K8eStatus) SearchVersion(runtime connector.Runtime) error

type NodeInCluster

type NodeInCluster struct {
	common.KubePrepare
	Not bool
}

func (*NodeInCluster) PreCheck

func (n *NodeInCluster) PreCheck(runtime connector.Runtime) (bool, error)

type SaveKubeConfig

type SaveKubeConfig struct {
	common.KubeAction
}

func (*SaveKubeConfig) Execute

func (s *SaveKubeConfig) Execute(_ connector.Runtime) error

type SaveKubeConfigModule

type SaveKubeConfigModule struct {
	common.KubeModule
}

func (*SaveKubeConfigModule) Init

func (s *SaveKubeConfigModule) Init()

type StatusModule

type StatusModule struct {
	common.KubeModule
}

func (*StatusModule) Init

func (s *StatusModule) Init()

type SyncKubeBinary

type SyncKubeBinary struct {
	common.KubeAction
}

func (*SyncKubeBinary) Execute

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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