MCPcopy
hub / github.com/prometheus/prometheus / mockSeriesSet

Struct mockSeriesSet

tsdb/querier_test.go:47–52  ·  view source on GitHub ↗

TODO(bwplotka): Replace those mocks with remote.concreteSeriesSet.

Source from the content-addressed store, hash-verified

45
46// TODO(bwplotka): Replace those mocks with remote.concreteSeriesSet.
47type mockSeriesSet struct {
48 next func() bool
49 series func() storage.Series
50 ws func() annotations.Annotations
51 err func() error
52}
53
54func (m *mockSeriesSet) Next() bool { return m.next() }
55func (m *mockSeriesSet) At() storage.Series { return m.series() }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected