Documentation ¶
Index ¶
- func New(bt define.Beater, config define.Config) define.Scheduler
- type Scheduler
- func (s *Scheduler) Add(t define.Task)
- func (s *Scheduler) Count() int
- func (s *Scheduler) GetStatus() define.Status
- func (s *Scheduler) IsDaemon() bool
- func (s *Scheduler) Reload(ctx context.Context, conf define.Config, newTasks []define.Task) error
- func (s *Scheduler) Start(ctx context.Context) error
- func (s *Scheduler) Stop()
- func (s *Scheduler) Wait()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.