Add oom notifications and pid to create response

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2015-12-15 16:22:53 -08:00
parent ec31245f54
commit 76cf593212
13 changed files with 269 additions and 128 deletions

View file

@ -111,4 +111,6 @@ type Container interface {
Restore(name string) error
// Stats returns realtime container stats and resource information
Stats() (*Stat, error)
// OOM signals the channel if the container received an OOM notification
OOM() (<-chan struct{}, error)
}