//
pkg.gl
Category
github.com/webmeshproj/webmesh-cni
internal
ipam
package
0.0.27
Repository:
https://github.com/webmeshproj/webmesh-cni.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
17
Dependents
2
Files
239 SLOC
#
Functions
NewAllocator
NewAllocator creates a new IPAM allocator.
NewLock
NewLock creates a new IPAM lock.
#
Variables
ErrNoNetwork
ErrNoNetwork is returned when no network is configured.
ErrNoStorage
ErrNoStorage is returned when no storage is configured.
#
Structs
Config
Config is the configuration for the allocator.
LockConfig
LockConfig is the configuration for a lock.
#
Interfaces
Allocator
Allocator is the interface for an IPAM allocator.
Locker
Locker is the interface for taking a distributed lock during IPv4 allocations.