podman/pkg/domain/infra/abi
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
..
parse Add support for containers.conf volume timeouts 2022-08-23 15:42:00 -04:00
terminal pkg/domain: Add stubs for non-linux builds 2022-08-15 10:45:24 +01:00
archive.go Add API support for NoOverwriteDirNonDir 2022-05-26 16:31:15 -07:00
auto-update.go bump go module to version 4 2022-01-18 12:47:07 +01:00
containers.go Refactor: About the RawInput process 2022-08-23 09:58:34 +09:00
containers_runlabel.go libpod: switch to golang native error wrapping 2022-07-05 16:06:32 +02:00
containers_runlabel_test.go Fix handling of runlabel IMAGE and NAME 2021-05-05 14:46:18 -04:00
containers_stat.go bump go module to version 4 2022-01-18 12:47:07 +01:00
events.go bump go module to version 4 2022-01-18 12:47:07 +01:00
generate.go podman generate spec 2022-08-04 13:59:58 -04:00
healthcheck.go bump go module to version 4 2022-01-18 12:47:07 +01:00
images.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
images_list.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
images_test.go pkg/domain/infra/abi/images_test.go: remove commented code 2022-05-24 16:07:39 +02:00
manifest.go podman manifest create: accept --amend and --insecure flags 2022-08-16 19:45:36 -04:00
network.go libpod: switch to golang native error wrapping 2022-07-05 16:06:32 +02:00
play.go kube play: sd-notify integration 2022-08-10 21:12:39 +02:00
play_test.go move k8s deps into podman 2022-03-15 14:46:29 +01:00
play_utils.go kube play: sd-notify integration 2022-08-10 21:12:39 +02:00
play_utils_test.go kube play: sd-notify integration 2022-08-10 21:12:39 +02:00
pods.go "pod pause/unpause/stop" append "report.Errs" to "reports" 2022-07-19 10:00:33 +09:00
pods_stats.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
runtime.go bump go module to version 4 2022-01-18 12:47:07 +01:00
secrets.go kube secret handling for podman play kube 2022-07-20 12:55:33 -04:00
system.go abi: create new cgroup when running in a container 2022-07-13 09:13:06 +02:00
trust.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
volumes.go libpod: switch to golang native error wrapping 2022-07-05 16:06:32 +02:00