scheduler

package
v0.49.2 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: BSD-2-Clause, BSD-3-Clause, PostgreSQL Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSchedulerGroups

func GetSchedulerGroups() (groups map[string]Group, err error)

Types

type Group

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

func (Group) Schedule

func (group Group) Schedule(ctx context.Context, runner func(context.Context), logger *util.Logger, logName string)

func (Group) ScheduleSecondary

func (group Group) ScheduleSecondary(ctx context.Context, runner func(context.Context), logger *util.Logger, logName string, primaryGroup Group)

ScheduleSecondary - Behaves almost like Schedule, but ignores the point in time where the primary group also has a run (to avoid overlapping statistics)

Jump to

Keyboard shortcuts

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