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

Struct MockRawWriter

tempodb/backend/mocks.go:74–80  ·  view source on GitHub ↗

MockRawWriter

Source from the content-addressed store, hash-verified

72
73// MockRawWriter
74type MockRawWriter struct {
75 writeBuffer map[string][]byte
76 appendBuffer []byte
77 closeAppendCalled bool
78 deleteCalls map[string]map[string]int
79 err error
80}
81
82func (m *MockRawWriter) Write(_ context.Context, object string, keypath KeyPath, data io.Reader, size int64, _ *CacheInfo) error {
83 if m.writeBuffer == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected