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
executor vendor: github.com/docker/swarmkit 616e8db4c3b0 2022-03-10 17:48:09 -05:00
provider
cluster.go
configs.go
errors.go
filters.go
filters_test.go
helpers.go
listen_addr.go
listen_addr_linux.go
listen_addr_others.go
networks.go
noderunner.go
nodes.go
secrets.go
services.go
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