540d1e0561
ipam.Allocator is not a singleton, but it references mutable singleton state. Address that deficiency by refactoring it to instead take the predefined address spaces as constructor arguments. Unfortunately some work is needed on the Swarmkit side before the mutable singleton state can be completely eliminated from the IPAMs. Signed-off-by: Cory Snider <csnider@mirantis.com> |
||
---|---|---|
.. | ||
allocator.go | ||
allocator_test.go | ||
parallel_test.go | ||
store.go | ||
structures.go | ||
utils.go |