mocks

package
v0.0.0-...-b945540 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataFrameBuilder

type DataFrameBuilder struct {
	mock.Mock
}

DataFrameBuilder is an autogenerated mock type for the DataFrameBuilder type

func NewDataFrameBuilder

func NewDataFrameBuilder(t interface {
	mock.TestingT
	Cleanup(func())
}) *DataFrameBuilder

NewDataFrameBuilder creates a new instance of DataFrameBuilder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DataFrameBuilder) NewFromKeysAndRange

func (_m *DataFrameBuilder) NewFromKeysAndRange(ctx context.Context, keys []string, begin time.Time, end time.Time, downsample bool, _a5 progress.Progress) (*dataframe.DataFrame, error)

NewFromKeysAndRange provides a mock function with given fields: ctx, keys, begin, end, downsample, _a5

func (*DataFrameBuilder) NewFromQueryAndRange

func (_m *DataFrameBuilder) NewFromQueryAndRange(ctx context.Context, begin time.Time, end time.Time, q *query.Query, downsample bool, _a5 progress.Progress) (*dataframe.DataFrame, error)

NewFromQueryAndRange provides a mock function with given fields: ctx, begin, end, q, downsample, _a5

func (*DataFrameBuilder) NewNFromKeys

func (_m *DataFrameBuilder) NewNFromKeys(ctx context.Context, end time.Time, keys []string, n int32, _a4 progress.Progress) (*dataframe.DataFrame, error)

NewNFromKeys provides a mock function with given fields: ctx, end, keys, n, _a4

func (*DataFrameBuilder) NewNFromQuery

func (_m *DataFrameBuilder) NewNFromQuery(ctx context.Context, end time.Time, q *query.Query, n int32, _a4 progress.Progress) (*dataframe.DataFrame, error)

NewNFromQuery provides a mock function with given fields: ctx, end, q, n, _a4

func (*DataFrameBuilder) NumMatches

func (_m *DataFrameBuilder) NumMatches(ctx context.Context, q *query.Query) (int64, error)

NumMatches provides a mock function with given fields: ctx, q

func (*DataFrameBuilder) PreflightQuery

func (_m *DataFrameBuilder) PreflightQuery(ctx context.Context, q *query.Query, referenceParamSet paramtools.ReadOnlyParamSet) (int64, paramtools.ParamSet, error)

PreflightQuery provides a mock function with given fields: ctx, q, referenceParamSet

Jump to

Keyboard shortcuts

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