spiegel_podman/libpod/define
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
..
annotations.go Update init ctr default for play kube 2022-07-26 13:39:20 -04:00
checkpoint_restore.go Added optional container checkpointing statistics 2021-11-15 11:50:24 +00:00
config.go use libnetwork from c/common 2022-01-12 17:07:30 +01:00
container.go fix --init with /dev bind mount 2022-05-23 13:59:05 +02:00
container_inspect.go health check: add on-failure actions 2022-09-27 10:40:36 +02:00
containerstate.go libpod: switch to golang native error wrapping 2022-07-05 16:06:32 +02:00
diff.go podman diff accept two images or containers 2021-07-02 17:11:56 +02:00
errors.go [CI:DOCS] Improve language. Fix spelling and typos. 2022-07-26 13:01:03 -04:00
exec_codes.go libpod: switch to golang native error wrapping 2022-07-05 16:06:32 +02:00
fileinfo.go Fixes from make codespell 2021-04-21 13:16:33 -04:00
healthchecks.go health check: add on-failure actions 2022-09-27 10:40:36 +02:00
info.go Add Authorixation field to Plugins for Info 2022-05-26 11:15:48 -07:00
mount.go separate file with mount consts in libpod/define 2021-03-07 12:01:04 +01:00
pod_inspect.go podman pod create --uts support 2022-07-05 09:28:07 -04:00
podstate.go Add a Degraded state to pods 2020-10-21 13:31:40 -04:00
runtime.go Add support for containers.conf 2020-03-27 14:36:03 -04:00
version.go Add 'Os' to be queried via 'version' output 2022-03-29 18:10:59 -04:00
volume_inspect.go Add support for containers.conf volume timeouts 2022-10-06 15:07:10 -04:00