Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cron ¶
type Cron struct {
// contains filtered or unexported fields
}
Cron runs a cron jobSpec from a CronSpec
func NewCronFromJobSpec ¶
func NewCronFromJobSpec( jobSpec job.Job, pipelineRunner pipeline.Runner, logger logger.Logger, ) (*Cron, error)
NewCronFromJobSpec instantiates a job that executes on a predefined schedule.
type Delegate ¶
type Delegate struct {
// contains filtered or unexported fields
}
func (Delegate) AfterJobCreated ¶ added in v0.10.11
func (Delegate) BeforeJobDeleted ¶ added in v0.10.11
func (*Delegate) ServicesForSpec ¶
ServicesForSpec returns the scheduler to be used for running cron jobs
Click to show internal directories.
Click to hide internal directories.