Documentation ¶
Index ¶
- type JobsController
- type JobsControllerImpl
- type JobsControllerOpt
- func WithAlerter(a hatcheterrors.Alerter) JobsControllerOpt
- func WithDataDecoderValidator(dv datautils.DataDecoderValidator) JobsControllerOpt
- func WithLogger(l *zerolog.Logger) JobsControllerOpt
- func WithRepository(r repository.Repository) JobsControllerOpt
- func WithTaskQueue(tq taskqueue.TaskQueue) JobsControllerOpt
- type JobsControllerOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobsController ¶
type JobsControllerImpl ¶
type JobsControllerImpl struct {
// contains filtered or unexported fields
}
func New ¶
func New(fs ...JobsControllerOpt) (*JobsControllerImpl, error)
func (*JobsControllerImpl) Start ¶
func (jc *JobsControllerImpl) Start() (func() error, error)
type JobsControllerOpt ¶
type JobsControllerOpt func(*JobsControllerOpts)
func WithAlerter ¶ added in v0.15.2
func WithAlerter(a hatcheterrors.Alerter) JobsControllerOpt
func WithDataDecoderValidator ¶
func WithDataDecoderValidator(dv datautils.DataDecoderValidator) JobsControllerOpt
func WithLogger ¶
func WithLogger(l *zerolog.Logger) JobsControllerOpt
func WithRepository ¶
func WithRepository(r repository.Repository) JobsControllerOpt
func WithTaskQueue ¶
func WithTaskQueue(tq taskqueue.TaskQueue) JobsControllerOpt
type JobsControllerOpts ¶
type JobsControllerOpts struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.