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

Function newPartitionRingReader

modules/blockbuilder/blockbuilder_test.go:1023–1029  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1021}
1022
1023func newPartitionRingReader() *mockPartitionRingReader {
1024 return &mockPartitionRingReader{
1025 r: mustPartitionRing(map[int32]ring.PartitionDesc{
1026 0: {State: ring.PartitionActive},
1027 }),
1028 }
1029}
1030
1031func newPartitionRingReaderWithPartitions(partitions map[int32]ring.PartitionDesc) *mockPartitionRingReader {
1032 return &mockPartitionRingReader{

Calls 1

mustPartitionRingFunction · 0.85

Tested by

no test coverage detected