kubernetes/pkg/registry/core/service/portallocator/controller/repair_test.go

type mockRangeRegistry

func (r *mockRangeRegistry) Get() (*api.RangeAllocation, error) {}

func (r *mockRangeRegistry) CreateOrUpdate(alloc *api.RangeAllocation) error {}

func TestRepair(t *testing.T) {}

func TestRepairLeak(t *testing.T) {}

func TestRepairWithExisting(t *testing.T) {}

func TestCollectServiceNodePorts(t *testing.T) {}

// Metrics helpers
func clearMetrics() {}

type testMetrics

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