package
24.10.0+incompatible
Repository: https://github.com/nvidia/doca-platform.git
Documentation: pkg.go.dev

# Functions

New creates a new IPAllocator that can handle allocation of IPs using the NVIPAM.

# Constants

CNIBinDir is the directory which contains the CNI binaries.
PoolTypeCIDRPool contains string representation for pool type of CIDRPool.
PoolTypeIPPool contains string representation for pool type of IPPool.

# Structs

NVIPAMIPAllocator uses the CNI spec to allocate an IP from NVIPAM.
NVIPAMIPAllocatorRequest is a struct that contains the fields a request to the IP Allocator can have.
NVIPAMIPAllocatorResult is a struct that contains the fields the result of the IP Allocator will write to a file per request for each IP allocated.

# Type aliases

NVIPAMPoolType are the supported NVIPAM pools types.