Skip to main content

derive_host_controller_registry

Function derive_host_controller_registry 

Source
pub fn derive_host_controller_registry(
    specs: &[HostControllerSpec],
) -> Result<ControllerRegistry, DagMlError>
Expand description

Derive every spec and register the manifests into a fresh ControllerRegistry, surfacing the first derivation or duplicate-id error. This is the one call a runtime needs to turn its declared host controllers into a resolvable registry — the replacement for a hardcoded static node registry.