watchtower/container
Simon Aronsson 3fd97f80e1 add tests for check action, resolve wt cleanup bug
add unit tests for the check action to allow for some
refactoring and bug fixing without having to worry about
breaking stuff.

resolve watchtower cleanup bug by adding an initial 1 second sleep
in the check action. without the sleep, the docker client returns an
empty array, which is why we were left with two watchtowers.
2019-04-20 11:15:33 +02:00
..
mocks Fix linting errors 2019-04-17 21:32:09 +02:00
client.go improve test coverage and add an api-server mock 2019-04-17 21:28:48 +02:00
container.go add tests for check action, resolve wt cleanup bug 2019-04-20 11:15:33 +02:00
container_test.go Fix linting errors 2019-04-17 21:32:09 +02:00
filters.go always exclude containers that have the com.centurylinklabs.watchtower.enable set to false. 2018-03-03 21:58:07 +01:00
filters_test.go change repo paths 2019-04-03 21:02:05 +02:00
sort.go Add godoc comments 2015-07-31 22:36:18 +00:00
trust.go Setup a working pipeline 2019-04-06 13:57:26 +02:00
trust_test.go improve test coverage 2019-04-17 15:36:35 +02:00
util.go go fmt... 2017-01-24 21:06:04 +01:00
util_test.go improve test coverage 2019-04-17 15:36:35 +02:00