package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
CheckScheduleAlreadyExists returns true if a schedule with the same label already exists.
ComputeScheduleRecurrence creates ScheduleRecurrence struct from crontab notation.
FullyQualifyTables fully qualifies the table names by resolving the table, database and schema.
ParseOnError parses schedule option optOnExecFailure into jobspb.ScheduleDetails.
ParseOnErrorOption parses optOnExecFailure from jobspb.ScheduleDetails_ErrorHandlingBehavior.
ParseOnPreviousRunningOption parses optOnPreviousRunning from jobspb.ScheduleDetails_WaitBehavior.
ParseWaitBehavior parses schedule option optOnPreviousRunning into jobspb.ScheduleDetails.
# Variables
NeverRecurs is a sentinel value indicating the schedule never recurs.
# Structs
ScheduleRecurrence is a helper struct used to set the schedule recurrence.