jobs

package
v1.0.140 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	PullCanaryFromUpstreamSchedule    = "@every 30s"
	PushCheckStatusesSchedule         = "@every 30s"
	ReconcileCanaryToUpstreamSchedule = "@every 3h"

	SyncCanaryJobsSchedule             = "@every 2m"
	SyncSystemsJobsSchedule            = "@every 5m"
	ComponentRunSchedule               = "@every 2m"
	ComponentStatusSummarySyncSchedule = "@every 1m"
	ComponentCheckSchedule             = "@every 2m"
	ComponentConfigSchedule            = "@every 2m"
	ComponentCostSchedule              = "@every 1h"
	CheckCleanupSchedule               = "@every 12h"
	CanaryCleanupSchedule              = "@every 12h"
	PrometheusGaugeCleanupSchedule     = "@every 1h"

	ReconcileDeletedTopologyComponentsSchedule = "@every 1h"
)

Variables

View Source
var FuncScheduler = cron.New()

Functions

func ScheduleFunc

func ScheduleFunc(schedule string, fn func()) (interface{}, error)

func Start

func Start()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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