package
6.6.0
Repository: https://github.com/lxc/incus.git
Documentation: pkg.go.dev

# Functions

AllocateTask initializes a new locked Transaction for a specific host and executes the supplied function on it.
DHCPValidIP returns whether an IP fits inside one of the supplied DHCP ranges and subnet.
GetIP returns a net.IP representing the IP belonging to the subnet for the host number supplied.

# Variables

ErrDHCPNotSupported indicates network doesn't support DHCP for this IP protocol.

# Structs

Options to initialize the allocator with.
Transaction is a locked transaction of the dnsmasq config files that allows IP allocations for a host.

# Interfaces

Network represents an Incus network responsible for running dnsmasq.