jobs

package
v1.0.66 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PullCanaryFromUpstreamSchedule     = "@every 30s"
	PushCanaryToUpstreamSchedule       = "@every 10s"
	ReconcileCanaryToUpstreamSchedule  = "@every 3h"
	SyncCanaryJobsSchedule             = "@every 2m"
	SyncSystemsJobsSchedule            = "@every 5m"
	ComponentRunSchedule               = "@every 2m"
	ComponentStatusSummarySyncSchedule = "@every 1m"
	ComponentCheckSchedule             = "@every 2m"
	ComponentConfigSchedule            = "@every 2m"
	ComponentCostSchedule              = "@every 1h"
	CheckStatusSummarySchedule         = "@every 1m"
	CheckStatusesAggregate1hSchedule   = "@every 1h"
	CheckStatusesAggregate1dSchedule   = "@every 24h"
	CheckStatusDeleteSchedule          = "@every 24h"
	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