ipam

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllocateIPv4

func AllocateIPv4(networkID, leaseDir string) (*net.IPNet, error)

AllocateIPv4 allocates a unique IPv4 for the entity defines by the given id (for example container id, or a vm). in the network with netID, and NetResource.

func DeAllocateIPv4

func DeAllocateIPv4(networkID, leaseDir string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL