gateway_parent_refs

Function gateway_parent_refs 

Source
pub fn gateway_parent_refs(
    parent_refs: &[ParentReference],
    route_namespace: &str,
) -> Vec<NamespacedName>
Expand description

Resolves a route’s parentRefs to the Gateways they point at.

Only references to Gateway API Gateways are returned — an entry is kept when its group is absent or gateway.networking.k8s.io AND its kind is absent or Gateway. Each ref’s namespace defaults to route_namespace when omitted.