Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Starter ¶
type Starter struct {
// contains filtered or unexported fields
}
Starter auto-configures the scheduling stack when robfig/cron is available.
func New ¶
func New(cfg helixconfig.Loader) *Starter
New creates a Starter using the provided configuration loader.
func (*Starter) ConditionFromContainer ¶
ConditionFromContainer evaluates the scheduling starter activation after application components have been registered.
Priority (highest to lowest):
- helix.starters.scheduling.enabled = false → inactive (absolute override)
- helix.starters.scheduling.enabled = true → active (absolute override)
- robfig/cron absent from go.mod → inactive (missing runtime dependency)
- container holds a scheduler.ScheduledJobProvider → active (component marker)
- otherwise → inactive
Click to show internal directories.
Click to hide internal directories.