MCPcopy Create free account
hub / github.com/docker/cli / handlerGetPing

Function handlerGetPing

internal/registry/registry_mock_test.go:63–69  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

61}
62
63func handlerGetPing(w http.ResponseWriter, r *http.Request) {
64 if r.Method != http.MethodGet {
65 writeResponse(w, http.StatusText(http.StatusMethodNotAllowed), http.StatusMethodNotAllowed)
66 return
67 }
68 writeResponse(w, true, http.StatusOK)
69}
70
71func handlerSearch(w http.ResponseWriter, r *http.Request) {
72 if r.Method != http.MethodGet {

Callers

nothing calls this directly

Calls 1

writeResponseFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…