Expand description
Adapter between cloud’s TOML-driven ProviderConfig shape and
local_driver::LocalContainerSpec.
Lives in the cloud crate (rather than local-driver) so the driver crate
stays decoupled from cloud’s config types. Callers in cloud + yubaba that
need a LocalContainerSpec from a kind = "local-container" provider
TOML go through local_container_spec_from_provider.
Functions§
- local_
container_ spec_ from_ provider - Parse a
kind = "local-container"ProviderConfiginto aLocalContainerSpec. Rejects any other provider kind so the caller hits a clean error rather than a confusing socket-missing message downstream.