Documentation
¶
Index ¶
- func GetControlPlaneRefByParentRef(ctx context.Context, cl client.Client, route *gwtypes.HTTPRoute, ...) (*commonv1alpha1.ControlPlaneRef, error)
- func GetGatewaysByHTTPRoute(ctx context.Context, cl client.Client, r gwtypes.HTTPRoute) []gwtypes.Gateway
- func GetListenersByParentRef(ctx context.Context, cl client.Client, route *gwtypes.HTTPRoute, ...) ([]gwtypes.Listener, error)
- func GetNamespacedRefs(ctx context.Context, cl client.Client, obj runtime.Object) (map[string]GatewaysByNamespacedRef, error)
- type GatewaysByNamespacedRef
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetControlPlaneRefByParentRef ¶
func GetControlPlaneRefByParentRef(ctx context.Context, cl client.Client, route *gwtypes.HTTPRoute, pRef gwtypes.ParentReference) (*commonv1alpha1.ControlPlaneRef, error)
GetControlPlaneRefByParentRef retrieves the control plane reference for a given parent reference.
func GetGatewaysByHTTPRoute ¶
func GetGatewaysByHTTPRoute(ctx context.Context, cl client.Client, r gwtypes.HTTPRoute) []gwtypes.Gateway
GetGatewaysByHTTPRoute returns Gateways referenced by the given HTTPRoute.
Types ¶
type GatewaysByNamespacedRef ¶
type GatewaysByNamespacedRef struct { Ref commonv1alpha1.KonnectNamespacedRef Gateways []gwtypes.Gateway }
GatewaysByNamespacedRef associates a KonnectNamespacedRef with a list of Gateways.
Click to show internal directories.
Click to hide internal directories.