| 36 | } |
| 37 | |
| 38 | type 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 |
| 54 | func (m *MockHTTPClient) DeleteOverrides(_ string) error { |
nothing calls this directly
no outgoing calls
no test coverage detected