Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions services/orchestrator/capabilities/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ rust_library(
"src/evidence.rs",
"src/lib.rs",
"src/svn_floor.rs",
"src/updatable.rs",
],
edition = "2024",
visibility = ["//visibility:public"],
Expand Down
8 changes: 8 additions & 0 deletions services/orchestrator/capabilities/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
//! checkpoints as data (`BootCheckpoint` in `orchestrator-config`), and the
//! board's reader gives the ids meaning.
//!
//! `Updatable` is the update capability: stage a payload on one device
//! (polled, one bounded step at a time) and mark it the boot candidate —
//! always tentatively; the commit gate lives elsewhere. `PayloadSource` is
//! the chunked read seam staging pulls from — transports and slot
//! bookkeeping stay behind the adapter.
//!
//! `BootWatch` is the seam the orchestrator polls: one device's boot walk,
//! erased of every device-specific type, answering with a `WalkVerdict`.
//!
Expand All @@ -33,8 +39,10 @@ mod boot_control;
mod boot_watch;
mod evidence;
mod svn_floor;
mod updatable;

pub use boot_control::BootControl;
pub use boot_watch::{BootWatch, FailureCause, WalkVerdict};
pub use evidence::{BootStatus, EvidenceReader};
pub use svn_floor::{Svn, SvnFloor};
pub use updatable::{PayloadFault, PayloadSource, StageProgress, Updatable};
Loading