implement state api command
This commit is contained in:
9
event.go
9
event.go
@@ -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"
|
||||
}
|
||||
|
Reference in New Issue
Block a user