lxd

package
v0.0.0-...-31516f8 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2017 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNetworksNotImplemented = errors.New("This LXD server does not support " +
	"the creation of networks. You must be running LXD 2.3 or later for this " +
	"feature.")

Functions

func NewSnapshotId

func NewSnapshotId(remote, container, snapshot string) snapshotId

func NewSnapshotIdFromResourceId

func NewSnapshotIdFromResourceId(id string) snapshotId

func NewVolumeAttachmentId

func NewVolumeAttachmentId(pool, volumeName, attachedName string) volumeAttachmentId

func NewVolumeAttachmentIdFromResourceId

func NewVolumeAttachmentIdFromResourceId(id string) volumeAttachmentId

func NewVolumeId

func NewVolumeId(pool, name, volType string) volumeId

func NewVolumeIdFromResourceId

func NewVolumeIdFromResourceId(id string) volumeId

func Provider

func Provider() terraform.ResourceProvider

Provider returns a terraform.ResourceProvider.

Types

type LxdProvider

type LxdProvider struct {
	Remote          string
	Client          *lxd.Client
	RefreshInterval time.Duration
}

Jump to

Keyboard shortcuts

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