MCPcopy Index your code
hub / github.com/docker/docker-agent / httpGET

Function httpGET

pkg/server/server_test.go:119–122  ·  view source on GitHub ↗
(t *testing.T, ctx context.Context, socketPath, path string)

Source from the content-addressed store, hash-verified

117}
118
119func httpGET(t *testing.T, ctx context.Context, socketPath, path string) []byte {
120 t.Helper()
121 return httpDo(t, ctx, http.MethodGet, socketPath, path, nil)
122}
123
124func httpDo(t *testing.T, ctx context.Context, method, socketPath, path string, payload any) []byte {
125 t.Helper()

Callers 5

TestServer_ListAgentsFunction · 0.85
TestServer_EmptyListFunction · 0.85
TestServer_ListSessionsFunction · 0.85
TestServer_ForkSessionFunction · 0.85

Calls 1

httpDoFunction · 0.85

Tested by

no test coverage detected