Expand description
Hot reload types and diffing for bundle changes.
When a bundle is updated via the admin API, the reload module computes
what changed (added/removed/changed packs, providers, tenants) and
produces a ReloadPlan that the consuming runtime can apply.
The actual runtime reload (swapping Arc<RunnerHost>, draining connections)
lives in the consuming crate (e.g. greentic-operator).
Structs§
- Bundle
Diff - A computed diff between two bundle states.
- Reload
Plan - A plan for applying a bundle diff at runtime.
Enums§
- Reload
Action - Individual reload action.
Functions§
- diff_
discoveries - Compute the diff between two discovery results (previous and current state).
- plan_
reload - Build a reload plan from a bundle diff.