lxdutils

package
v0.0.0-...-511b1a1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(socketPath string) (lxdclient.Client, error)

Connect establishes a connection to the local snapped LXD server.

func Ensure

func Ensure(client lxdclient.Client, image string, profiles []string, info *juju.Info, creds *juju.Credentials) (cname, caddr string, err error)

Ensure ensures that an LXD is available for the given user, and returns its name and address. If the container is not available, one is created using the given image, which is assumed to have Juju already installed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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