mock

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 5 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 MockMetricServiceClient

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

MockMetricServiceClient is a mock of MetricServiceClient interface.

func NewMockMetricServiceClient

func NewMockMetricServiceClient(ctrl *gomock.Controller) *MockMetricServiceClient

NewMockMetricServiceClient creates a new mock instance.

func (*MockMetricServiceClient) EXPECT

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

func (*MockMetricServiceClient) GeneralQuery

GeneralQuery mocks base method.

func (*MockMetricServiceClient) GeneralSearch

GeneralSearch mocks base method.

func (*MockMetricServiceClient) QueryWithInfluxFormat

QueryWithInfluxFormat mocks base method.

func (*MockMetricServiceClient) QueryWithTableFormat

QueryWithTableFormat mocks base method.

func (*MockMetricServiceClient) SearchWithInfluxFormat

SearchWithInfluxFormat mocks base method.

func (*MockMetricServiceClient) SearchWithTableFormat

SearchWithTableFormat mocks base method.

type MockMetricServiceClientMockRecorder

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

MockMetricServiceClientMockRecorder is the mock recorder for MockMetricServiceClient.

func (*MockMetricServiceClientMockRecorder) GeneralQuery

func (mr *MockMetricServiceClientMockRecorder) GeneralQuery(ctx, in interface{}, opts ...interface{}) *gomock.Call

GeneralQuery indicates an expected call of GeneralQuery.

func (*MockMetricServiceClientMockRecorder) GeneralSearch

func (mr *MockMetricServiceClientMockRecorder) GeneralSearch(ctx, in interface{}, opts ...interface{}) *gomock.Call

GeneralSearch indicates an expected call of GeneralSearch.

func (*MockMetricServiceClientMockRecorder) QueryWithInfluxFormat

func (mr *MockMetricServiceClientMockRecorder) QueryWithInfluxFormat(ctx, in interface{}, opts ...interface{}) *gomock.Call

QueryWithInfluxFormat indicates an expected call of QueryWithInfluxFormat.

func (*MockMetricServiceClientMockRecorder) QueryWithTableFormat

func (mr *MockMetricServiceClientMockRecorder) QueryWithTableFormat(ctx, in interface{}, opts ...interface{}) *gomock.Call

QueryWithTableFormat indicates an expected call of QueryWithTableFormat.

func (*MockMetricServiceClientMockRecorder) SearchWithInfluxFormat

func (mr *MockMetricServiceClientMockRecorder) SearchWithInfluxFormat(ctx, in interface{}, opts ...interface{}) *gomock.Call

SearchWithInfluxFormat indicates an expected call of SearchWithInfluxFormat.

func (*MockMetricServiceClientMockRecorder) SearchWithTableFormat

func (mr *MockMetricServiceClientMockRecorder) SearchWithTableFormat(ctx, in interface{}, opts ...interface{}) *gomock.Call

SearchWithTableFormat indicates an expected call of SearchWithTableFormat.

type MockMetricServiceServer

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

MockMetricServiceServer is a mock of MetricServiceServer interface.

func NewMockMetricServiceServer

func NewMockMetricServiceServer(ctrl *gomock.Controller) *MockMetricServiceServer

NewMockMetricServiceServer creates a new mock instance.

func (*MockMetricServiceServer) EXPECT

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

func (*MockMetricServiceServer) GeneralQuery

GeneralQuery mocks base method.

func (*MockMetricServiceServer) GeneralSearch

GeneralSearch mocks base method.

func (*MockMetricServiceServer) QueryWithInfluxFormat

QueryWithInfluxFormat mocks base method.

func (*MockMetricServiceServer) QueryWithTableFormat

QueryWithTableFormat mocks base method.

func (*MockMetricServiceServer) SearchWithInfluxFormat

SearchWithInfluxFormat mocks base method.

func (*MockMetricServiceServer) SearchWithTableFormat

SearchWithTableFormat mocks base method.

type MockMetricServiceServerMockRecorder

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

MockMetricServiceServerMockRecorder is the mock recorder for MockMetricServiceServer.

func (*MockMetricServiceServerMockRecorder) GeneralQuery

func (mr *MockMetricServiceServerMockRecorder) GeneralQuery(arg0, arg1 interface{}) *gomock.Call

GeneralQuery indicates an expected call of GeneralQuery.

func (*MockMetricServiceServerMockRecorder) GeneralSearch

func (mr *MockMetricServiceServerMockRecorder) GeneralSearch(arg0, arg1 interface{}) *gomock.Call

GeneralSearch indicates an expected call of GeneralSearch.

func (*MockMetricServiceServerMockRecorder) QueryWithInfluxFormat

func (mr *MockMetricServiceServerMockRecorder) QueryWithInfluxFormat(arg0, arg1 interface{}) *gomock.Call

QueryWithInfluxFormat indicates an expected call of QueryWithInfluxFormat.

func (*MockMetricServiceServerMockRecorder) QueryWithTableFormat

func (mr *MockMetricServiceServerMockRecorder) QueryWithTableFormat(arg0, arg1 interface{}) *gomock.Call

QueryWithTableFormat indicates an expected call of QueryWithTableFormat.

func (*MockMetricServiceServerMockRecorder) SearchWithInfluxFormat

func (mr *MockMetricServiceServerMockRecorder) SearchWithInfluxFormat(arg0, arg1 interface{}) *gomock.Call

SearchWithInfluxFormat indicates an expected call of SearchWithInfluxFormat.

func (*MockMetricServiceServerMockRecorder) SearchWithTableFormat

func (mr *MockMetricServiceServerMockRecorder) SearchWithTableFormat(arg0, arg1 interface{}) *gomock.Call

SearchWithTableFormat indicates an expected call of SearchWithTableFormat.

Jump to

Keyboard shortcuts

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