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

Method ReadAt

tempodb/backend/readerat.go:14–14  ·  view source on GitHub ↗
(ctx context.Context, p []byte, off int64)

Source from the content-addressed store, hash-verified

12// and abstract away the name/meta and other details so that the data can be accessed directly and simply
13type ContextReader interface {
14 ReadAt(ctx context.Context, p []byte, off int64) (int, error)
15 ReadAll(ctx context.Context) ([]byte, error)
16
17 // Return an io.Reader representing the underlying. May not be supported by all implementations

Callers 15

ReadAtMethod · 0.65
ReadAtMethod · 0.65
TestCachingReaderAtFunction · 0.65
ReadAtMethod · 0.65
ReadAtMethod · 0.65
TestCachingReaderAtFunction · 0.65
ReadAtMethod · 0.65
ReadAtMethod · 0.65
TestCachingReaderAtFunction · 0.65

Implementers 2

backendReadertempodb/backend/readerat.go
allReadertempodb/backend/readerat.go

Calls

no outgoing calls

Tested by 10

ReadAtMethod · 0.52
TestCachingReaderAtFunction · 0.52
ReadAtMethod · 0.52
TestCachingReaderAtFunction · 0.52
ReadAtMethod · 0.52
TestCachingReaderAtFunction · 0.52
ReadAtMethod · 0.52