validation

package
v1.16.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidateEndpointSliceName = apimachineryvalidation.NameIsDNSSubdomain

ValidateEndpointSliceName can be used to check whether the given endpoint slice name is valid. Prefix indicates this name will be used as part of generation, in which case trailing dashes are allowed.

Functions

func ValidateEndpointSlice

func ValidateEndpointSlice(endpointSlice *discovery.EndpointSlice) field.ErrorList

ValidateEndpointSlice validates an EndpointSlice.

func ValidateEndpointSliceUpdate

func ValidateEndpointSliceUpdate(newEndpointSlice, oldEndpointSlice *discovery.EndpointSlice) field.ErrorList

ValidateEndpointSliceUpdate validates an EndpointSlice when it is updated.

Types

This section is empty.

Jump to

Keyboard shortcuts

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