From 8c7014f11d02c324b56779ef277e0c9365ce1c86 Mon Sep 17 00:00:00 2001 From: Ashley Cui Date: Mon, 19 Aug 2019 12:14:54 -0400 Subject: Implement healthcheck for remote client Previously unimplemented. Works the same way the local one does, except its remote. Signed-off-by: Ashley Cui --- API.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'API.md') diff --git a/API.md b/API.md index 8d53a77d3..c3a6ea4c8 100755 --- a/API.md +++ b/API.md @@ -87,6 +87,8 @@ in the [API.md](https://github.com/containers/libpod/blob/master/API.md) file in [func GetVolumes(args: []string, all: bool) Volume](#GetVolumes) +[func HealthCheckRun(nameOrID: string) string](#HealthCheckRun) + [func HistoryImage(name: string) ImageHistory](#HistoryImage) [func ImageExists(name: string) int](#ImageExists) @@ -681,6 +683,12 @@ GetVersion returns version and build information of the podman service method GetVolumes(args: [[]string](#[]string), all: [bool](https://godoc.org/builtin#bool)) [Volume](#Volume) GetVolumes gets slice of the volumes on a remote host +### func HealthCheckRun +
+ +method HealthCheckRun(nameOrID: [string](https://godoc.org/builtin#string)) [string](https://godoc.org/builtin#string)
+HealthCheckRun executes defined container's healthcheck command +and returns the container's health status. ### func HistoryImage
-- cgit v1.2.3-54-g00ecf