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

Method List

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

List returns all objects one level beneath the provided keypath

(ctx context.Context, keypath KeyPath)

Source from the content-addressed store, hash-verified

65type RawReader interface {
66 // List returns all objects one level beneath the provided keypath
67 List(ctx context.Context, keypath KeyPath) ([]string, error)
68 // ListBlocks returns all blockIDs and compactedBlockIDs for a tenant.
69 ListBlocks(ctx context.Context, tenant string) (blockIDs []uuid.UUID, compactedBlockIDs []uuid.UUID, err error)
70 // Find executes the FindFunc for each object in the backend starting at the specified keypath. Collection of these objects is the callers responsibility.

Callers 11

TenantsMethod · 0.65
ListMethod · 0.65
TestListFunction · 0.65
TestHedgeFunction · 0.65
TestHedgeFunction · 0.65
TestHedgeFunction · 0.65
TestReadWriteFunction · 0.65
tenantExistsFunction · 0.65
blockExistsFunction · 0.65
writeBadBlockFilesFunction · 0.65

Implementers 6

MockRawReadertempodb/backend/mocks.go
readerWritertempodb/backend/cache/cache.go
Azuretempodb/backend/azure/azure.go
readerWritertempodb/backend/gcs/gcs.go
readerWritertempodb/backend/s3/s3.go
Backendtempodb/backend/local/local.go

Calls

no outgoing calls

Tested by 9

TestListFunction · 0.52
TestHedgeFunction · 0.52
TestHedgeFunction · 0.52
TestHedgeFunction · 0.52
TestReadWriteFunction · 0.52
tenantExistsFunction · 0.52
blockExistsFunction · 0.52
writeBadBlockFilesFunction · 0.52