kubernetes/vendor/github.com/robfig/cron/v3/option.go

type Option

// WithLocation overrides the timezone of the cron instance.
func WithLocation(loc *time.Location) Option {}

// WithSeconds overrides the parser used for interpreting job schedules to
// include a seconds field as the first one.
func WithSeconds() Option {}

// WithParser overrides the parser used for interpreting job schedules.
func WithParser(p ScheduleParser) Option {}

// WithChain specifies Job wrappers to apply to all jobs added to this cron.
// Refer to the Chain* functions in this package for provided wrappers.
func WithChain(wrappers ...JobWrapper) Option {}

// WithLogger uses the provided logger.
func WithLogger(logger Logger) Option {}