Documentation ¶
Index ¶
- Constants
- type Manager
- func (mgr *Manager) Copy() *Manager
- func (mgr *Manager) RunTaskOnAllNodes(task NodeTask, parallel bool) error
- func (mgr *Manager) RunTaskOnEtcdNodes(task NodeTask, parallel bool) error
- func (mgr *Manager) RunTaskOnK8sNodes(task NodeTask, parallel bool) error
- func (mgr *Manager) RunTaskOnMasterNodes(task NodeTask, parallel bool) error
- func (mgr *Manager) RunTaskOnNodes(nodes []kubekeyapi.HostCfg, task NodeTask, parallel bool) error
- func (mgr *Manager) RunTaskOnWorkerNodes(task NodeTask, parallel bool) error
- type NodeTask
- type Task
Constants ¶
View Source
const ( DefaultCon = 10 Timeout = 120 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { Cluster *kubekeyapi.ClusterSpec Logger log.FieldLogger Connector *ssh.Dialer Runner *runner.Runner AllNodes []kubekeyapi.HostCfg EtcdNodes []kubekeyapi.HostCfg MasterNodes []kubekeyapi.HostCfg WorkerNodes []kubekeyapi.HostCfg K8sNodes []kubekeyapi.HostCfg ClientNode []kubekeyapi.HostCfg ClusterHosts []string WorkDir string KsEnable bool KsVersion string Debug bool SkipCheck bool SkipPullImages bool }
func (*Manager) RunTaskOnAllNodes ¶
func (*Manager) RunTaskOnEtcdNodes ¶
func (*Manager) RunTaskOnK8sNodes ¶
func (*Manager) RunTaskOnMasterNodes ¶
func (*Manager) RunTaskOnNodes ¶
Click to show internal directories.
Click to hide internal directories.