import "github.com/docker/docker/vendor/github.com/docker/libnetwork/idm"
Package idm manages reservation/release of numerical ids from a configured set of contiguous ids
type Idm struct {
// contains filtered or unexported fields
}
Idm manages the reservation/release of numerical ids from a contiguous set
New returns an instance of id manager for a [start,end] set of numerical ids
GetID returns the first available id in the set
GetIDInRange returns the first available id in the set within a [start,end] range
GetSpecificID tries to reserve the specified id
Release releases the specified id
Package idm imports 4 packages (graph). Updated 2018-02-14. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).