func TestEndpointUpdates(t *testing.T) { … } // Regression test for https://issues.k8s.io/125638 func TestEndpointWithMultiplePodUpdates(t *testing.T) { … } // TestExternalNameToClusterIPTransition tests that Service of type ExternalName // does not get endpoints, and after transition to ClusterIP, service gets endpoint, // without headless label func TestExternalNameToClusterIPTransition(t *testing.T) { … } // TestEndpointWithTerminatingPod tests that terminating pods are NOT included in Endpoints. // This capability is only available in the newer EndpointSlice API and there are no plans to // include it for Endpoints. This test can be removed in the future if we decide to include // terminating endpoints in Endpoints, but in the mean time this test ensures we do not change // this behavior accidentally. func TestEndpointWithTerminatingPod(t *testing.T) { … } func labelMap() map[string]string { … } // newService returns a service with selector and exposing ports func newService(namespace, name string) *v1.Service { … } // newExternalNameService returns an ExternalName service with selector and exposing ports func newExternalNameService(namespace, name string) *v1.Service { … } func TestEndpointTruncate(t *testing.T) { … }