prometheus/discovery/moby
Julien Pivotto 5bce801a09
Rename discovery/dockerswarm to discovery/moby (#8691)
This makes it clear that the dockerswarm package does more than docker
swarm, but does also docker.

I have picked moby as it is the upstream name: https://mobyproject.org/

There is no user-facing change, except in the case of a bad
configuration. Previously, a user who would have a bad docker sd config
would see an error like:

> field xx not found in type dockerswarm.plain

Now that error would be turned into:

> field xx not found in type moby.plain

While not perfect, it should at not be confusing between docker and
dockerswarm.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-04-13 09:33:54 +02:00
..
testdata Rename discovery/dockerswarm to discovery/moby (#8691) 2021-04-13 09:33:54 +02:00
docker_test.go Rename discovery/dockerswarm to discovery/moby (#8691) 2021-04-13 09:33:54 +02:00
docker.go Rename discovery/dockerswarm to discovery/moby (#8691) 2021-04-13 09:33:54 +02:00
dockerswarm.go Rename discovery/dockerswarm to discovery/moby (#8691) 2021-04-13 09:33:54 +02:00
mock_test.go Rename discovery/dockerswarm to discovery/moby (#8691) 2021-04-13 09:33:54 +02:00
network.go Rename discovery/dockerswarm to discovery/moby (#8691) 2021-04-13 09:33:54 +02:00
nodes_test.go Rename discovery/dockerswarm to discovery/moby (#8691) 2021-04-13 09:33:54 +02:00
nodes.go Rename discovery/dockerswarm to discovery/moby (#8691) 2021-04-13 09:33:54 +02:00
services_test.go Rename discovery/dockerswarm to discovery/moby (#8691) 2021-04-13 09:33:54 +02:00
services.go Rename discovery/dockerswarm to discovery/moby (#8691) 2021-04-13 09:33:54 +02:00
tasks_test.go Rename discovery/dockerswarm to discovery/moby (#8691) 2021-04-13 09:33:54 +02:00
tasks.go Rename discovery/dockerswarm to discovery/moby (#8691) 2021-04-13 09:33:54 +02:00