kubernetes: k8s.io/kubernetes/pkg/apis/discovery/validation Index | Files

package validation

import "k8s.io/kubernetes/pkg/apis/discovery/validation"


Package Files



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.

func ValidateEndpointSlice Uses

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

ValidateEndpointSlice validates an EndpointSlice.

func ValidateEndpointSliceCreate Uses

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

ValidateEndpointSliceCreate validates an EndpointSlice when it is created.

func ValidateEndpointSliceUpdate Uses

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

ValidateEndpointSliceUpdate validates an EndpointSlice when it is updated.

Package validation imports 8 packages (graph) and is imported by 3 packages. Updated 2021-01-21. Refresh now. Tools for package owners.