Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectLocal

func ConnectLocal(namespace string) (*lxdclient.Client, error)

func HasLXDSupport

func HasLXDSupport() bool

    HasLXDSupport returns false when this juju binary was not built with LXD support (i.e. it was built on a golang version < 1.2

    func NewContainerInitialiser

    func NewContainerInitialiser(series string) container.Initialiser

      NewContainerInitialiser returns an instance used to perform the steps required to allow a host machine to run a LXC container.

      func NewContainerManager

      func NewContainerManager(conf container.ManagerConfig) (container.Manager, error)

        NewContainerManager creates the entity that knows how to create and manage LXD containers. TODO(jam): This needs to grow support for things like LXC's ImageURLGetter functionality.

        Types

        This section is empty.