moby--moby/api/server/router
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
..
build api/server: build: refactor for better readability 2019-12-04 16:19:01 +01:00
checkpoint
container errdefs: move GetHTTPErrorStatusCode to api/server/httpstatus 2022-03-21 12:22:39 +01:00
debug
distribution Remove more of registry v1 code. 2021-02-23 09:49:46 +01:00
grpc grpc: make sure typed errors handler is installed 2021-04-26 22:38:59 -07:00
image search: remove parsing JSON filters out of the backend 2022-03-18 09:44:55 +01:00
network api: filters: return correct status on invalid filters 2022-03-18 09:44:50 +01:00
plugin api: normalize comment formatting 2019-11-27 15:37:30 +01:00
session
swarm api: filters: return correct status on invalid filters 2022-03-18 09:44:50 +01:00
system API: add "Swarm" header to _ping endpoint 2022-03-25 23:54:14 +01:00
volume api: filters: return correct status on invalid filters 2022-03-18 09:44:50 +01:00
experimental.go
local.go
router.go