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 Add canonical import comment 2018-02-05 16:51:57 -05:00
cluster.go pkg/signal: move signal.DumpStacks() to a separate package 2021-07-15 18:09:43 +02:00
configs.go set bigger grpc limit for GetConfigs api 2019-02-26 11:09:25 -05:00
errors.go Add canonical import comment 2018-02-05 16:51:57 -05:00
filters.go Changes to cluster/filter, swagger.yaml, version-history.md for filtering on node labels. 2018-08-21 22:17:23 +02:00
filters_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
helpers.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
listen_addr.go daemon/cluster: normalize comment formatting 2019-11-27 15:42:53 +01:00
listen_addr_linux.go Add canonical import comment 2018-02-05 16:51:57 -05:00
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 Move network conversions out of API router 2018-06-27 17:11:29 -07:00
noderunner.go Fix libnetwork imports 2021-06-01 21:51:23 +00:00
nodes.go daemon/cluster: fix unused context (staticcheck) 2019-09-18 12:55:42 +02:00
secrets.go Increase max recv gRPC message size for nodes and secrets 2019-06-03 11:42:31 -05:00
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 cluster: set bigger grpc limit for array requests 2018-10-30 16:02:34 -07:00
utils.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00