scheduler

package
v1.18.5 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WorkflowType      = "temporal-sys-scheduler-workflow"
	NamespaceDivision = "TemporalScheduler"
)
View Source
const (
	// Schedules are implemented by a workflow whose ID is this string plus the schedule ID.
	WorkflowIDPrefix = "temporal-sys-scheduler:"

	// This is an example of a timestamp that's appended to the workflow
	// id, used for validation in the frontend.
	AppendedTimestampForValidation = "-2009-11-10T23:00:00Z"

	SignalNameUpdate  = "update"
	SignalNamePatch   = "patch"
	SignalNameRefresh = "refresh"

	QueryNameDescribe          = "describe"
	QueryNameListMatchingTimes = "listMatchingTimes"

	MemoFieldInfo = "ScheduleInfo"

	InitialConflictToken = 1
)

Variables

Functions

func NewResult

func NewResult(
	dcCollection *dynamicconfig.Collection,
	params activityDeps,
) fxResult

func SchedulerWorkflow

func SchedulerWorkflow(ctx workflow.Context, args *schedspb.StartScheduleArgs) error

Types

type CompiledSpec added in v1.18.0

type CompiledSpec struct {
	// contains filtered or unexported fields
}

func NewCompiledSpec added in v1.18.0

func NewCompiledSpec(spec *schedpb.ScheduleSpec) (*CompiledSpec, error)

func (*CompiledSpec) CanonicalForm added in v1.18.0

func (cs *CompiledSpec) CanonicalForm() *schedpb.ScheduleSpec

Jump to

Keyboard shortcuts

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