Documentation ¶
Index ¶
- type Scheduler
- type SchedulerOpt
- func WithAlerter(a hatcheterrors.Alerter) SchedulerOpt
- func WithDataDecoderValidator(dv datautils.DataDecoderValidator) SchedulerOpt
- func WithLogger(l *zerolog.Logger) SchedulerOpt
- func WithMessageQueue(mq msgqueue.MessageQueue) SchedulerOpt
- func WithPartition(p *partition.Partition) SchedulerOpt
- func WithQueueLoggerConfig(lc *shared.LoggerConfigFile) SchedulerOpt
- func WithRepository(r repository.EngineRepository) SchedulerOpt
- func WithSchedulerPool(s *v2.SchedulingPool) SchedulerOpt
- type SchedulerOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
func New ¶
func New( fs ...SchedulerOpt, ) (*Scheduler, error)
type SchedulerOpt ¶
type SchedulerOpt func(*SchedulerOpts)
func WithAlerter ¶
func WithAlerter(a hatcheterrors.Alerter) SchedulerOpt
func WithDataDecoderValidator ¶
func WithDataDecoderValidator(dv datautils.DataDecoderValidator) SchedulerOpt
func WithLogger ¶
func WithLogger(l *zerolog.Logger) SchedulerOpt
func WithMessageQueue ¶
func WithMessageQueue(mq msgqueue.MessageQueue) SchedulerOpt
func WithPartition ¶
func WithPartition(p *partition.Partition) SchedulerOpt
func WithQueueLoggerConfig ¶
func WithQueueLoggerConfig(lc *shared.LoggerConfigFile) SchedulerOpt
func WithRepository ¶
func WithRepository(r repository.EngineRepository) SchedulerOpt
func WithSchedulerPool ¶
func WithSchedulerPool(s *v2.SchedulingPool) SchedulerOpt
type SchedulerOpts ¶
type SchedulerOpts struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.