implement state api command

This commit is contained in:
Michael Crosby 2015-11-10 11:38:26 -08:00
parent cb7ab16427
commit a2ddcc2232
5 changed files with 66 additions and 12 deletions

View file

@ -35,3 +35,12 @@ type ContainerStartErrorEvent struct {
func (c *ContainerStartErrorEvent) String() string {
return "container start error"
}
type GetContainersEvent struct {
Containers []Container
Err chan error
}
func (c *GetContainersEvent) String() string {
return "get containers"
}