Documentation ¶
Index ¶
- type ImportDeleteInterfaceImpl
- type ImportDeleteWorker
- 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImportDeleteInterfaceImpl ¶
type ImportDeleteInterfaceImpl struct {
// contains filtered or unexported fields
}
func (*ImportDeleteInterfaceImpl) MakeScheduler ¶
func (i *ImportDeleteInterfaceImpl) MakeScheduler() model.Scheduler
func (*ImportDeleteInterfaceImpl) MakeWorker ¶
func (i *ImportDeleteInterfaceImpl) MakeWorker() model.Worker
type ImportDeleteWorker ¶
type ImportDeleteWorker struct {
// contains filtered or unexported fields
}
func (*ImportDeleteWorker) JobChannel ¶
func (w *ImportDeleteWorker) JobChannel() chan<- model.Job
func (*ImportDeleteWorker) Run ¶
func (w *ImportDeleteWorker) Run()
func (*ImportDeleteWorker) Stop ¶
func (w *ImportDeleteWorker) Stop()
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
func (*Scheduler) NextScheduleTime ¶
Click to show internal directories.
Click to hide internal directories.