Documentation
¶
Index ¶
Constants ¶
View Source
const CMD_TASK_PREFIX = "task:"
View Source
const MODE_OVERIDE = SchedulingMode(0x01) // replace task if already scheduled
View Source
const MODE_REPLACE = MODE_OVERIDE | MODE_RESET // replace task and reset task schedule
View Source
const MODE_RESET = SchedulingMode(0x02) // reset actual delay if already scheduled
Variables ¶
This section is empty.
Functions ¶
func TaskReconciler ¶
func TaskReconciler(count int) controller.ConfigurationModifier
Types ¶
type BaseTask ¶
type BaseTask struct {
// contains filtered or unexported fields
}
func NewBaseTask ¶
type SchedulingMode ¶
type SchedulingMode byte
type Tasks ¶
type Tasks interface {
ScheduleTask(Task, SchedulingMode)
}
func GetTaskClient ¶
func GetTaskClient(controller controller.Interface) Tasks
Click to show internal directories.
Click to hide internal directories.