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

Struct testRecordIter

modules/livestore/live_store_test.go:979–982  ·  view source on GitHub ↗

testRecordIter is a simple recordIter implementation for tests

Source from the content-addressed store, hash-verified

977
978// testRecordIter is a simple recordIter implementation for tests
979type testRecordIter struct {
980 records []*kgo.Record
981 index int
982}
983
984func (t *testRecordIter) Next() *kgo.Record {
985 if t.index >= len(t.records) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected