mock_grpc

package
v0.0.0-...-fb963d0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2024 License: Apache-2.0, BSD-3-Clause, MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_grpc is a generated GoMock package.

Package mock_grpc is a generated GoMock package.

Package mock_grpc is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClientConnInterface

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

MockClientConnInterface is a mock of ClientConnInterface interface.

func NewMockClientConnInterface

func NewMockClientConnInterface(ctrl *gomock.Controller) *MockClientConnInterface

NewMockClientConnInterface creates a new mock instance.

func (*MockClientConnInterface) EXPECT

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

func (*MockClientConnInterface) Invoke

func (m *MockClientConnInterface) Invoke(arg0 context.Context, arg1 string, arg2, arg3 interface{}, arg4 ...grpc.CallOption) error

Invoke mocks base method.

func (*MockClientConnInterface) NewStream

func (m *MockClientConnInterface) NewStream(arg0 context.Context, arg1 *grpc.StreamDesc, arg2 string, arg3 ...grpc.CallOption) (grpc.ClientStream, error)

NewStream mocks base method.

type MockClientConnInterfaceMockRecorder

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

MockClientConnInterfaceMockRecorder is the mock recorder for MockClientConnInterface.

func (*MockClientConnInterfaceMockRecorder) Invoke

func (mr *MockClientConnInterfaceMockRecorder) Invoke(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call

Invoke indicates an expected call of Invoke.

func (*MockClientConnInterfaceMockRecorder) NewStream

func (mr *MockClientConnInterfaceMockRecorder) NewStream(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

NewStream indicates an expected call of NewStream.

type MockConnPool

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

MockConnPool is a mock of ConnPool interface.

func NewMockConnPool

func NewMockConnPool(ctrl *gomock.Controller) *MockConnPool

NewMockConnPool creates a new mock instance.

func (*MockConnPool) EXPECT

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

func (*MockConnPool) Get

Get mocks base method.

type MockConnPoolMockRecorder

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

MockConnPoolMockRecorder is the mock recorder for MockConnPool.

func (*MockConnPoolMockRecorder) Get

func (mr *MockConnPoolMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

type MockMessage

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

MockMessage is a mock of Message interface.

func NewMockMessage

func NewMockMessage(ctrl *gomock.Controller) *MockMessage

NewMockMessage creates a new mock instance.

func (*MockMessage) EXPECT

func (m *MockMessage) EXPECT() *MockMessageMockRecorder

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

func (*MockMessage) ProtoMessage

func (m *MockMessage) ProtoMessage()

ProtoMessage mocks base method.

func (*MockMessage) Reset

func (m *MockMessage) Reset()

Reset mocks base method.

func (*MockMessage) String

func (m *MockMessage) String() string

String mocks base method.

type MockMessageMockRecorder

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

MockMessageMockRecorder is the mock recorder for MockMessage.

func (*MockMessageMockRecorder) ProtoMessage

func (mr *MockMessageMockRecorder) ProtoMessage() *gomock.Call

ProtoMessage indicates an expected call of ProtoMessage.

func (*MockMessageMockRecorder) Reset

func (mr *MockMessageMockRecorder) Reset() *gomock.Call

Reset indicates an expected call of Reset.

func (*MockMessageMockRecorder) String

func (mr *MockMessageMockRecorder) String() *gomock.Call

String indicates an expected call of String.

Jump to

Keyboard shortcuts

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