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

# Functions

GetCPU returns a filled api.ResourcesCPU struct ready for use by Incus.
GetCPUIsolated returns a slice of IDs corresponding to isolated threads.
GetGPU returns a filled api.ResourcesGPU struct ready for use by Incus.
GetMemory returns a filled api.ResourcesMemory struct ready for use by Incus.
GetNetwork returns a filled api.ResourcesNetwork struct ready for use by Incus.
GetNetworkCounters returns the current packet counters for the network interface.
GetNetworkState returns the OS configuration for the network interface.
GetPCI returns a filled api.ResourcesPCI struct ready for use by Incus.
GetResources returns a filled api.Resources struct ready for use by Incus.
GetStorage returns a filled api.ResourcesStorage struct ready for use by Incus.
GetSystem returns a filled api.ResourcesSystem struct ready for use by Incus.
GetUSB returns a filled api.ResourcesUSB struct ready for use by Incus.
ParseCpuset parses a `limits.cpu` range into a list of CPU ids.
ParseNumaNodeSet parses a `limits.cpu.nodes` into a list of NUMA node ids.