scheduler

package
v0.1.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	StatusChecker        = "statusChecker"
	BackupsChecker       = "backupsChecker"
	UserCreator          = "userCreator"
	OnPremisesIPsChecker = "onPremisesIPsChecker"
)

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