Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Attachment int
const ( // Unknown means we shouldn't report on whether it's attached or not Unknown Attachment = iota // NotPermitted means the route isn't allowed to attach to the ref NotPermitted // Invalid means the route points to a nonexistent parent // or is otherwise invalid Invalid NoHostnameIntersection // Allowed means we could successfully attach Allowed )
func EvaluateParentRefAttachment ¶
func EvaluateParentRefAttachment( ctx context.Context, client kube_client.Client, routeHostnames []gatewayapi.Hostname, routeNs *kube_core.Namespace, ref gatewayapi.ParentReference, ) (Attachment, error)
EvaluateParentRefAttachment reports whether a route in the given namespace can attach via the given ParentRef.
Click to show internal directories.
Click to hide internal directories.