Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureLXDProxies ¶
ConfigureLXDProxies will try to set the lxc config core.proxy_http and core.proxy_https configuration values based on the current environment.
func ConnectLocal ¶
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.
Click to show internal directories.
Click to hide internal directories.