MCPcopy
hub / github.com/grafana/tempo / MockHTTPClient

Struct MockHTTPClient

cmd/tempo-vulture/mocks.go:38–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38type MockHTTPClient struct {
39 err error
40 resp http.Response
41 traceResp *tempopb.Trace
42 requestsCount int
43 searchResponse []*tempopb.TraceSearchMetadata
44 searchesCount int
45 metricsResp *tempopb.QueryRangeResponse
46 metricsCount int
47 metricsInstantResp *tempopb.QueryInstantResponse
48 metricsInstantCount int
49 // We need the lock to control concurrent accesses to shared variables in the tests
50 m sync.Mutex
51}
52
53//nolint:all
54func (m *MockHTTPClient) DeleteOverrides(_ string) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected