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

Struct MockWriter

tempodb/backend/mocks.go:256–260  ·  view source on GitHub ↗

MockWriter

Source from the content-addressed store, hash-verified

254
255// MockWriter
256type MockWriter struct {
257 sync.Mutex
258 IndexMeta map[string][]*BlockMeta
259 IndexCompactedMeta map[string][]*CompactedBlockMeta
260}
261
262func (m *MockWriter) Write(context.Context, string, uuid.UUID, string, []byte, *CacheInfo) error {
263 return nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected