kubernetes/pkg/apis/discovery/validation/validation.go

var supportedAddressTypes

var supportedPortProtocols

var maxTopologyLabels

var maxAddresses

var maxPorts

var maxEndpoints

var maxZoneHints

var ValidateEndpointSliceName

// ValidateEndpointSlice validates an EndpointSlice.
func ValidateEndpointSlice(endpointSlice *discovery.EndpointSlice) field.ErrorList {}

// ValidateEndpointSliceCreate validates an EndpointSlice when it is created.
func ValidateEndpointSliceCreate(endpointSlice *discovery.EndpointSlice) field.ErrorList {}

// ValidateEndpointSliceUpdate validates an EndpointSlice when it is updated.
func ValidateEndpointSliceUpdate(newEndpointSlice, oldEndpointSlice *discovery.EndpointSlice) field.ErrorList {}

func validateEndpoints(endpoints []discovery.Endpoint, addrType discovery.AddressType, fldPath *field.Path) field.ErrorList {}

func validatePorts(endpointPorts []discovery.EndpointPort, fldPath *field.Path) field.ErrorList {}

func validateAddressType(addressType discovery.AddressType) field.ErrorList {}

func validateHints(endpointHints *discovery.EndpointHints, fldPath *field.Path) field.ErrorList {}