aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/varlink
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2019-03-04 17:21:23 -0700
committerJhon Honce <jhonce@redhat.com>2019-03-06 10:32:01 -0700
commit8a6758d5fdaba9e6ec58eeb23ee5123762c18b72 (patch)
tree4273a61b912797dc6cb4d27fb6743c5367a1dfa8 /cmd/podman/varlink
parentc6c0b54c361df623378706ca5e41faac309ab7ac (diff)
downloadpodman-8a6758d5fdaba9e6ec58eeb23ee5123762c18b72.tar.gz
podman-8a6758d5fdaba9e6ec58eeb23ee5123762c18b72.tar.bz2
podman-8a6758d5fdaba9e6ec58eeb23ee5123762c18b72.zip
Implement podman-remote wait command and container subcommand
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'cmd/podman/varlink')
-rw-r--r--cmd/podman/varlink/io.podman.varlink8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/podman/varlink/io.podman.varlink b/cmd/podman/varlink/io.podman.varlink
index 73e6c15f9..296b20ed1 100644
--- a/cmd/podman/varlink/io.podman.varlink
+++ b/cmd/podman/varlink/io.podman.varlink
@@ -617,10 +617,10 @@ method UnpauseContainer(name: string) -> (container: string)
# ~~~
method GetAttachSockets(name: string) -> (sockets: Sockets)
-# WaitContainer takes the name or ID of a container and waits until the container stops. Upon stopping, the return
-# code of the container is returned. If the container container cannot be found by ID or name,
-# a [ContainerNotFound](#ContainerNotFound) error is returned.
-method WaitContainer(name: string) -> (exitcode: int)
+# WaitContainer takes the name or ID of a container and waits the given interval in milliseconds until the container
+# stops. Upon stopping, the return code of the container is returned. If the container container cannot be found by ID
+# or name, a [ContainerNotFound](#ContainerNotFound) error is returned.
+method WaitContainer(name: string, interval: int) -> (exitcode: int)
# RemoveContainer requires the name or ID of container as well a boolean representing whether a running container can be stopped and removed, and a boolean
# indicating whether to remove builtin volumes. Upon successful removal of the