seriesiter

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2026 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 GenerateTag

func GenerateTag() ident.Tag

GenerateTag generates a new tag

func NewMockSeriesIterSlice

func NewMockSeriesIterSlice(
	ctrl *gomock.Controller,
	tagGenerator func() ident.TagIterator,
	length int,
	numValues int,
) []encoding.SeriesIterator

NewMockSeriesIterSlice generates a slice of mock series iterators

func NewMockSeriesIterator added in v0.7.1

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 added in v0.7.1

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 added in v0.7.1

func NewMockValidTagGenerator(ctrl *gomock.Controller) func() ident.TagIterator

NewMockValidTagGenerator wraps around GenerateSimpleTagIterator to construct a default TagIterator function.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL