package
0.0.0-20230628214157-3bfe64699e82
Repository: https://github.com/gravitational/gravity.git
Documentation: pkg.go.dev

# Functions

GetIndexedIP returns a net.IP that is subnet.IP + index in the contiguous IP space.
NewAllocatorCIDRRange creates a Range over a net.IPNet backed by in-memory store.
RangeSize returns the size of a range in valid addresses.

# Variables

ErrAllocated indicates an IP already allocated error.
ErrFull indicates a range is full error.
ErrMismatchedNetwork indicates a mismatched network error.

# Structs

No description provided by the author
Range is a contiguous block of IPs that can be allocated atomically.