spiegel_podman/vendor/github.com/Microsoft/hcsshim/internal
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
..
cow update c/common 2021-05-20 10:21:27 +02:00
hcs vendor buildah@main 2022-06-10 09:42:19 +02:00
hcserror update dependencies 2019-06-24 21:29:31 +02:00
hns vendor buildah@main 2022-06-10 09:42:19 +02:00
interop Bump to Buildah v1.11.5 2019-11-13 10:57:19 -05:00
jobobject Add support for containers.conf volume timeouts 2022-08-23 15:42:00 -04:00
log Bump to Buildah v1.11.5 2019-11-13 10:57:19 -05:00
logfields update dependencies 2019-06-24 21:29:31 +02:00
longpath vendor: update everything 2019-01-11 13:38:11 +01:00
mergemaps vendor: update everything 2019-01-11 13:38:11 +01:00
oc Bump to Buildah v1.11.5 2019-11-13 10:57:19 -05:00
queue Add support for containers.conf volume timeouts 2022-08-23 15:42:00 -04:00
safefile vendor in containers/storage v1.29.0 2021-04-12 12:23:11 -04:00
timeout Bump github.com/containers/storage from 1.25.0 to 1.28.0 2021-03-18 20:27:25 +01:00
vmcompute vendor in containers/storage v1.29.0 2021-04-12 12:23:11 -04:00
wclayer Allow API to specify size and inode quota 2021-10-18 14:44:10 -04:00
winapi Add support for containers.conf volume timeouts 2022-08-23 15:42:00 -04:00