Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Allocate(net.IP) error AllocateNext() (net.IP, error) Release(net.IP) error ForEach(func(net.IP)) CIDR() net.IPNet // For testing Has(ip net.IP) bool }
copied from k8s.io/kubernetes/pkg/registry/core/service/ipallocator/allocator.go Interface manages the allocation of IP addresses out of a range. Interface should be threadsafe.
type Range ¶
func NewAllocatorCIDRRange ¶
NewAllocatorCDRRange creates a Range over a net.IPNet
Click to show internal directories.
Click to hide internal directories.