gateway_addresses_as_ips

Function gateway_addresses_as_ips 

Source
pub fn gateway_addresses_as_ips(gw: &Gateway) -> Vec<String>
Expand description

Extracts the IP-typed addresses from a Gateway’s status.addresses.

An entry is treated as an IP when its type is IPAddress, or when the type is absent but the value parses as an IpAddr. Hostname-typed entries are ignored. Returns an empty vec when the Gateway has no addresses (the common case that forces the LoadBalancer-Service hop).