Documentation ¶
Index ¶
- type PluginsJobInterfaceImpl
- type Scheduler
- func (scheduler *Scheduler) Enabled(cfg *model.Config) bool
- func (scheduler *Scheduler) JobType() string
- func (scheduler *Scheduler) Name() string
- func (scheduler *Scheduler) NextScheduleTime(cfg *model.Config, now time.Time, pendingJobs bool, ...) *time.Time
- func (scheduler *Scheduler) ScheduleJob(cfg *model.Config, pendingJobs bool, lastSuccessfulJob *model.Job) (*model.Job, *model.AppError)
- type Worker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginsJobInterfaceImpl ¶
func (*PluginsJobInterfaceImpl) MakeScheduler ¶
func (m *PluginsJobInterfaceImpl) MakeScheduler() model.Scheduler
func (*PluginsJobInterfaceImpl) MakeWorker ¶
func (m *PluginsJobInterfaceImpl) MakeWorker() model.Worker
type Scheduler ¶
func (*Scheduler) NextScheduleTime ¶
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
func (*Worker) JobChannel ¶
Click to show internal directories.
Click to hide internal directories.