Skip to main content

Crate xbp_deploy

Crate xbp_deploy 

Source
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§

DefaultDeployPlanner
DefaultDeployRunner
DefaultDeployVerifier
DefaultPromoter
DeployContext
Everything the engine needs; built by CLI, consumed by planner/runner/verifier.
DeployFlags
DeployGroupView
DeployHistoryIndex
DeployHistoryStore
DeployLockFile
DeployLockImage
DeployPlan
DeployResult
HistoryEntry
K8sPlanView
KubernetesDefaults
OciImagePlan
OciPlan
ProjectConfig
Project config view (CLI maps XbpConfig → this). Pure data, no clap.
ServiceConfigView
ServiceDeployEnvView
ServiceDeployPlan
ServiceDeployView
ServiceGraph
ServiceK8sView
ServiceNode
ServiceOciView
ServicePlan
TargetResolution
VerifyResult

Enums§

DeployError
DeployMode
Exactly one deploy mode (CLI must enforce exclusivity).
DeployTarget
Resolved deploy target kind.

Traits§

DeployPlanner
DeployRunner
DeployVerifier

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 selected service names.
resolve_target
Resolve target with priority:
validate_project_config
Validate project config before planning.
write_lock

Type Aliases§

Result