Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SubnetAllocator ¶
type SubnetAllocator struct {
// contains filtered or unexported fields
}
func NewSubnetAllocator ¶
func NewSubnetAllocator(network string, hostBits uint32, inUse []string) (*SubnetAllocator, error)
func (*SubnetAllocator) GetNetwork ¶
func (sna *SubnetAllocator) GetNetwork() (*net.IPNet, error)
func (*SubnetAllocator) ReleaseNetwork ¶
func (sna *SubnetAllocator) ReleaseNetwork(ipnet *net.IPNet) error
Click to show internal directories.
Click to hide internal directories.