Updating container state and status API in README

Signed-off-by: rajasec <rajasec79@gmail.com>

Updating container state and status API in README

Signed-off-by: rajasec <rajasec79@gmail.com>
This commit is contained in:
rajasec 2016-10-27 15:25:28 +05:30
parent e7abf30cb8
commit 1535e67592
1 changed files with 6 additions and 0 deletions

View File

@ -223,6 +223,12 @@ container.Signal(signal)
// update container resource constraints.
container.Set(config)
// get current status of the container.
status, err := container.Status()
// get current container's state information.
state, err := container.State()
```