func TestEndpointsMapFromESC(t *testing.T) { … }
func TestEndpointInfoByServicePort(t *testing.T) { … }
func TestEsDataChanged(t *testing.T) { … }
func generateEndpointSliceWithOffset(serviceName, namespace string, sliceNum, offset, numEndpoints, unreadyMod int, terminatingMod int, hosts []string, portNums []*int32) *discovery.EndpointSlice { … }
func generateEndpointSlice(serviceName, namespace string, sliceNum, numEndpoints, unreadyMod int, terminatingMod int, hosts []string, portNums []*int32) *discovery.EndpointSlice { … }
type cacheMutationCheck …
type cacheObject …
func newCacheMutationCheck(endpointSlices []*discovery.EndpointSlice) cacheMutationCheck { … }
func (cmc *cacheMutationCheck) Add(o runtime.Object) { … }
func (cmc *cacheMutationCheck) Check(t *testing.T) { … }