Skip to main content

desired

Function desired 

Source
pub fn desired(
    snapshot: &Snapshot,
    gateways: &[&Object<GatewaySpec, GatewayStatus>],
    settings: &ServiceSettings,
) -> BTreeMap<(String, String), Service>
Available on crate feature gateway-api only.
Expand description

The Service every one of gateways should have, allocating container ports for new listener ports (keeping every existing allocation).