Versions in this module Expand all Collapse all v0 v0.0.9 Sep 13, 2013 Changes in this version + const DefaultDockerBridge + func FromNameToId(name string) (string, error) + func GenerateNetworkConfig(network *NetworkConfig) string + func NetworkConfigTemplate(networkType, networkLink string) string + func SetContainerDir(dir string) (old string) + func SetLxcContainerDir(dir string) (old string) + func SetLxcRestartDir(dir string) (old string) + func SetRemovedContainerDir(dir string) (old string) + type ContainerManager interface + ListContainers func() ([]instance.Instance, error) + StartContainer func(machineId, series, nonce string, network *NetworkConfig, tools *tools.Tools, ...) (instance.Instance, error) + StopContainer func(instance.Instance) error + func NewContainerManager(conf ManagerConfig) ContainerManager + type ManagerConfig struct + LogDir string + Name string + type NetworkConfig struct + func BridgeNetworkConfig(device string) *NetworkConfig + func DefaultNetworkConfig() *NetworkConfig + func PhysicalNetworkConfig(device string) *NetworkConfig + type TestSuite struct + ContainerDir string + LxcDir string + RemovedDir string + RestartDir string + func (s *TestSuite) SetUpSuite(c *gc.C) + func (s *TestSuite) SetUpTest(c *gc.C) + func (s *TestSuite) TearDownSuite(c *gc.C) + func (s *TestSuite) TearDownTest(c *gc.C)