scheduler

package
v0.0.0-...-6290bb2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobsList

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

func NewJobList

func NewJobList(maxJobs int) *JobsList

func (*JobsList) AvailableSpace

func (jl *JobsList) AvailableSpace() int

type Scheduler

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

func NewScheduler

func NewScheduler(s storage.SchedulerStorage, am *alerting.AlertManager, jobList *JobsList) *Scheduler

func (*Scheduler) Drain

func (sched *Scheduler) Drain() error

func (*Scheduler) DumpToFile

func (sched *Scheduler) DumpToFile(w io.Writer) error

func (*Scheduler) Start

func (sched *Scheduler) Start(signalsCh chan os.Signal) int

Jump to

Keyboard shortcuts

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