prometheus/discovery/dockerswarm
Julien Pivotto 93ecf0e14c
Refactor dockerswarm refresh for testing (#7541)
We were missing testing on the behaviour of the configuration
unmarshalling.

This PR adds a refresh command that can be used to test that we
use the correct refresh function.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-07-09 13:01:08 +02:00
..
testdata/swarmprom
dockerswarm.go Refactor dockerswarm refresh for testing (#7541) 2020-07-09 13:01:08 +02:00
mock_test.go
network.go
nodes.go
nodes_test.go Refactor dockerswarm refresh for testing (#7541) 2020-07-09 13:01:08 +02:00
services.go
services_test.go Refactor dockerswarm refresh for testing (#7541) 2020-07-09 13:01:08 +02:00
tasks.go
tasks_test.go Refactor dockerswarm refresh for testing (#7541) 2020-07-09 13:01:08 +02:00