lxd

package
v0.0.0-...-5eafe9c Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDeviceByUUID

func GetDeviceByUUID(uuid string) (string, error)

GetDeviceByUUID gets a block device's mount path (/dev/device) from it's UUID. LXD does not guarantee that the mount path of the device a storage pool points to doesn't change, but UUID is more stable.

func InstanceServerConnect

func InstanceServerConnect() (lxd.InstanceServer, string, error)

func IsSnap

func IsSnap() (bool, error)

IsSnap returns true if lxd was installed using snap, and false otherwise. This is necessary because the snap install puts its config file in a different location on disk.

Types

This section is empty.

Jump to

Keyboard shortcuts

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