func TestNewEndpointSlice(t *testing.T) { … } func TestPodToEndpoint(t *testing.T) { … } func TestServiceControllerKey(t *testing.T) { … } func TestGetEndpointPorts(t *testing.T) { … } func TestSetEndpointSliceLabels(t *testing.T) { … } func newPod(n int, namespace string, ready bool, nPorts int, terminating bool) *v1.Pod { … } func newClientset() *fake.Clientset { … } func newServiceAndEndpointMeta(name, namespace string) (v1.Service, endpointMeta) { … } func newEmptyEndpointSlice(n int, namespace string, endpointMeta endpointMeta, svc v1.Service) *discovery.EndpointSlice { … } func TestSupportedServiceAddressType(t *testing.T) { … } func Test_hintsEnabled(t *testing.T) { … }