MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / docker_gateway_route

Function docker_gateway_route

crates/openshell-driver-docker/src/lib.rs:2454–2467  ·  view source on GitHub ↗
(
    info: &SystemInfo,
    bridge_gateway_ip: IpAddr,
    port: u16,
    host_gateway_ip: Option<IpAddr>,
)

Source from the content-addressed store, hash-verified

2452}
2453
2454fn docker_gateway_route(
2455 info: &SystemInfo,
2456 bridge_gateway_ip: IpAddr,
2457 port: u16,
2458 host_gateway_ip: Option<IpAddr>,
2459) -> DockerGatewayRoute {
2460 docker_gateway_route_for_host(
2461 info,
2462 bridge_gateway_ip,
2463 port,
2464 host_gateway_ip,
2465 host_runtime_requires_host_gateway_alias(),
2466 )
2467}
2468
2469fn docker_gateway_route_for_host(
2470 info: &SystemInfo,

Callers 2

newMethod · 0.85