spiegel_podman/vendor/github.com/containers
Matthew Heon dce3d6ee9d Add support for containers.conf volume timeouts
Also, do a general cleanup of all the timeout code. Changes
include:
- Convert from int to *uint where possible. Timeouts cannot be
  negative, hence the uint change; and a timeout of 0 is valid,
  so we need a new way to detect that the user set a timeout
  (hence, pointer).
- Change name in the database to avoid conflicts between new data
  type and old one. This will cause timeouts set with 4.2.0 to be
  lost, but considering nobody is using the feature at present
  (and the lack of validation means we could have invalid,
  negative timeouts in the DB) this feels safe.
- Ensure volume plugin timeouts can only be used with volumes
  created using a plugin. Timeouts on the local driver are
  nonsensical.
- Remove the existing test, as it did not use a volume plugin.
  Write a new test that does.

The actual plumbing of the containers.conf timeout in is one line
in volume_api.go; the remainder are the above-described cleanups.

Backported to v4.2.0-rhel per RHBZ 2125241

Signed-off-by: Matthew Heon <mheon@redhat.com>
2022-10-06 15:07:10 -04:00
..
buildah vendor: bump buildah to v1.27.1 2022-09-09 16:47:10 +05:30
common Add support for containers.conf volume timeouts 2022-10-06 15:07:10 -04:00
conmon Add an API for Attach over HTTP API 2020-01-16 13:49:21 -05:00
image/v5 Add support for creating sigstore signatures, and providing passphrases 2022-08-02 16:52:56 +02:00
libtrust Vendor in containers/common@main 2022-02-28 16:23:26 -05:00
ocicrypt vendor in latests containers/image 2022-06-17 06:10:24 -04:00
psgo vendor c/psgo@v1.7.2 2022-01-20 16:56:20 +01:00
storage Update c/common to an unreleased version 2022-08-02 16:52:56 +02:00