MCPcopy Create free account
hub / github.com/cortexproject/cortex / EncodeRequest

Method EncodeRequest

pkg/querier/tripperware/query.go:72–72  ·  view source on GitHub ↗

EncodeRequest encodes a Request into an http request.

(context.Context, Request)

Source from the content-addressed store, hash-verified

70 DecodeResponse(context.Context, *http.Response, Request) (Response, error)
71 // EncodeRequest encodes a Request into an http request.
72 EncodeRequest(context.Context, Request) (*http.Request, error)
73 // EncodeResponse encodes a Response into an http response.
74 EncodeResponse(context.Context, *http.Request, Response) (*http.Response, error)
75}

Callers 5

DoMethod · 0.65
TestRequestFunction · 0.65
TestRequestFunction · 0.65

Calls

no outgoing calls

Tested by 4

TestRequestFunction · 0.52
TestRequestFunction · 0.52