spiegel_podman/pkg/domain/entities
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
..
reports Removing the RawInput from the API output 2022-11-17 15:41:01 +09:00
types Fix build with GO111MODULE=off 2021-04-15 14:24:39 -04:00
apply.go Add podman kube apply command 2022-11-01 15:30:17 -04:00
auto-update.go auto-update: simple rollback 2021-08-05 15:20:38 +02:00
container_ps.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
containers.go wait: add --ignore option 2022-12-16 10:24:29 +01:00
engine.go runtime: Handle the transient store options 2022-12-05 18:09:21 +01:00
engine_container.go Network Create: Add --ignore flag to support idempotent script 2022-12-15 10:58:54 +02:00
engine_image.go Add --insecure,--tls-verify,--verbose flags to podman manifest inspect 2022-11-03 08:00:15 -04:00
engine_system.go Adds tunnel routes for system reset. 2020-05-11 17:03:32 -04:00
events.go Events for containers in pods now include the pod's ID 2022-09-22 14:18:56 -04:00
filters.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
generate.go Add generate systemd -e/--env option 2022-09-06 20:17:11 +09:00
healthcheck.go podmanv2 enable healthcheck run 2020-03-29 18:48:29 -05:00
images.go Adding encryption decryption feature 2022-11-24 04:53:59 -05:00
machine.go pkg/machine/e2e: do not import from cmd/podman 2022-07-21 18:04:11 +02:00
manifest.go remote: fix manifest add --annotation 2022-11-09 13:24:09 +09:00
network.go Network Create: Add --ignore flag to support idempotent script 2022-12-15 10:58:54 +02:00
play.go kube play: update the handling of PersistentVolumeClaim 2022-11-08 11:08:50 +02:00
pods.go Add support for startup healthchecks 2022-11-28 13:30:29 -05:00
secrets.go Add labels to secrets 2022-09-20 16:28:00 -04:00
set.go Fix Id->ID where possible for lint 2020-06-10 05:49:41 -04:00
system.go Add podman system prune --external 2022-12-05 18:09:21 +01:00
types.go golangci-lint: enable nolintlint 2022-06-14 16:29:42 +02:00
volumes.go Add podman volume create --ignore 2022-10-24 17:30:31 +02:00