Documentation ¶
Index ¶
- func GetExecutorInfo() interface{}
- type Manager
- func (m *Manager) Get(name types.Name) (types.TaskExecutor, error)
- func (m *Manager) GetCluster(clusterName string) (apistructs.ClusterInfo, error)
- func (m *Manager) Initialize() error
- func (m *Manager) TryGetExecutor(name types.Name, cluster apistructs.ClusterInfo) (bool, types.TaskExecutor, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExecutorInfo ¶
func GetExecutorInfo() interface{}
Types ¶
type Manager ¶
Manager for scheduler task executor
func GetManager ¶
func GetManager() *Manager
func (*Manager) GetCluster ¶
func (m *Manager) GetCluster(clusterName string) (apistructs.ClusterInfo, error)
func (*Manager) Initialize ¶
func (*Manager) TryGetExecutor ¶
func (m *Manager) TryGetExecutor(name types.Name, cluster apistructs.ClusterInfo) (bool, types.TaskExecutor, error)
TryGetExecutor if can`t get executor, manager try to make new executor by cluster info and return new executor
Click to show internal directories.
Click to hide internal directories.