gateway

package
v2.12.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL