Expand description
Compute-backend assembly (moved from the binary — node-library N2).
Builds this node’s compute BackendRegistry
and scheduler Node inventory from the optional
[compute] config, capability-detecting Docker, native-container, and
embedded-VMM backends. Lives here (not in the backend-agnostic
boatramp-server) because it depends on the concrete backend crates; the
binary and future assemble() call build_compute.
Functions§
- build_
compute - Build this node’s compute [
BackendRegistry] + scheduler [Node] inventory from the optional[compute]config. Backends are capability-detected: a reachable Docker daemon ⇒docker; Linux ⇒ the nativecontainerbackend; Linux +/dev/kvm⇒ the in-processvmm-embeddedmicroVM backend (strongest isolation). Absent config ⇒ an empty registry + a node advertising nothing, so the reconcile loop stays a no-op.