Documentation ¶
Index ¶
- func GenerateSingleSampleTagIterator(ctrl *gomock.Controller, tag ident.Tag) ident.TagIterator
- func GenerateTag() ident.Tag
- func NewMockSeriesIterSlice(ctrl *gomock.Controller, tagGenerator func() ident.TagIterator, len int, ...) []encoding.SeriesIterator
- func NewMockSeriesIterator(ctrl *gomock.Controller, tagGenerator func() ident.TagIterator, numValues int) *encoding.MockSeriesIterator
- func NewMockSeriesIteratorFromBase(mockIter *encoding.MockSeriesIterator, tagGenerator func() ident.TagIterator, ...) *encoding.MockSeriesIterator
- func NewMockSeriesIters(ctrl *gomock.Controller, tags ident.Tag, l int, numValues int) encoding.SeriesIterators
- func NewMockValidTagGenerator(ctrl *gomock.Controller) func() ident.TagIterator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSingleSampleTagIterator ¶
func GenerateSingleSampleTagIterator(ctrl *gomock.Controller, tag ident.Tag) ident.TagIterator
GenerateSingleSampleTagIterator generates a new tag iterator
func NewMockSeriesIterSlice ¶
func NewMockSeriesIterSlice( ctrl *gomock.Controller, tagGenerator func() ident.TagIterator, len int, numValues int, ) []encoding.SeriesIterator
NewMockSeriesIterSlice generates a slice of mock series iterators
func NewMockSeriesIterator ¶
func NewMockSeriesIterator(ctrl *gomock.Controller, tagGenerator func() ident.TagIterator, numValues int) *encoding.MockSeriesIterator
NewMockSeriesIterator constructs a MockSeriesIterator return numValues datapoints, using tagGenerator, and otherwise configured with sensible defaults.
func NewMockSeriesIteratorFromBase ¶
func NewMockSeriesIteratorFromBase(mockIter *encoding.MockSeriesIterator, tagGenerator func() ident.TagIterator, numValues int) *encoding.MockSeriesIterator
NewMockSeriesIteratorFromBase constructs a MockSeriesIterator return numValues datapoints, using tagGenerator, and otherwise configured with sensible defaults. Any expectations already set on mockIter will be respected.
func NewMockSeriesIters ¶
func NewMockSeriesIters( ctrl *gomock.Controller, tags ident.Tag, l int, numValues int, ) encoding.SeriesIterators
NewMockSeriesIters generates a new mock series iters
func NewMockValidTagGenerator ¶
func NewMockValidTagGenerator(ctrl *gomock.Controller) func() ident.TagIterator
NewMockValidTagGenerator wraps around GenerateSimpleTagIterator to construct a default TagIterator function.
Types ¶
This section is empty.