Documentation
¶
Index ¶
- func New(configuration librepo.Configuration, customConfig config.CustomConfiguration, ...) service.Trigger
- type Impl
- func (s *Impl) Error(err error, msg string, keysAndValues ...interface{})
- func (s *Impl) Info(msg string, keysAndValues ...interface{})
- func (s *Impl) IsTrigger() bool
- func (s *Impl) PerformWithCancel(ctx context.Context) error
- func (s *Impl) Setup() error
- func (s *Impl) SetupTriggerCronjob(ctx context.Context) error
- func (s *Impl) StartCronjob(_ context.Context) error
- func (s *Impl) StopCronjob(_ context.Context) error
- func (s *Impl) Teardown()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Impl ¶
type Impl struct {
Configuration librepo.Configuration
CustomConfiguration config.CustomConfiguration
Logging librepo.Logging
Timestamp librepo.Timestamp
Updater service.Updater
LoggingCtx context.Context
Cron *cron.Cron
SkipStart bool
}
func (*Impl) SetupTriggerCronjob ¶ added in v0.33.0
Click to show internal directories.
Click to hide internal directories.