Documentation ¶
Index ¶
- type TaskScheduler
- func (ts *TaskScheduler) Close(ctx context.Context) error
- func (ts *TaskScheduler) CloseTaskSchedule(ctx context.Context, tk task.Task) error
- func (ts *TaskScheduler) NewStageID(ctx context.Context, taskKey string) (stageID int64, err error)
- func (ts *TaskScheduler) ReadTask(ctx context.Context, taskKey string) (*task.Task, error)
- func (ts *TaskScheduler) ScheduleTask(ctx context.Context, tk task.Task, overlap bool) (task.Task, error)
- func (ts *TaskScheduler) WaitTaskAwaken(ctx context.Context) (awaken task.Awaken, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskScheduler ¶
type TaskScheduler struct {
// contains filtered or unexported fields
}
func NewTaskScheduler ¶
func (*TaskScheduler) CloseTaskSchedule ¶
func (*TaskScheduler) NewStageID ¶
func (*TaskScheduler) ScheduleTask ¶
func (*TaskScheduler) WaitTaskAwaken ¶
Click to show internal directories.
Click to hide internal directories.