spiegel_podman/cmd/podman/shared
baude 03716cf7f3 healtcheck phase 2
integration of healthcheck into create and run as well as inspect.
healthcheck enhancements are as follows:

* add the following options to create|run so that non-docker images can
define healthchecks at the container level.
  * --healthcheck-command
  * --healthcheck-retries
  * --healthcheck-interval
  * --healthcheck-start-period

* podman create|run --healthcheck-command=none disables healthcheck as
described by an image.
* the healthcheck itself and the healthcheck "history" can now be
observed in podman inspect
* added the wiring for healthcheck history which logs the health history
of the container, the current failed streak attempts, and log entries
for the last five attempts which themselves have start and stop times,
result, and a 500 character truncated (if needed) log of stderr/stdout.

The timings themselves are not implemented in this PR but will be in
future enablement (i.e. next).

Signed-off-by: baude <bbaude@redhat.com>
2019-03-12 14:29:18 -05:00
..
parse preparation for remote-client create container 2019-03-11 09:42:22 -05:00
container.go healtcheck phase 2 2019-03-12 14:29:18 -05:00
create.go healtcheck phase 2 2019-03-12 14:29:18 -05:00
create_cli.go preparation for remote-client create container 2019-03-11 09:42:22 -05:00
create_cli_test.go preparation for remote-client create container 2019-03-11 09:42:22 -05:00
funcs.go container runlabel NAME implementation 2019-01-04 12:57:55 -06:00
funcs_test.go runlabel: use shlex for splitting commands 2018-11-16 16:05:07 +01:00
parallel.go rm -f now removes a paused container 2018-11-08 15:18:11 -06:00
pod.go preparation for remote-client create container 2019-03-11 09:42:22 -05:00