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

package validation

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

Index

Package Files

validation.go

Variables

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 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 2 packages. Updated 2019-11-02. Refresh now. Tools for package owners.