Documentation ¶
Index ¶
- type Manager
- func (m *Manager) AddTask(task *Task, autoStart bool) error
- func (m *Manager) Exists(id string) bool
- func (m *Manager) GetNumTasks() int
- func (m *Manager) GetTask(id string) interface{}
- func (m *Manager) GetTasks() []interface{}
- func (m *Manager) GetTasksIDs() []string
- func (m *Manager) IsRunning(id string) bool
- func (m *Manager) RemoveTask(id string) bool
- func (m *Manager) StartTask(id string) error
- func (m *Manager) StopTask(id string) error
- type Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager - schedules all expression executions
func (*Manager) GetNumTasks ¶
GetNumTasks - returns the number of tasks
func (*Manager) GetTasks ¶ added in v1.17.2
func (m *Manager) GetTasks() []interface{}
GetTasks - returns a list of tasks
func (*Manager) GetTasksIDs ¶ added in v1.17.4
GetTasksIDs - returns a list of task IDs
func (*Manager) RemoveTask ¶
RemoveTask - removes a task
Click to show internal directories.
Click to hide internal directories.