scheduler

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const BackupsChecker = "backupsChecker"
View Source
const StatusChecker = "statusChecker"
View Source
const UserCreator = "userCreator"

Variables

View Source
var ClusterBackupsInterval time.Duration
View Source
var ClusterStatusInterval time.Duration
View Source
var UserCreationInterval time.Duration

Functions

This section is empty.

Types

type Interface

type Interface interface {
	ScheduleJob(jobID string, interval time.Duration, job Job) error
	RemoveJob(jobID string)
	Stop()
}

func NewScheduler

func NewScheduler(logger logr.Logger) Interface

type Job

type Job func() error

Jump to

Keyboard shortcuts

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