Documentation ¶
Index ¶
- func SyncKubeBinaries(runtime connector.Runtime, binariesMap map[string]*files.KubeBinary) error
- type AddMasterTaint
- type AddWorkerLabel
- type ChmodScript
- type ClusterIsExist
- type CopyK8eKubeConfig
- type DeleteClusterModule
- type EnableK8eService
- type ExecUninstallScript
- type GenerateK8eService
- type GenerateK8eServiceEnv
- type GetClusterStatus
- type InitClusterModule
- type InstallKubeBinariesModule
- type JoinNodesModule
- type K8eStatus
- func (k *K8eStatus) LoadKubeConfig(runtime connector.Runtime, kubeConf *common.KubeConf) error
- func (k *K8eStatus) SearchInfo(runtime connector.Runtime) error
- func (k *K8eStatus) SearchKubeConfig(runtime connector.Runtime) error
- func (k *K8eStatus) SearchNodeToken(runtime connector.Runtime) error
- func (k *K8eStatus) SearchNodesInfo(_ connector.Runtime) error
- func (k *K8eStatus) SearchVersion(runtime connector.Runtime) error
- type NodeInCluster
- type SaveKubeConfig
- type SaveKubeConfigModule
- type StatusModule
- type SyncKubeBinary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SyncKubeBinaries ¶
SyncKubeBinaries is used to sync kubernetes' binaries to each node.
Types ¶
type AddMasterTaint ¶
type AddMasterTaint struct {
common.KubeAction
}
type AddWorkerLabel ¶
type AddWorkerLabel struct {
common.KubeAction
}
type ChmodScript ¶
type ChmodScript struct {
common.KubeAction
}
type ClusterIsExist ¶
type ClusterIsExist struct { common.KubePrepare Not bool }
type CopyK8eKubeConfig ¶
type CopyK8eKubeConfig struct {
common.KubeAction
}
type DeleteClusterModule ¶
type DeleteClusterModule struct {
common.KubeModule
}
func (*DeleteClusterModule) Init ¶
func (d *DeleteClusterModule) Init()
type EnableK8eService ¶
type EnableK8eService struct {
common.KubeAction
}
type ExecUninstallScript ¶
type ExecUninstallScript struct {
common.KubeAction
}
type GenerateK8eService ¶
type GenerateK8eService struct {
common.KubeAction
}
type GenerateK8eServiceEnv ¶
type GenerateK8eServiceEnv struct {
common.KubeAction
}
type GetClusterStatus ¶
type GetClusterStatus struct {
common.KubeAction
}
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 (*K8eStatus) SearchKubeConfig ¶
func (*K8eStatus) SearchNodeToken ¶
type NodeInCluster ¶
type NodeInCluster struct { common.KubePrepare Not bool }
type SaveKubeConfig ¶
type SaveKubeConfig struct {
common.KubeAction
}
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
}
Click to show internal directories.
Click to hide internal directories.