gateway

package
v3.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 11 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,
	translatorFeatures translator.FeatureFlags,
	httproute *gatewayapi.HTTPRoute,
	managerClient client.Client,
) (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