Documentation
¶
Overview ¶
Package engine is the daemon orchestrator: it evaluates the schedule+override on a cadence, drives the configured activators, hot-reloads config/override via fsnotify, publishes status, and reverts cleanly on shutdown.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine runs the daemon loop for one configuration.
func New ¶
func New(scope config.Scope, configPath, runtimeDir, tokenPath string, dryRun bool, log *slog.Logger) *Engine
New constructs an Engine. configPath, runtimeDir and tokenPath are resolved by the caller from the chosen scope. When dryRun is true the engine logs intended actions instead of injecting input or calling Graph.