docs.rs failed to build arcbox-core-0.1.4
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
arcbox-core
Core orchestration runtime for ArcBox.
Overview
arcbox-core provides the host-side runtime that coordinates machine lifecycle,
VM readiness, guest-agent connectivity, and networking/port-forward state.
The main entry point is Runtime:
Runtime::new(config)creates the runtime synchronouslyruntime.init().awaitprepares runtime state and assetsruntime.ensure_vm_ready().awaitensures the default machine is running
Key Components
Runtime: top-level orchestratorMachineManager: named machine lifecycle and metadataVmLifecycleManager: automatic start/health/recovery for default machineAgentClient: guest RPC client over vsockNetworkManager: network lifecycle and IP allocation
Usage
use ;
let runtime = new?;
runtime.init.await?;
let cid = runtime.ensure_vm_ready.await?;
println!;
Architecture
arcbox-api / arcbox-cli
|
v
arcbox-core::Runtime
|
+-- MachineManager
+-- VmLifecycleManager
+-- NetworkManager
+-- AgentClient accessors
License
MIT OR Apache-2.0