remotereadmock

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageQuerierInterface

type StorageQuerierInterface struct {
	mock.Mock
}

StorageQuerierInterface is an autogenerated mock type for the StorageQuerierInterface type

func NewStorageQuerierInterface

func NewStorageQuerierInterface(t mockConstructorTestingTNewStorageQuerierInterface) *StorageQuerierInterface

NewStorageQuerierInterface creates a new instance of StorageQuerierInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*StorageQuerierInterface) Close

func (_m *StorageQuerierInterface) Close() error

Close provides a mock function with given fields:

func (*StorageQuerierInterface) LabelNames

func (_m *StorageQuerierInterface) LabelNames(matchers ...*labels.Matcher) ([]string, storage.Warnings, error)

LabelNames provides a mock function with given fields: matchers

func (*StorageQuerierInterface) LabelValues

func (_m *StorageQuerierInterface) LabelValues(name string, matchers ...*labels.Matcher) ([]string, storage.Warnings, error)

LabelValues provides a mock function with given fields: name, matchers

func (*StorageQuerierInterface) Select

func (_m *StorageQuerierInterface) Select(sortSeries bool, hints *storage.SelectHints, matchers ...*labels.Matcher) storage.SeriesSet

Select provides a mock function with given fields: sortSeries, hints, matchers

func (*StorageQuerierInterface) Series

func (_m *StorageQuerierInterface) Series(labelMatchers []string) ([]map[string]string, error)

Series provides a mock function with given fields: labelMatchers

type StorageQueryableInterface

type StorageQueryableInterface struct {
	mock.Mock
}

StorageQueryableInterface is an autogenerated mock type for the StorageQueryableInterface type

func NewStorageQueryableInterface

func NewStorageQueryableInterface(t mockConstructorTestingTNewStorageQueryableInterface) *StorageQueryableInterface

NewStorageQueryableInterface creates a new instance of StorageQueryableInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*StorageQueryableInterface) Querier

func (_m *StorageQueryableInterface) Querier(ctx context.Context, mint int64, maxt int64) (storage.Querier, error)

Querier provides a mock function with given fields: ctx, mint, maxt

Jump to

Keyboard shortcuts

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