Versions in this module Expand all Collapse all v5 v5.100.1 Jun 2, 2020 v5.100.0 May 26, 2020 Changes in this version + const JOB_DATA_KEY_MIGRATION + const JOB_DATA_KEY_MIGRATION_LAST_DONE + const MIGRATION_JOB_WEDGED_TIMEOUT_MILLISECONDS + const MIGRATION_STATE_COMPLETED + const MIGRATION_STATE_IN_PROGRESS + const MIGRATION_STATE_UNSCHEDULED + const TIME_BETWEEN_BATCHES + func GetMigrationState(migration string, store store.Store) (string, *model.Job, *model.AppError) + func MakeMigrationsList() []string + type AdvancedPermissionsPhase2Progress struct + CurrentTable string + LastChannelId string + LastTeamId string + LastUserId string + func AdvancedPermissionsPhase2ProgressFromJson(data io.Reader) *AdvancedPermissionsPhase2Progress + func (p *AdvancedPermissionsPhase2Progress) IsValid() bool + func (p *AdvancedPermissionsPhase2Progress) ToJson() string + type MigrationsJobInterfaceImpl struct + App *app.App + func (m *MigrationsJobInterfaceImpl) MakeScheduler() model.Scheduler + func (m *MigrationsJobInterfaceImpl) MakeWorker() model.Worker + type Scheduler struct + App *app.App + 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 struct + func (worker *Worker) DoJob(job *model.Job) + func (worker *Worker) JobChannel() chan<- model.Job + func (worker *Worker) Run() + func (worker *Worker) Stop() Other modules containing this package github.com/mad-app/mattermost-server