Add auto_heal to api-ref

Change-Id: Ie36ec50d1c8ab5db13e029f11773f24b3eadd061
Partial-Implement: blueprint heal-non-existent-containers-in-docker
This commit is contained in:
weikeyou 2018-04-02 19:45:22 +08:00
parent 54c73a528c
commit d8e9b3d67f
4 changed files with 11 additions and 2 deletions

View File

@ -54,6 +54,7 @@ Request
- runtime: runtime
- hostname: hostname
- auto_remove: auto_remove
- auto_heal: auto_heal
Request Example
----------------
@ -90,6 +91,7 @@ Response
- status_reason: status_reason
- ports: ports
- auto_remove: auto_remove
- auto_heal: auto_heal
Response Example

View File

@ -182,6 +182,11 @@ addresses:
IP address of the container. This includes both ipv4 and/or ipv6 addresses.
in: body
required: true
auto_heal:
description: |
The flag of healing non-existent container in docker.
in: body
type: boolean
auto_remove:
description: |
enable auto-removal of the container on daemon side

View File

@ -29,5 +29,6 @@
],
"runtime": "runc",
"hostname": "testhost",
"auto_remove": "False"
"auto_remove": "False",
"auto_heal": "False"
}

View File

@ -36,5 +36,6 @@
"interactive": false,
"runtime": "runc",
"hostname": "testhost",
"auto_remove": "False"
"auto_remove": "False",
"auto_heal": "False"
}