spiegel_podman/vendor/github.com/containers/common/pkg
Matthew Heon 0f73935563 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.

Signed-off-by: Matthew Heon <mheon@redhat.com>
2022-08-23 15:42:00 -04:00
..
apparmor Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
auth Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
capabilities Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
cgroups Vendor in latests containers/storage and opencontainers/runtime-tools 2022-07-18 13:25:01 -04:00
cgroupv2 vendor c/common@0ededd18a1 2022-03-18 15:18:30 +01:00
chown Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
completion Update vendor of containers/buildah 2022-06-13 17:54:17 -04:00
config Add support for containers.conf volume timeouts 2022-08-23 15:42:00 -04:00
download podman load: support downloading files 2021-11-10 15:43:16 +01:00
filters Vendor in latests containers/storage and opencontainers/runtime-tools 2022-07-18 13:25:01 -04:00
flag Bump Buildah to v1.24.0 2022-01-27 07:03:56 -05:00
hooks Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
machine vendor c/common@main 2022-05-12 10:51:13 +02:00
manifests Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
netns vendor c/common 2022-04-21 13:43:58 +02:00
parse Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
report vendor c/common 2022-04-21 13:43:58 +02:00
resize use c/common code for resize and CopyDetachable 2022-07-06 16:57:07 +02:00
retry Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
seccomp Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
secrets kube secret handling for podman play kube 2022-07-20 12:55:33 -04:00
signal vendor c/common@0ededd18a1 2022-03-18 15:18:30 +01:00
ssh podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
subscriptions Add support for containers.conf volume timeouts 2022-08-23 15:42:00 -04:00
supplemented Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
sysinfo Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
timetype vendor c/common 2022-04-21 13:43:58 +02:00
umask vendor c/common 2022-04-21 13:43:58 +02:00
util Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00