Index: container/interface.go |
=== modified file 'container/interface.go' |
--- container/interface.go 2014-03-19 21:08:58 +0000 |
+++ container/interface.go 2014-03-31 05:46:34 +0000 |
@@ -25,8 +25,16 @@ |
machineConfig *cloudinit.MachineConfig, |
series string, |
network *NetworkConfig) (instance.Instance, *instance.HardwareCharacteristics, error) |
- // DestroyContainer stops and destroyes the container identified by Instance. |
+ |
+ // DestroyContainer stops and destroys the container identified by Instance. |
DestroyContainer(instance.Instance) error |
+ |
+ // StartContainer starts a stopped container |
+ StartContainer(instance.Instance) error |
+ |
+ // StopContainer stops a started container |
+ StopContainer(instance.Instance) error |
+ |
// ListContainers return a list of containers that have been started by |
// this manager. |
ListContainers() ([]instance.Instance, error) |