var alwaysReady …
var neverReady …
var emptyNodeName …
var triggerTime …
var triggerTimeString …
var oldTriggerTimeString …
var ipv4only …
var ipv6only …
var ipv4ipv6 …
var ipv6ipv4 …
func testPod(namespace string, id int, nPorts int, isReady bool, ipFamilies []v1.IPFamily) *v1.Pod { … }
func addPods(store cache.Store, namespace string, nPods int, nPorts int, nNotReady int, ipFamilies []v1.IPFamily) { … }
func addNotReadyPodsWithSpecifiedRestartPolicyAndPhase(store cache.Store, namespace string, nPods int, nPorts int, restartPolicy v1.RestartPolicy, podPhase v1.PodPhase) { … }
func makeTestServer(t *testing.T, namespace string) (*httptest.Server, *utiltesting.FakeHandler) { … }
func makeBlockingEndpointTestServer(t *testing.T, controller *endpointController, endpoint *v1.Endpoints, blockUpdate, blockDelete, blockNextAction chan struct{ … }
type endpointController …
func newController(ctx context.Context, url string, batchPeriod time.Duration) *endpointController { … }
func newFakeController(ctx context.Context, batchPeriod time.Duration) (*fake.Clientset, *endpointController) { … }
func TestSyncEndpointsItemsPreserveNoSelector(t *testing.T) { … }
func TestSyncEndpointsExistingNilSubsets(t *testing.T) { … }
func TestSyncEndpointsExistingEmptySubsets(t *testing.T) { … }
func TestSyncEndpointsWithPodResourceVersionUpdateOnly(t *testing.T) { … }
func TestSyncEndpointsNewNoSubsets(t *testing.T) { … }
func TestCheckLeftoverEndpoints(t *testing.T) { … }
func TestSyncEndpointsProtocolTCP(t *testing.T) { … }
func TestSyncEndpointsHeadlessServiceLabel(t *testing.T) { … }
func TestSyncServiceExternalNameType(t *testing.T) { … }
func TestSyncEndpointsProtocolUDP(t *testing.T) { … }
func TestSyncEndpointsProtocolSCTP(t *testing.T) { … }
func TestSyncEndpointsItemsEmptySelectorSelectsAll(t *testing.T) { … }
func TestSyncEndpointsItemsEmptySelectorSelectsAllNotReady(t *testing.T) { … }
func TestSyncEndpointsItemsEmptySelectorSelectsAllMixed(t *testing.T) { … }
func TestSyncEndpointsItemsPreexisting(t *testing.T) { … }
func TestSyncEndpointsItemsPreexistingIdentical(t *testing.T) { … }
func TestSyncEndpointsItems(t *testing.T) { … }
func TestSyncEndpointsItemsWithLabels(t *testing.T) { … }
func TestSyncEndpointsItemsPreexistingLabelsChange(t *testing.T) { … }
func TestWaitsForAllInformersToBeSynced2(t *testing.T) { … }
func TestSyncEndpointsHeadlessService(t *testing.T) { … }
func TestSyncEndpointsItemsExcludeNotReadyPodsWithRestartPolicyNeverAndPhaseFailed(t *testing.T) { … }
func TestSyncEndpointsItemsExcludeNotReadyPodsWithRestartPolicyNeverAndPhaseSucceeded(t *testing.T) { … }
func TestSyncEndpointsItemsExcludeNotReadyPodsWithRestartPolicyOnFailureAndPhaseSucceeded(t *testing.T) { … }
func TestSyncEndpointsHeadlessWithoutPort(t *testing.T) { … }
func TestPodToEndpointAddressForService(t *testing.T) { … }
func TestLastTriggerChangeTimeAnnotation(t *testing.T) { … }
func TestLastTriggerChangeTimeAnnotation_AnnotationOverridden(t *testing.T) { … }
func TestLastTriggerChangeTimeAnnotation_AnnotationCleared(t *testing.T) { … }
func TestPodUpdatesBatching(t *testing.T) { … }
func TestPodAddsBatching(t *testing.T) { … }
func TestPodDeleteBatching(t *testing.T) { … }
func TestSyncEndpointsServiceNotFound(t *testing.T) { … }
func TestSyncServiceOverCapacity(t *testing.T) { … }
func TestTruncateEndpoints(t *testing.T) { … }
func TestEndpointPortFromServicePort(t *testing.T) { … }
func TestMultipleServiceChanges(t *testing.T) { … }
func TestMultiplePodChanges(t *testing.T) { … }
func TestSyncServiceAddresses(t *testing.T) { … }
func TestEndpointsDeletionEvents(t *testing.T) { … }
func stringVal(str *string) string { … }
func waitForChanReceive(t *testing.T, timeout time.Duration, receivingChan chan struct{ … }
func TestEndpointSubsetsEqualIgnoreResourceVersion(t *testing.T) { … }