package
0.0.27
Repository: https://github.com/webmeshproj/webmesh-cni.git
Documentation: pkg.go.dev

# Functions

NewAllocator creates a new IPAM allocator.
NewLock creates a new IPAM lock.

# Variables

ErrNoNetwork is returned when no network is configured.
ErrNoStorage is returned when no storage is configured.

# Structs

Config is the configuration for the allocator.
LockConfig is the configuration for a lock.

# Interfaces

Allocator is the interface for an IPAM allocator.
Locker is the interface for taking a distributed lock during IPv4 allocations.