Documentation ¶
Index ¶
- func SyncKubeBinaries(s *SyncKubeBinary, runtime connector.Runtime, ...) error
- type AddMasterTaint
- type AddWorkerLabel
- type ChmodScript
- type ClusterIsExist
- type CopyK3sKubeConfig
- type DeleteClusterModule
- type EnableK3sService
- type ExecUninstallScript
- type GenerateK3sRegistryConfig
- type GenerateK3sService
- type GenerateK3sServiceEnv
- type GetClusterStatus
- type InitClusterModule
- type InstallKubeBinariesModule
- type JoinNodesModule
- type K3sStatus
- func (k *K3sStatus) LoadKubeConfig(runtime connector.Runtime, kubeConf *common.KubeConf) error
- func (k *K3sStatus) SearchInfo(runtime connector.Runtime) error
- func (k *K3sStatus) SearchKubeConfig(runtime connector.Runtime) error
- func (k *K3sStatus) SearchNodeToken(runtime connector.Runtime) error
- func (k *K3sStatus) SearchNodesInfo(_ connector.Runtime) error
- func (k *K3sStatus) SearchVersion(runtime connector.Runtime) error
- type NodeInCluster
- type SaveKubeConfig
- type SaveKubeConfigModule
- type StatusModule
- type SyncKubeBinary
- type UsePrivateRegstry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SyncKubeBinaries ¶
func SyncKubeBinaries(s *SyncKubeBinary, 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
}
type AddWorkerLabel ¶
type AddWorkerLabel struct {
common.KubeAction
}
type ChmodScript ¶
type ChmodScript struct {
common.KubeAction
}
type ClusterIsExist ¶
type ClusterIsExist struct { common.KubePrepare Not bool }
type CopyK3sKubeConfig ¶
type CopyK3sKubeConfig struct {
common.KubeAction
}
type DeleteClusterModule ¶
type DeleteClusterModule struct {
common.KubeModule
}
func (*DeleteClusterModule) Init ¶
func (d *DeleteClusterModule) Init()
type EnableK3sService ¶
type EnableK3sService struct {
common.KubeAction
}
type ExecUninstallScript ¶
type ExecUninstallScript struct {
common.KubeAction
}
type GenerateK3sRegistryConfig ¶
type GenerateK3sRegistryConfig struct {
common.KubeAction
}
type GenerateK3sService ¶
type GenerateK3sService struct {
common.KubeAction
}
type GenerateK3sServiceEnv ¶
type GenerateK3sServiceEnv 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 K3sStatus ¶
type K3sStatus struct { Version string ClusterInfo string NodeToken string KubeConfig string NodesInfo map[string]string }
func NewK3sStatus ¶
func NewK3sStatus() *K3sStatus
func (*K3sStatus) LoadKubeConfig ¶
func (*K3sStatus) SearchKubeConfig ¶
func (*K3sStatus) 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
}
type UsePrivateRegstry ¶
type UsePrivateRegstry struct { common.KubePrepare Not bool }
Click to show internal directories.
Click to hide internal directories.