package
0.0.0-20161102114814-f00e79163007
Repository: https://github.com/cloudfoundry/garden-linux.git
Documentation: pkg.go.dev
# Packages
This file was generated by counterfeiter.
# Functions
Returns the broadcast IP of a subnet.
Returns the gateway IP of a given subnet, which is always the maximum valid IP.
Returns the network IP of a subnet.
New creates a Subnets implementation from a dynamic allocation range.
# Variables
DynamicIPSelector requests the next available ("dynamic") IP address from a given subnet.
DynamicSubnetSelector requests the next unallocated ("dynamic") subnet from the dynamic range.
ErrInsufficientIPs is returned by AcquireDynamically if no more IPs can be allocated.
ErrInsufficientSubnets is returned by AcquireDynamically if no more subnets can be allocated.
ErrInvalidIP is returned if a static IP is requested inside a subnet which does not contain that IP.
ErrInvalidRange is returned by AcquireStatically and by Recover if the subnet range is invalid.
ErrIPAlreadyAcquired is returned if a static IP is requested which has already been allocated.
ErrIpCannotBeNil is returned by Release(..) and Recover(..) if a nil IP address is passed.
No description provided by the author
No description provided by the author
ErrOverlapsExistingSubnet is returned if a recovered subnet overlaps an existing, allocated subnet.
ErrReleasedUnallocatedNetwork is returned by Release if the subnet is not allocated.
# Structs
StaticIPSelector requests a specific ("static") IP address.
StaticSubnetSelector requests a specific ("static") subnet.
# Interfaces
IPSelector is a strategy for selecting an IP address in a subnet.
Subnets provides a means of allocating subnets and associated IP addresses.
SubnetSelector is a strategy for selecting a subnet.