Skip to main content

Crate substrate_kit

Crate substrate_kit 

Source
Expand description

§Substrate Kit

The board-agnostic Linux+dockerd substrate that services run on: container lifecycle, cgroups, mounts, and the service-principal embodiment layer.

Linux is the supported platform. The crate compiles elsewhere, but cgroup and mount-namespace resolution read the Linux /proc filesystem. See the README for scope and status.

Re-exports§

pub use error::SubstrateError;
pub use principal::embody;
pub use principal::ContainerRef;
pub use principal::Embodiment;

Modules§

cgroup
cgroup — Namespace and cgroup resource-isolation primitives.
error
Error type for Substrate Kit operations.
lifecycle
lifecycle — Container / process lifecycle over dockerd — create, start, stop, health, restart policy.
mount
mount — Mount / volume attach primitives.
principal
principal — service-principal embodiment.
socket
socket — Socket-hardening: AF_UNIX permission and namespace isolation for services running on the substrate.

Constants§

VERSION
Crate version, sourced from Cargo.toml.