validation

package
v1.17.12-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: Apache-2.0 Imports: 8 Imported by: 8

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, validAddressTypes sets.String) field.ErrorList

ValidateEndpointSlice validates an EndpointSlice.

func ValidateEndpointSliceCreate added in v1.17.0

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

ValidateEndpointSliceCreate validates an EndpointSlice when it is created.

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