Documentation ¶
Index ¶
- Variables
- func GetIPByLocation(subnet *net.IPNet, rack string, bottomU uint, sublocation string) (net.IP, error)
- func GetIpById(id int, subnet *net.IPNet, reservedAdresses ...net.IP) (net.IP, error)
- func GetRangeByLocation(subnet *net.IPNet, rack string, bottomU uint, sublocation string) (net.IP, net.IP, error)
- func IsV6(ip net.IP) bool
- func LocationBits(rack string, bottomU uint, sublocation string) (uint64, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrAllocationNotImplemented = errors.New("ipv4 allocation not implemented")
)
Functions ¶
func GetIPByLocation ¶
func GetRangeByLocation ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.