Skip to main content

Module bundle

Module bundle 

Source
Expand description

Signed services bundles: packing, fetching, verifying and composing.

A bundle is a gzipped tar carrying bundle.json and a services/ tree, published to any HTTPS location or OCI registry and fetched by an instance at boot. The instance is the verifier: an archive digest pin and an ed25519 signature decide whether the bytes are trusted, per-file checksums decide whether the extraction is intact, and the content hash keys the cache. Nothing here warns and continues.

§Modules

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Re-exports§

pub use bootstrap::ServicesSourceBootstrap;
pub use bootstrap::cache_root;
pub use cache::BundleCache;
pub use compose::BundleMember;
pub use compose::compose;
pub use compose::composed_hash;
pub use error::BundleError;
pub use error::BundleResult;
pub use error::VerifyFailure;
pub use extract::BUNDLE_TREE_PREFIX;
pub use extract::ExtractOptions;
pub use extract::TarLayout;
pub use extract::extract_bytes;
pub use extract::extract_tarball;
pub use source::AnyFetcher;
pub use source::BundleFetcher;
pub use source::FetchedBundle;
pub use source::RemoteRef;
pub use verify::verify_bundle;
pub use verify::verify_extracted;

Modules§

bootstrap
Boot-time resolution of the services root from configured bundle sources.
cache
On-disk layout for fetched and composed bundles.
compose
Overlaying several verified bundles into one services root.
error
Error surface for fetching, verifying, extracting and composing bundles.
extract
Guarded extraction of a services tarball.
pack
Packing a services tree into a bundle archive.
source
Remote bundle transports.
verify
Bundle verification, in the order the trust chain requires.