Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repair ¶
type Repair struct {
// contains filtered or unexported fields
}
See ipallocator/controller/repair.go; this is a copy for ports.
func NewRepair ¶
func NewRepair(interval time.Duration, registry service.Registry, portRange net.PortRange, alloc service.RangeRegistry) *Repair
NewRepair creates a controller that periodically ensures that all ports are uniquely allocated across the cluster and generates informational warnings for a cluster that is not in sync.
Click to show internal directories.
Click to hide internal directories.