schedules

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateBackfillerID

func GenerateBackfillerID() string

GenerateBackfillerID generates a unique ID for a Backfiller component. This ID is used to identify and deduplicate backfill requests.

func GenerateRequestID

func GenerateRequestID(
	namespaceID string,
	scheduleID string,
	conflictToken int64,
	backfillID string,
	nominal time.Time,
	actual time.Time,
) string

GenerateRequestID generates a deterministic request ID for a buffered action's time. The request ID is deterministic because the jittered actual time (as well as the spec's nominal time) is, in turn, also deterministic.

backfillID should be left blank for actions that are being started automatically, based on the schedule spec. It must be set for backfills, as backfills may generate buffered actions that overlap with both automatically-buffered actions, as well as other requested backfills.

func GenerateWorkflowID

func GenerateWorkflowID(baseWorkflowID string, nominalTime time.Time) string

GenerateWorkflowID generates a deterministic workflow ID for a buffered action by combining the base workflow ID with the truncated nominal time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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