Add auto_heal to api-ref
Change-Id: Ie36ec50d1c8ab5db13e029f11773f24b3eadd061 Partial-Implement: blueprint heal-non-existent-containers-in-docker
This commit is contained in:
parent
54c73a528c
commit
d8e9b3d67f
@ -54,6 +54,7 @@ Request
|
|||||||
- runtime: runtime
|
- runtime: runtime
|
||||||
- hostname: hostname
|
- hostname: hostname
|
||||||
- auto_remove: auto_remove
|
- auto_remove: auto_remove
|
||||||
|
- auto_heal: auto_heal
|
||||||
|
|
||||||
Request Example
|
Request Example
|
||||||
----------------
|
----------------
|
||||||
@ -90,6 +91,7 @@ Response
|
|||||||
- status_reason: status_reason
|
- status_reason: status_reason
|
||||||
- ports: ports
|
- ports: ports
|
||||||
- auto_remove: auto_remove
|
- auto_remove: auto_remove
|
||||||
|
- auto_heal: auto_heal
|
||||||
|
|
||||||
|
|
||||||
Response Example
|
Response Example
|
||||||
|
@ -182,6 +182,11 @@ addresses:
|
|||||||
IP address of the container. This includes both ipv4 and/or ipv6 addresses.
|
IP address of the container. This includes both ipv4 and/or ipv6 addresses.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
|
auto_heal:
|
||||||
|
description: |
|
||||||
|
The flag of healing non-existent container in docker.
|
||||||
|
in: body
|
||||||
|
type: boolean
|
||||||
auto_remove:
|
auto_remove:
|
||||||
description: |
|
description: |
|
||||||
enable auto-removal of the container on daemon side
|
enable auto-removal of the container on daemon side
|
||||||
|
@ -29,5 +29,6 @@
|
|||||||
],
|
],
|
||||||
"runtime": "runc",
|
"runtime": "runc",
|
||||||
"hostname": "testhost",
|
"hostname": "testhost",
|
||||||
"auto_remove": "False"
|
"auto_remove": "False",
|
||||||
|
"auto_heal": "False"
|
||||||
}
|
}
|
||||||
|
@ -36,5 +36,6 @@
|
|||||||
"interactive": false,
|
"interactive": false,
|
||||||
"runtime": "runc",
|
"runtime": "runc",
|
||||||
"hostname": "testhost",
|
"hostname": "testhost",
|
||||||
"auto_remove": "False"
|
"auto_remove": "False",
|
||||||
|
"auto_heal": "False"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user