Documentation ¶
Index ¶
Constants ¶
View Source
const (
RouteOptionTargetField = "routeOption.targetRef"
)
Variables ¶
This section is empty.
Functions ¶
func IterateIndices ¶
Types ¶
type RouteOptionQueries ¶
type RouteOptionQueries interface { // Gets the RouteOption attached to the provided HTTPRoute. // If multiple RouteOptions are attached to the route, it returns the earliest created resource. // Note that currently, only RouteOptions in the same namespace as the HTTPRoute can be attached. // // When the given route is a delegatee/child route in a delegation tree, the RouteOption of its ancestors // are recursively merged in priority order along the given delegation chain, along with any RouteOption // that may be attached to the route itself. The creation timestamp is only considered if multiple RouteOptions // attach to the same route for a route in the delegation chain, in which case the earliest created resource is // picked for the merging process. GetRouteOptionForRouteRule( ctx context.Context, route types.NamespacedName, rule *gwv1.HTTPRouteRule, parentRef *list.Element, gwQueries gwquery.GatewayQueries, ) (*solokubev1.RouteOption, bool, error) }
func NewQuery ¶
func NewQuery(c client.Client) RouteOptionQueries
Click to show internal directories.
Click to hide internal directories.