* 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>
* feat: make head pull failure warning toggleable
* expect prometheus tests to go through EVENTUALLY
* wait for queue to be empty before checking test conditions
* clean up new head failure toggle
* fixup! clean up new head failure toggle
* test: add registry tests
* test: add warn on head failure tests
* fix client interface and make tests hit more lines
* make all tests use NewClient instead of creating a struct pointer
* fix lint issues
Co-authored-by: Simon Aronsson <simme@arcticbit.se>
* Added HTTP API trigger to update running images
* Adds HTTP API authentication token parameter and handling
* Exposes port 8080 in Dockerfile to allow inter-container update triggering via HTTP API
* Fixes codacy issue
* Adds API usage doc
* Fix grammar
* Moves api logic to a package of its own
* Makes WT exit if token has not been set in HTTP API mode
* Adds lock to prevent concurrent updates when in HTTP API mode
Co-authored-by: Simon Aronsson <simme@arcticbit.se>