watchtower/pkg/container
Dirk Kok 739f328ee5
feat(http): optional query parameter to update only containers of a specified image (#1289)
* feat(http): optional query parameter to update only containers of a specified image

* fix style issues

* comma separated image parameter

* Support comma-separated query parameter as well as specifying it multiple times

Co-authored-by: nils måsén <nils@piksel.se>

* fixed compile error

* fixed FilterByImageTag

Not sure what changed in my testing setup, but Docker reports image names including the tag name now.

* consistent use of image/tag (use image)

* fixed multiple image queries

* assuming I'm right here, only block on lock when any images are specified.

* add unit tests for image filter. didn't add tests for update api because they didn't already exist

* whoops.

* use ImageName instead, add unit test for empty ImageName filter.

Co-authored-by: nils måsén <nils@piksel.se>
2022-06-14 09:13:14 +02:00
..
mocks feat(http): optional query parameter to update only containers of a specified image (#1289) 2022-06-14 09:13:14 +02:00
client.go fix: gracefully skip pinned images (#1277) 2022-05-27 12:16:18 +02:00
client_test.go fix: gracefully skip pinned images (#1277) 2022-05-27 12:16:18 +02:00
container.go fix: add missing portmap when needed (#1183) 2022-01-22 17:40:37 +01:00
container_suite_test.go fix: merge artifacts and broken shoutrrr tests (#929) 2021-04-24 15:42:31 +02:00
container_test.go fix: gracefully skip pinned images (#1277) 2022-05-27 12:16:18 +02:00
errors.go feat: use a more specific error type for no container info (#1115) 2021-11-12 12:21:34 +01:00
metadata.go Post update time out (#1124) 2021-11-18 14:54:35 +01:00
util_test.go Session report collection and report templates (#981) 2021-06-27 09:05:01 +02:00