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

# Packages

No description provided by the author

# Functions

DHCPAllAllocations returns a map of IPs currently allocated (statically and dynamically) in dnsmasq for a specific network.
DHCPStaticAllocation retrieves the dnsmasq statically allocated MAC and IPs for an instance device static file.
DHCPStaticAllocationPath returns the path to the DHCP static allocation file.
GetVersion returns the version of dnsmasq.
Kill kills dnsmasq for a particular network (or optionally reloads it).
RemoveStaticEntry removes a single dhcp-host line for a network/instance combination.
StaticAllocationFileName returns the file name to use for a dnsmasq instance device static allocation.
UpdateStaticEntry writes a single dhcp-host line for a network/instance combination.

# Variables

ConfigMutex used to coordinate access to the dnsmasq config files.

# Structs

DHCPAllocation represents an IP allocation from dnsmasq.