moby--moby/integration/system
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
..
cgroupdriver_systemd_test.go TestCgroupDriverSystemdMemoryLimit: fix failure 2020-03-03 11:30:55 +09:00
disk_usage_test.go API,daemon: support `type` URL parameter to /system/df 2021-07-27 12:17:45 +02:00
event_test.go volumes: only send "create" event when actually creating volume 2021-05-05 16:02:22 +02:00
info_linux_test.go integration(-cli): remove discovery related tests 2022-01-06 18:28:13 +01:00
info_test.go Use designated test domains (RFC2606) in tests 2021-04-02 14:06:27 +02:00
login_test.go registry: add DefaultRegistryHost const, and improve documentation 2022-02-27 13:48:27 +01:00
main_test.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
ping_test.go API: add "Swarm" header to _ping endpoint 2022-03-25 23:54:14 +01:00
version_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00