kubernetes/pkg/registry/core/service/portallocator/allocator_test.go

func TestAllocate(t *testing.T) {}

func TestAllocateReserved(t *testing.T) {}

func TestForEach(t *testing.T) {}

func TestSnapshot(t *testing.T) {}

func TestNewFromSnapshot(t *testing.T) {}

func Test_calculateRangeOffset(t *testing.T) {}

func TestNodePortMetrics(t *testing.T) {}

func TestNodePortAllocatedMetrics(t *testing.T) {}

func TestMetricsDisabled(t *testing.T) {}

// Metrics helpers
func clearMetrics() {}

type testMetrics

func expectMetrics(t *testing.T, em testMetrics) {}