Skip to main content

resolve_host_alias

Function resolve_host_alias 

Source
pub fn resolve_host_alias(cli: &str) -> (String, Option<String>)
Expand description

Compute the (host_alias, add_host_arg) pair for a CLI. Pure except for the bridge-gateway daemon probe on Linux docker, so the macOS / podman branches are unit-testable without a daemon.