Documentation
¶
Index ¶
- type Ticker
- type TickerImpl
- type TickerOpt
- func WithEntitlementsRepository(r repository.EntitlementsRepository) TickerOpt
- func WithLogger(l *zerolog.Logger) TickerOpt
- func WithMessageQueue(mq msgqueue.MessageQueue) TickerOpt
- func WithMessageQueueV1(mq msgqueuev1.MessageQueue) TickerOpt
- func WithRepository(r repository.EngineRepository) TickerOpt
- func WithRepositoryV1(r v1.Repository) TickerOpt
- func WithTenantAlerter(ta *alerting.TenantAlertManager) TickerOpt
- type TickerOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TickerImpl ¶
type TickerImpl struct {
// contains filtered or unexported fields
}
func New ¶
func New(fs ...TickerOpt) (*TickerImpl, error)
func (*TickerImpl) Start ¶
func (t *TickerImpl) Start() (func() error, error)
type TickerOpt ¶
type TickerOpt func(*TickerOpts)
func WithEntitlementsRepository ¶
func WithEntitlementsRepository(r repository.EntitlementsRepository) TickerOpt
func WithLogger ¶
func WithMessageQueue ¶
func WithMessageQueue(mq msgqueue.MessageQueue) TickerOpt
func WithMessageQueueV1 ¶
func WithMessageQueueV1(mq msgqueuev1.MessageQueue) TickerOpt
func WithRepository ¶
func WithRepository(r repository.EngineRepository) TickerOpt
func WithRepositoryV1 ¶
func WithRepositoryV1(r v1.Repository) TickerOpt
func WithTenantAlerter ¶
func WithTenantAlerter(ta *alerting.TenantAlertManager) TickerOpt
type TickerOpts ¶
type TickerOpts struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.