Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockMetricServiceClient
- func (m *MockMetricServiceClient) EXPECT() *MockMetricServiceClientMockRecorder
- func (m *MockMetricServiceClient) GeneralQuery(ctx context.Context, in *pb.GeneralQueryRequest, opts ...grpc.CallOption) (*pb.GeneralQueryResponse, error)
- func (m *MockMetricServiceClient) GeneralSearch(ctx context.Context, in *pb.GeneralQueryRequest, opts ...grpc.CallOption) (*pb.GeneralQueryResponse, error)
- func (m *MockMetricServiceClient) QueryWithInfluxFormat(ctx context.Context, in *pb.QueryWithInfluxFormatRequest, ...) (*pb.QueryWithInfluxFormatResponse, error)
- func (m *MockMetricServiceClient) QueryWithTableFormat(ctx context.Context, in *pb.QueryWithTableFormatRequest, ...) (*pb.QueryWithTableFormatResponse, error)
- func (m *MockMetricServiceClient) SearchWithInfluxFormat(ctx context.Context, in *pb.QueryWithInfluxFormatRequest, ...) (*pb.QueryWithInfluxFormatResponse, error)
- func (m *MockMetricServiceClient) SearchWithTableFormat(ctx context.Context, in *pb.QueryWithTableFormatRequest, ...) (*pb.QueryWithTableFormatResponse, error)
- type MockMetricServiceClientMockRecorder
- func (mr *MockMetricServiceClientMockRecorder) GeneralQuery(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMetricServiceClientMockRecorder) GeneralSearch(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMetricServiceClientMockRecorder) QueryWithInfluxFormat(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMetricServiceClientMockRecorder) QueryWithTableFormat(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMetricServiceClientMockRecorder) SearchWithInfluxFormat(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMetricServiceClientMockRecorder) SearchWithTableFormat(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockMetricServiceServer
- func (m *MockMetricServiceServer) EXPECT() *MockMetricServiceServerMockRecorder
- func (m *MockMetricServiceServer) GeneralQuery(arg0 context.Context, arg1 *pb.GeneralQueryRequest) (*pb.GeneralQueryResponse, error)
- func (m *MockMetricServiceServer) GeneralSearch(arg0 context.Context, arg1 *pb.GeneralQueryRequest) (*pb.GeneralQueryResponse, error)
- func (m *MockMetricServiceServer) QueryWithInfluxFormat(arg0 context.Context, arg1 *pb.QueryWithInfluxFormatRequest) (*pb.QueryWithInfluxFormatResponse, error)
- func (m *MockMetricServiceServer) QueryWithTableFormat(arg0 context.Context, arg1 *pb.QueryWithTableFormatRequest) (*pb.QueryWithTableFormatResponse, error)
- func (m *MockMetricServiceServer) SearchWithInfluxFormat(arg0 context.Context, arg1 *pb.QueryWithInfluxFormatRequest) (*pb.QueryWithInfluxFormatResponse, error)
- func (m *MockMetricServiceServer) SearchWithTableFormat(arg0 context.Context, arg1 *pb.QueryWithTableFormatRequest) (*pb.QueryWithTableFormatResponse, error)
- type MockMetricServiceServerMockRecorder
- func (mr *MockMetricServiceServerMockRecorder) GeneralQuery(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMetricServiceServerMockRecorder) GeneralSearch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMetricServiceServerMockRecorder) QueryWithInfluxFormat(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMetricServiceServerMockRecorder) QueryWithTableFormat(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMetricServiceServerMockRecorder) SearchWithInfluxFormat(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMetricServiceServerMockRecorder) SearchWithTableFormat(arg0, arg1 interface{}) *gomock.Call
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 ¶
func (m *MockMetricServiceClient) EXPECT() *MockMetricServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMetricServiceClient) GeneralQuery ¶
func (m *MockMetricServiceClient) GeneralQuery(ctx context.Context, in *pb.GeneralQueryRequest, opts ...grpc.CallOption) (*pb.GeneralQueryResponse, error)
GeneralQuery mocks base method.
func (*MockMetricServiceClient) GeneralSearch ¶
func (m *MockMetricServiceClient) GeneralSearch(ctx context.Context, in *pb.GeneralQueryRequest, opts ...grpc.CallOption) (*pb.GeneralQueryResponse, error)
GeneralSearch mocks base method.
func (*MockMetricServiceClient) QueryWithInfluxFormat ¶
func (m *MockMetricServiceClient) QueryWithInfluxFormat(ctx context.Context, in *pb.QueryWithInfluxFormatRequest, opts ...grpc.CallOption) (*pb.QueryWithInfluxFormatResponse, error)
QueryWithInfluxFormat mocks base method.
func (*MockMetricServiceClient) QueryWithTableFormat ¶
func (m *MockMetricServiceClient) QueryWithTableFormat(ctx context.Context, in *pb.QueryWithTableFormatRequest, opts ...grpc.CallOption) (*pb.QueryWithTableFormatResponse, error)
QueryWithTableFormat mocks base method.
func (*MockMetricServiceClient) SearchWithInfluxFormat ¶
func (m *MockMetricServiceClient) SearchWithInfluxFormat(ctx context.Context, in *pb.QueryWithInfluxFormatRequest, opts ...grpc.CallOption) (*pb.QueryWithInfluxFormatResponse, error)
SearchWithInfluxFormat mocks base method.
func (*MockMetricServiceClient) SearchWithTableFormat ¶
func (m *MockMetricServiceClient) SearchWithTableFormat(ctx context.Context, in *pb.QueryWithTableFormatRequest, opts ...grpc.CallOption) (*pb.QueryWithTableFormatResponse, error)
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 ¶
func (m *MockMetricServiceServer) EXPECT() *MockMetricServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMetricServiceServer) GeneralQuery ¶
func (m *MockMetricServiceServer) GeneralQuery(arg0 context.Context, arg1 *pb.GeneralQueryRequest) (*pb.GeneralQueryResponse, error)
GeneralQuery mocks base method.
func (*MockMetricServiceServer) GeneralSearch ¶
func (m *MockMetricServiceServer) GeneralSearch(arg0 context.Context, arg1 *pb.GeneralQueryRequest) (*pb.GeneralQueryResponse, error)
GeneralSearch mocks base method.
func (*MockMetricServiceServer) QueryWithInfluxFormat ¶
func (m *MockMetricServiceServer) QueryWithInfluxFormat(arg0 context.Context, arg1 *pb.QueryWithInfluxFormatRequest) (*pb.QueryWithInfluxFormatResponse, error)
QueryWithInfluxFormat mocks base method.
func (*MockMetricServiceServer) QueryWithTableFormat ¶
func (m *MockMetricServiceServer) QueryWithTableFormat(arg0 context.Context, arg1 *pb.QueryWithTableFormatRequest) (*pb.QueryWithTableFormatResponse, error)
QueryWithTableFormat mocks base method.
func (*MockMetricServiceServer) SearchWithInfluxFormat ¶
func (m *MockMetricServiceServer) SearchWithInfluxFormat(arg0 context.Context, arg1 *pb.QueryWithInfluxFormatRequest) (*pb.QueryWithInfluxFormatResponse, error)
SearchWithInfluxFormat mocks base method.
func (*MockMetricServiceServer) SearchWithTableFormat ¶
func (m *MockMetricServiceServer) SearchWithTableFormat(arg0 context.Context, arg1 *pb.QueryWithTableFormatRequest) (*pb.QueryWithTableFormatResponse, error)
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.