spiegel_podman/cmd/podman/containers
Valentin Rothberg f4d0496b54 wait: add --ignore option
In the recent past, I met the frequent need to wait for a container to
exist that, at the same time, may get removed (e.g., system tests in [1]).

Add an `--ignore` option to podman-wait which will ignore errors when a
specified container is missing and mark its exit code as -1.  Also
remove ID fields from the WaitReport.  It is actually not used by
callers and removing it makes the code simpler and faster.

Once merged, we can go over the tests and simplify them.

[1] github.com/containers/podman/pull/16852

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-12-16 10:24:29 +01:00
..
attach.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
checkpoint.go Output messages display rawInput 2022-08-02 18:28:37 +09:00
cleanup.go Output messages display rawInput 2022-08-02 18:28:37 +09:00
clone.go implement podman update 2022-09-01 13:02:01 -04:00
commit.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
container.go bump go module to version 4 2022-01-18 12:47:07 +01:00
cp.go podman cp: fix copying with "." suffix 2022-11-14 09:38:02 +01:00
create.go Add completion for --init-ctr 2022-12-03 08:20:49 -05:00
diff.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
exec.go Fix stutters 2022-09-10 07:52:00 -04:00
exists.go bump go module to version 4 2022-01-18 12:47:07 +01:00
export.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
init.go Output messages display rawInput 2022-08-02 18:28:37 +09:00
inspect.go shell completion: update podman inspect --type options 2022-05-19 14:04:22 +02:00
kill.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
list.go bump go module to version 4 2022-01-18 12:47:07 +01:00
logs.go Fix stutters 2022-09-10 07:52:00 -04:00
mount.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
pause.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
port.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
prune.go bump go module to version 4 2022-01-18 12:47:07 +01:00
ps.go use cached containers.conf 2022-10-21 14:03:14 +02:00
rename.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
restart.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
restore.go Revert "cmd/podman: add support for checkpoint images" 2022-10-11 07:55:16 -04:00
rm.go remove container/pod id file along with container/pod 2022-11-03 17:07:09 +01:00
run.go bump golangci-lint to v1.50.1 2022-12-15 13:39:56 +01:00
runlabel.go bump go module to version 4 2022-01-18 12:47:07 +01:00
start.go Merge pull request #15134 from sstosh/improve-output 2022-08-09 06:13:10 +00:00
stats.go Add podman stats --no-trunc option 2022-08-17 13:16:01 -04:00
stop.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
top.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
unmount.go Combine the CheckAllLatest CID and PodID functions 2022-05-26 11:12:40 -04:00
unpause.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
update.go implement podman update 2022-09-01 13:02:01 -04:00
wait.go wait: add --ignore option 2022-12-16 10:24:29 +01:00