Skip to main content

Crate microvms_edges

Crate microvms_edges 

Source
Expand description

The MicroVMs client’s production port implementations (ARCH-7).

microvms-app declares the ports its use cases reach the outside through; this crate implements them over the real thing:

It’s the one library crate in the workspace that may depend on a crate doing network, AWS, filesystem, subprocess, clock or entropy I/O. microvms-core wires these into the use cases and re-exports every item here at its microvms_core:: path, so a consumer never depends on this crate directly.

Modules§

adapters
The production Adapters: reqwest for sessions, SigV4 for STS and S3, tokio’s clock.
agents
The agent helpers’ production piece: minting a Bedrock bearer token.
clock
The production clock.
control
The control plane’s production pieces: the signed transport, the build services, and the build context read from a directory.
entropy
The production entropy source.
env
The process environment, as the lookup this crate’s resolvers take.
identity
The host’s Noise initiator for the tunnel identity proof.
names
The CLI’s name registry: one owner-only JSON file per name under <state dir>/names/.
provision
Provisioning of the agentd daemon binary: one call that returns verified aarch64 bytes for the version a client drives (BIND-17 through BIND-20, issue #219).
run_store
File storage compatible with the CLI’s existing run and history documents.
secret_input
Host credential input from private files or caller-owned byte streams.
session
The session’s production pieces: the reqwest backend and the sockets.
workspace
The local half of directory transfer: the walk, the hash, the tar packing and the guarded extraction behind microvms_app::workspace::LocalTree (#260).

Constants§

VERSION
The version of the daemon release provision fetches by default.