Versions in this module Expand all Collapse all v0 v0.8.2 Nov 19, 2026 v0.8.1 Nov 19, 2026 v0.8.0 Nov 19, 2026 v0.7.1 Nov 14, 2026 v0.7.0 Nov 12, 2026 Changes in this version + type Consumer struct + BackendRef Ref + Consumer Ref + Field string + Port int + Role string + type GRPCMatch struct + Headers []KeyMatch + Method *GRPCMethodMatch + type GRPCMethodMatch struct + Method string + Service string + Type string type Ref + func DecodeBackendRefAt(u *unstructured.Unstructured, path ...string) (ref Ref, port int, ok bool) type Rule + GRPCMatches []GRPCMatch + func DecodeRouteRules(u *unstructured.Unstructured) []Rule v0.7.0-alpha.1 Nov 10, 2026 v0.6.0 Nov 9, 2026 Changes in this version type BackendTarget + func BackendTargetsAs(v *HTTPRouteView, delegates bool) []BackendTarget v0.5.1 Nov 8, 2026 v0.5.0 Nov 7, 2026 Changes in this version + const DelegationLabelKey + const GatewayAPIGroup + const InheritParentMatcherAnnotation + func Conditions(u *unstructured.Unstructured) []metav1.Condition + func ControllerName(gatewayClass *unstructured.Unstructured) string + func FindCondition(cs []metav1.Condition, typ string) *metav1.Condition + func GatewayAddresses(u *unstructured.Unstructured) []string + func GatewayClassName(u *unstructured.Unstructured) string + func GatewaySpecListeners(u *unstructured.Unstructured) []string + func IsStale(u *unstructured.Unstructured, c metav1.Condition) bool + type AllowedRoutes struct + Kinds []GroupKind + Namespaces RouteNamespaces + type AncestorStatus struct + AncestorRef ParentRef + Conditions []metav1.Condition + ControllerName string + func PolicyAncestors(u *unstructured.Unstructured) []AncestorStatus + type BackendRef struct + Delegation *DelegationRef + Filters []Filter + Port int32 + Ref Ref + Weight int32 + WeightDefaulted bool + type BackendTarget struct + Mirror bool + Ref Ref + func BackendTargets(v *HTTPRouteView) []BackendTarget + func RouteBackendTargets(u *unstructured.Unstructured) []BackendTarget + type BackendView struct + Conditions []metav1.Condition + Type string + func DecodeBackend(u *unstructured.Unstructured) *BackendView + type Decoder interface + Backend func(u *unstructured.Unstructured) *BackendView + Gateway func(u *unstructured.Unstructured) *GatewayView + HTTPRoute func(u *unstructured.Unstructured) *HTTPRouteView + ListenerSet func(u *unstructured.Unstructured) *ListenerSetView + Route func(u *unstructured.Unstructured) *RouteView + RouteHostnames func(u *unstructured.Unstructured) *RouteHostnames + type DelegationMode string + const DelegationLabel + const DelegationName + const DelegationWildcard + type DelegationRef struct + Label string + Mode DelegationMode + Name string + Namespace string + type Direct struct + func (Direct) Backend(u *unstructured.Unstructured) *BackendView + func (Direct) Gateway(u *unstructured.Unstructured) *GatewayView + func (Direct) HTTPRoute(u *unstructured.Unstructured) *HTTPRouteView + func (Direct) ListenerSet(u *unstructured.Unstructured) *ListenerSetView + func (Direct) Route(u *unstructured.Unstructured) *RouteView + func (Direct) RouteHostnames(u *unstructured.Unstructured) *RouteHostnames + type Filter struct + Config map[string]any + ExtensionRef *Ref + Mirror *MirrorFilter + Type string + type Fraction struct + Denominator int32 + Numerator int32 + type GatewayView struct + AllowedListeners map[string]any + AttachedListenerSets *int32 + Class string + Conditions []metav1.Condition + ListenerStatus []ListenerStatus + Listeners []Listener + SpecAddresses []string + StatusAddresses []string + func DecodeGateway(u *unstructured.Unstructured) *GatewayView + type GroupKind struct + Group string + Kind string + type HTTPRouteView struct + Hostnames []string + InheritParentMatcher bool + Labels map[string]string + ParentRefs []ParentRef + Parents []RouteParentStatus + Rules []Rule + WrittenRefs []WrittenRef + func DecodeHTTPRoute(u *unstructured.Unstructured) *HTTPRouteView + type KeyMatch struct + Name string + Type string + Value string + type Listener struct + AllowedRoutes AllowedRoutes + Hostname string + Name string + Port int32 + Protocol string + TLS *ListenerTLS + type ListenerSetView struct + Conditions []metav1.Condition + ListenerStatus []ListenerStatus + Listeners []Listener + Parent ParentRef + func DecodeListenerSet(u *unstructured.Unstructured) *ListenerSetView + type ListenerStatus struct + AttachedRoutes int32 + Conditions []metav1.Condition + Name string + SupportedKinds []GroupKind + func GatewayListeners(u *unstructured.Unstructured) []ListenerStatus + type ListenerTLS struct + CertificateRefs []Ref + Mode string + type Match struct + Headers []KeyMatch + Method string + Path *PathMatch + QueryParams []KeyMatch + type MirrorFilter struct + Backend Ref + Fraction *Fraction + Percent *int32 + Port int32 + type ParentRef struct + Group string + Kind string + Name string + Namespace string + Port int32 + SectionName string + func ListenerSetParent(u *unstructured.Unstructured) ParentRef + func RouteParentRefs(u *unstructured.Unstructured) []ParentRef + func (p ParentRef) Ref() Ref + type PathMatch struct + Type string + Value string + type Ref struct + Group string + Kind string + Name string + Namespace string + func RefOf(u *unstructured.Unstructured) Ref + func (r Ref) Compare(o Ref) int + func (r Ref) String() string + type RouteHostnames struct + Hostnames []string + func DecodeRouteHostnames(u *unstructured.Unstructured) *RouteHostnames + type RouteNamespaces struct + From string + Selector *metav1.LabelSelector + type RouteParentStatus struct + Conditions []metav1.Condition + ControllerName string + ParentRef ParentRef + Written WrittenRef + func RouteParents(u *unstructured.Unstructured) []RouteParentStatus + type RouteView struct + Hostnames []string + ParentRefs []ParentRef + Parents []RouteParentStatus + Targets []BackendTarget + WrittenRefs []WrittenRef + func DecodeRoute(u *unstructured.Unstructured) *RouteView + type Rule struct + BackendRefs []BackendRef + Filters []Filter + Index int + Matches []Match + Name string + type WrittenRef struct + Group string + Kind string + Name string + Namespace string + Port int32 + PortSet bool + SectionName string + func WrittenParentRefs(u *unstructured.Unstructured) []WrittenRef