Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ValidateGatewayClassName = apivalidation.NameIsDNSSubdomain
ValidateGatewayClassName validates that the given name can be used as a GatewayClass name.
Functions ¶
func ValidateGatewayClass ¶
func ValidateGatewayClass(ctx context.Context, cli client.Client, gc *gatewayapi_v1alpha1.GatewayClass, controller string) field.ErrorList
ValidateGatewayClass validates gc according to the Gateway API specification. For additional details of the Gateway spec, refer to:
https://gateway-api.sigs.k8s.io/spec/#networking.x-k8s.io/v1alpha1.Gateway
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.