package
0.5.3
Repository: https://github.com/wealdtech/execd.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Variables

ErrJobAlreadyExists is returned when the scheduler is asked to create a job that already exists.
ErrJobFinalised is returned when the scheduler is asked to interact with a job that is finalised.
ErrJobRunning is returned when the scheduler is asked to interact with a job that is running.
ErrNoJobFunc is returned when an attempt is made to run a nil job.
ErrNoJobName is returned when an attempt is made to control a job without a name.
ErrNoMoreInstances is returned by the runtime generator when it has no more instances.
ErrNoRuntimeFunc is returned when an attempt is made to run a periodic job without a runtime function.
ErrNoSuchJob is returned when the scheduler is asked to act upon a job about which it has no information.

# Interfaces

Service is the interface for schedulers.

# Type aliases

JobFunc is the type for jobs.
RuntimeFunc is the type of a function that generates the next runtime.