validation

package
v1.16.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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