validation

package
Version: v0.0.0-...-d88c8b5 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 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.

Source Files

Jump to

Keyboard shortcuts

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