package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

AddDummyScheduleDetails augments passed in details with a dummy clusterID and CreationClusterVersion.
CheckEmittedEvents is a helper method used by IMPORT and RESTORE tests to ensure events are emitted deterministically.
GetJobsTableSchema returns schema for the jobs table.
GetScheduledJobsTableSchema returns schema for the scheduled jobs table.
NewJobSchedulerTestEnv creates JobSchedulerTestEnv and initializes environments current time to initial time.

# Constants

UseSystemTables instructs JobSchedulerTestEnv to use system tables.
UseTestTables instructs JobSchedulerTestEnv to use test tables.

# Variables

DummyClusterID is used while instantiating dummy schedules.
DummyClusterVersion is used while instantiating dummy schedules.

# Structs

FakeResumer calls optional callbacks during the job lifecycle.
JobSchedulerTestEnv is a job scheduler environment with an added ability to manipulate time.

# Type aliases

EnvTablesType tells JobSchedulerTestEnv whether to use the system tables, or to use test tables.