resources

package
v0.0.0-...-04e5504 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCPU

func GetCPU() (*api.ResourcesCPU, error)

GetCPU returns a filled api.ResourcesCPU struct ready for use by LXD

func GetGPU

func GetGPU() (*api.ResourcesGPU, error)

GetGPU returns a filled api.ResourcesGPU struct ready for use by LXD

func GetMemory

func GetMemory() (*api.ResourcesMemory, error)

GetMemory returns a filled api.ResourcesMemory struct ready for use by LXD

func GetNetwork

func GetNetwork() (*api.ResourcesNetwork, error)

GetNetwork returns a filled api.ResourcesNetwork struct ready for use by LXD

func GetResources

func GetResources() (*api.Resources, error)

GetResources returns a filled api.Resources struct ready for use by LXD

func GetStorage

func GetStorage() (*api.ResourcesStorage, error)

GetStorage returns a filled api.ResourcesStorage struct ready for use by LXD

Types

This section is empty.

Jump to

Keyboard shortcuts

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