Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateHTTPRoute ¶
func ValidateHTTPRoute( ctx context.Context, routesValidator routeValidator, parserFeatures parser.FeatureFlags, kongVersion semver.Version, httproute *gatewayv1beta1.HTTPRoute, attachedGateways ...*gatewayv1beta1.Gateway, ) (bool, string, error)
ValidateHTTPRoute provides a suite of validation for a given HTTPRoute and any number of Gateway resources it's attached to that the caller wants to have it validated against. It checks supported features, linked objects, and uses provided routesValidator to validate the route against Kong Gateway validation endpoint.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.