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 Docker Swarm service discovery (#7420) 2020-06-26 12:25:58 +02:00
dockerswarm.go Refactor dockerswarm refresh for testing (#7541) 2020-07-09 13:01:08 +02:00
mock_test.go Docker Swarm service discovery (#7420) 2020-06-26 12:25:58 +02:00
network.go Docker Swarm service discovery (#7420) 2020-06-26 12:25:58 +02:00
nodes.go Docker Swarm service discovery (#7420) 2020-06-26 12:25:58 +02:00
nodes_test.go Refactor dockerswarm refresh for testing (#7541) 2020-07-09 13:01:08 +02:00
services.go Docker Swarm service discovery (#7420) 2020-06-26 12:25:58 +02:00
services_test.go Refactor dockerswarm refresh for testing (#7541) 2020-07-09 13:01:08 +02:00
tasks.go Docker Swarm service discovery (#7420) 2020-06-26 12:25:58 +02:00
tasks_test.go Refactor dockerswarm refresh for testing (#7541) 2020-07-09 13:01:08 +02:00