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:
parent
e7abf30cb8
commit
1535e67592
|
@ -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()
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue