Expand description
Declarative, service-centric deploy engine for XBP.
Purity rule: the engine depends only on:
- project config (view types)
- OCI resolver/promoter traits
- Kubernetes adapter traits
No CLI I/O, no Athena product islands, no implicit runtime state.
Structs§
- Default
Deploy Planner - Default
Deploy Runner - Default
Deploy Verifier - Default
Promoter - Deploy
Context - Everything the engine needs; built by CLI, consumed by planner/runner/verifier.
- Deploy
Flags - Deploy
Group View - Deploy
History Index - Deploy
History Store - Deploy
Lock File - Deploy
Lock Image - Deploy
Plan - Deploy
Result - History
Entry - K8sPlan
View - Kubernetes
Defaults - OciImage
Plan - OciPlan
- Project
Config - Project config view (CLI maps XbpConfig → this). Pure data, no clap.
- Service
Config View - Service
Deploy EnvView - Service
Deploy Plan - Service
Deploy View - Service
Graph - Service
K8sView - Service
Node - Service
OciView - Service
Plan - Target
Resolution - Verify
Result
Enums§
- Deploy
Error - Deploy
Mode - Exactly one deploy mode (CLI must enforce exclusivity).
- Deploy
Target - Resolved deploy target kind.
Traits§
Functions§
- compute_
plan_ hash - Deterministic hash of plan identity (order, digests, images, env, target).
- load_
lock - lock_
from_ plan - order_
services - Compute apply order for
selectedservice names. - resolve_
target - Resolve target with priority:
- validate_
project_ config - Validate project config before planning.
- write_
lock