Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(68)

Unified Diff: container/interface.go

Issue 77970043: Container Manager Interface
Patch Set: Container Manager Interface Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « [revision details] ('k') | container/kvm/container.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « [revision details] ('k') | container/kvm/container.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b