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

Struct mockRequestHandler

pkg/querier/worker/scheduler_processor_test.go:23–25  ·  view source on GitHub ↗

mock querier request handler

Source from the content-addressed store, hash-verified

21
22// mock querier request handler
23type mockRequestHandler struct {
24 mock.Mock
25}
26
27func (m *mockRequestHandler) Handle(ctx context.Context, req *httpgrpc.HTTPRequest) (*httpgrpc.HTTPResponse, error) {
28 args := m.Called(ctx, req)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected