package
1.0.1
Repository: https://github.com/linuxboot/contest.git
Documentation: pkg.go.dev

# Functions

APIOption is a syntax-sugar function which just wraps an api.Option into OptionAPI.
New initializes and returns a new JobManager with the given API listener.
NewJobFromDescriptor creates a job object from a job descriptor.
NewJobFromExtendedDescriptor creates a job object from an extended job descriptor.
NewJobFromJSONDescriptor builds a descriptor object from a JSON serialization.
OptionClock wraps clock.Clock to be used as an option.

# Structs

ErrorEventPayload represents the payload carried by a failure event (e.g.
JobManager is the core component for the long-running job management service.
OptionAPI wraps api.Option to implement Option.

# Interfaces

Option is an additional argument to method New to change the behavior of the JobManager.

# Type aliases

OptionInstanceTag wraps a string to be used as instance tag.
OptionTargetLockDuration wraps time.Duration to be used as an option.