type Repair …
const numRepairsBeforeLeakCleanup …
func NewRepair(interval time.Duration, serviceClient corev1client.ServicesGetter, eventClient eventsv1client.EventsV1Interface, network *net.IPNet, alloc rangeallocation.RangeRegistry, secondaryNetwork *net.IPNet, secondaryAlloc rangeallocation.RangeRegistry) *Repair { … }
func (c *Repair) RunUntil(onFirstSuccess func(), stopCh chan struct{ … }
func (c *Repair) runOnce() error { … }
func (c *Repair) doRunOnce() error { … }
func (c *Repair) saveSnapShot(rebuilt *ipallocator.Range, alloc rangeallocation.RangeRegistry, snapshot *api.RangeAllocation) error { … }
func (c *Repair) checkLeaked(leaks map[string]int, stored ipallocator.Interface, rebuilt *ipallocator.Range) { … }