mock

package
v1.117.2 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockQueryAPI

type MockQueryAPI struct {
	// contains filtered or unexported fields
}

MockQueryAPI is a mock of QueryAPI interface.

func NewMockQueryAPI

func NewMockQueryAPI(ctrl *gomock.Controller) *MockQueryAPI

NewMockQueryAPI creates a new mock instance.

func (*MockQueryAPI) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockQueryAPI) Query

func (m *MockQueryAPI) Query(ctx context.Context, query string, ts time.Time, opts ...v1.Option) (model.Value, v1.Warnings, error)

Query mocks base method.

type MockQueryAPIMockRecorder

type MockQueryAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockQueryAPIMockRecorder is the mock recorder for MockQueryAPI.

func (*MockQueryAPIMockRecorder) Query

func (mr *MockQueryAPIMockRecorder) Query(ctx, query, ts any, opts ...any) *gomock.Call

Query indicates an expected call of Query.

Jump to

Keyboard shortcuts

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