Documentation ¶
Overview ¶
Package validation has functions for validating the correctness of api objects and explaining what's wrong with them when they're not valid.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateTCPRoute ¶
func ValidateTCPRoute(route *gatewayv1a2.TCPRoute) field.ErrorList
ValidateTCPRoute validates TCPRoute according to the Gateway API specification. For additional details of the TCPRoute spec, refer to: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1alpha2.TCPRoute
func ValidateTLSRoute ¶
func ValidateTLSRoute(route *gatewayv1a2.TLSRoute) field.ErrorList
ValidateTLSRoute validates TLSRoute according to the Gateway API specification. For additional details of the TLSRoute spec, refer to: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1alpha2.TLSRoute
func ValidateUDPRoute ¶
func ValidateUDPRoute(route *gatewayv1a2.UDPRoute) field.ErrorList
ValidateUDPRoute validates UDPRoute according to the Gateway API specification. For additional details of the UDPRoute spec, refer to: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1alpha2.UDPRoute
Types ¶
This section is empty.