Documentation ¶
Index ¶
- type StorageQuerierInterface
- func (_m *StorageQuerierInterface) Close() error
- func (_m *StorageQuerierInterface) LabelNames(matchers ...*labels.Matcher) ([]string, storage.Warnings, error)
- func (_m *StorageQuerierInterface) LabelValues(name string, matchers ...*labels.Matcher) ([]string, storage.Warnings, error)
- func (_m *StorageQuerierInterface) Select(sortSeries bool, hints *storage.SelectHints, matchers ...*labels.Matcher) storage.SeriesSet
- func (_m *StorageQuerierInterface) Series(labelMatchers []string) ([]map[string]string, error)
- type StorageQueryableInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StorageQuerierInterface ¶
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
type StorageQueryableInterface ¶
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.