Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Bindings = wire.NewSet( NewScheduler, NewPlan, NewResilienceClient, NewJobs, repos.Bindings, globals.Bindings, )
Functions ¶
func NewJobs ¶ added in v0.22.1
NewJobs is the declarative job registry. Read it as a manifest: which providers contribute jobs.
Each provider owns its domain tasks, intervals, and DSL. Adding a new provider: one parameter + one line.
Pattern mirrors cmd.NewCommands — providers register themselves, registry assembles.
func NewResilienceClient ¶ added in v0.22.1
func NewResilienceClient() *resilience.Client
NewResilienceClient creates the application-wide resilience Client with OTEL plugin.
Types ¶
type Plan ¶ added in v0.22.1
Plan holds jobs grouped by phase. Setup runs first, then Work. Scheduler knows the order — Plan is just data.
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
Scheduler is the lifecycle engine. It knows its phases, their order, and their retry strategies. Scheduler owns this knowledge — it's not configurable, it's the core.
func NewScheduler ¶
NewScheduler creates a Scheduler.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package globals is the global (non-partitioned) job provider for the scheduler.
|
Package globals is the global (non-partitioned) job provider for the scheduler. |
|
Package repos is the repository-scoped job provider for the scheduler.
|
Package repos is the repository-scoped job provider for the scheduler. |
|
Package sdsl provides the schedule DSL toolkit for job providers.
|
Package sdsl provides the schedule DSL toolkit for job providers. |