Versions in this module Expand all Collapse all v0 v0.5.0 Jan 15, 2025 v0.4.0 Jan 13, 2025 Changes in this version + type DockerEventTrigger struct + func NewDockerEventTrigger() *DockerEventTrigger + func (d *DockerEventTrigger) Reset() + func (d *DockerEventTrigger) Start(ctx context.Context, eventChan chan<- TriggerEvent) + type IntervalTrigger struct + func NewIntervalTrigger(interval time.Duration) *IntervalTrigger + func (i *IntervalTrigger) Reset() + func (i *IntervalTrigger) Start(ctx context.Context, eventChan chan<- TriggerEvent) + type Scheduler struct + func NewScheduler(task func()) *Scheduler + func (s *Scheduler) Register(trigger Trigger) + func (s *Scheduler) Start(ctx context.Context, runAtStart bool) + type Trigger interface + Reset func() + Start func(ctx context.Context, eventChan chan<- TriggerEvent) + type TriggerEvent struct + Name string