podman/libpod/define
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
..
annotations.go Update init ctr default for play kube 2022-07-20 10:02:32 -04:00
checkpoint_restore.go Added optional container checkpointing statistics 2021-11-15 11:50:24 +00:00
config.go kube play: sd-notify integration 2022-08-10 21:12:39 +02:00
container.go fix --init with /dev bind mount 2022-05-23 13:59:05 +02:00
container_inspect.go libpod: allow the notify socket to be passed programatically 2022-08-10 21:10:17 +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-11 21:59:32 +02: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 Docker-compose disable healthcheck properly handled 2022-07-05 08:02:22 -04: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 resource limits for pods 2022-07-21 14:50:01 -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
sdnotify.go kube play: sd-notify integration 2022-08-10 21:12:39 +02: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-08-23 15:42:00 -04:00