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

# Functions

DecodeID decodes ID stored in the PTS record.
GetMetaType return the value for the provided metaType that is used in the ptpb.Record.MetaType field for records associated with jobs/schedules.
MakeRecord makes a protected timestamp record to protect a timestamp on behalf of this job.
MakeStatusFunc returns a function which determines whether the job or schedule implied with this value of meta should be removed by the reconciler.
NewManager creates a new protected timestamp manager for jobs.

# Constants

Jobs is the meta type for records associated with jobs.
Schedules is the meta type for records associated with schedules.

# Structs

Manager manages protected timestamps installed for jobs, which will install protected timestamps after a certain percentage of the GC interval is hit.

# Type aliases

Cleaner cleans up the protected timestamp record for the job or cancels the installation.
MetaType represents the types of meta values we support for records associated with jobs or schedules.