Documentation ¶
Index ¶
- Variables
- func ValidateEndpointSlice(endpointSlice *discovery.EndpointSlice, validAddressTypes sets.String) field.ErrorList
- func ValidateEndpointSliceCreate(endpointSlice *discovery.EndpointSlice) field.ErrorList
- func ValidateEndpointSliceUpdate(newEndpointSlice, oldEndpointSlice *discovery.EndpointSlice) field.ErrorList
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.
Click to show internal directories.
Click to hide internal directories.