Registry / networking / metal-stack-go-ipam

metal-stack-go-ipam

JSON →
library1.15.0gogounverified

IP address management library for IPs and prefixes, supporting memory or PostgreSQL storage.

go get github.com/metal-stack/go-ipam
INSTALL
IMPORT
SIG · METAL-STACK-GO-IPA
M
metal-stack-go-ipam
networkinggov1.15.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ipam
github.com/metal-stack/go-ipam

Create a new IPAM instance and allocate a prefix.

package main import ( "fmt" "github.com/metal-stack/go-ipam" ) func main() { ipam := ipam.New() prefix, _ := ipam.NewPrefix("192.168.0.0/24") fmt.Println(prefix) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.15.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
metal-stack-go-ipam — go get metal-stack-go-ipam · libregistry