moby--moby/daemon/cluster
Sebastiaan van Stijn adf4bf772d
API: add "Swarm" header to _ping endpoint
This adds an additional "Swarm" header to the _ping endpoint response,
which allows a client to detect if Swarm is enabled on the daemon, without
having to call additional endpoints.

This change is not versioned in the API, and will be returned irregardless
of the API version that is used. Clients should fall back to using other
endpoints to get this information if the header is not present.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-03-25 23:54:14 +01:00
..
controllers/plugin refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
convert Fix libnetwork imports 2021-06-01 21:51:23 +00:00
executor vendor: github.com/docker/swarmkit 616e8db4c3b0 2022-03-10 17:48:09 -05:00
provider
cluster.go pkg/signal: move signal.DumpStacks() to a separate package 2021-07-15 18:09:43 +02:00
configs.go
errors.go
filters.go
filters_test.go
helpers.go
listen_addr.go
listen_addr_linux.go
listen_addr_others.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
networks.go
noderunner.go Fix libnetwork imports 2021-06-01 21:51:23 +00:00
nodes.go
secrets.go
services.go Remove more of registry v1 code. 2021-02-23 09:49:46 +01:00
swarm.go API: add "Swarm" header to _ping endpoint 2022-03-25 23:54:14 +01:00
tasks.go
utils.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00