Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Change ¶
type Change struct {
Key string
Action Action
LiveValue string // current value in Railway (empty for Create)
DesiredValue string // desired value from config (empty for Delete)
}
Change represents a single variable or setting change.
type Result ¶
type Result struct {
Services map[string]*SectionDiff // keyed by service name
}
Result holds the complete diff between desired config and live state.
func Compute ¶
func Compute(desired *config.DesiredConfig, live *config.LiveConfig) *Result
Compute calculates the additive-only diff between desired and live config.
type SectionDiff ¶
SectionDiff holds diffs for one scope (shared or a service).
Click to show internal directories.
Click to hide internal directories.