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

Method StreamReader

tempodb/backend/backend.go:68–68  ·  view source on GitHub ↗

StreamReader is for streaming entire objects from the backend. It is expected this will _not_ be cached.

(ctx context.Context, name string, blockID uuid.UUID, tenantID string)

Source from the content-addressed store, hash-verified

66 Read(ctx context.Context, name string, blockID uuid.UUID, tenantID string, cacheInfo *CacheInfo) ([]byte, error)
67 // StreamReader is for streaming entire objects from the backend. It is expected this will _not_ be cached.
68 StreamReader(ctx context.Context, name string, blockID uuid.UUID, tenantID string) (io.ReadCloser, int64, error)
69 // ReadRange is for reading parts of large objects from the backend. cacheInfo contains information to make a caching decision
70 ReadRange(ctx context.Context, name string, blockID uuid.UUID, tenantID string, offset uint64, buffer []byte, cacheInfo *CacheInfo) error
71 // Tenants returns a list of all tenants in a backend

Callers 3

CopyBlockFunction · 0.65
CopyBlockFunction · 0.65
CopyBlockFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected