scheduler

package
v6.0.0-...-cfe9101 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2024 License: AGPL-3.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeScheduler

func MakeScheduler(jobServer *jobs.JobServer) model.Scheduler

func MakeWorker

func MakeWorker(jobServer *jobs.JobServer, app AppIface) model.Worker

Types

type AppIface

type AppIface interface {
	DeleteAllExpiredPluginKeys() *model.AppError
}

type Worker

type Worker struct {
	// contains filtered or unexported fields
}

func (*Worker) DoJob

func (worker *Worker) DoJob(job *model.Job)

func (*Worker) IsEnabled

func (worker *Worker) IsEnabled(cfg *model.Config) bool

func (*Worker) JobChannel

func (worker *Worker) JobChannel() chan<- model.Job

func (*Worker) Run

func (worker *Worker) Run()

func (*Worker) Stop

func (worker *Worker) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL