Documentation ¶
Overview ¶
Package mock_api is a generated GoMock package.
Index ¶
- type MockInstructionClient
- func (m *MockInstructionClient) Command(arg0 context.Context, arg1 *api.CommandRequest, arg2 ...grpc.CallOption) (*api.CommandResponse, error)
- func (m *MockInstructionClient) Dismiss(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockInstructionClient) EXPECT() *MockInstructionClientMockRecorder
- func (m *MockInstructionClient) Script(arg0 context.Context, arg1 *api.ScriptRequest, arg2 ...grpc.CallOption) (*api.ScriptResponse, error)
- type MockInstructionClientMockRecorder
- func (mr *MockInstructionClientMockRecorder) Command(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockInstructionClientMockRecorder) Dismiss(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockInstructionClientMockRecorder) Script(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInstructionClient ¶
type MockInstructionClient struct {
// contains filtered or unexported fields
}
MockInstructionClient is a mock of InstructionClient interface.
func NewMockInstructionClient ¶
func NewMockInstructionClient(ctrl *gomock.Controller) *MockInstructionClient
NewMockInstructionClient creates a new mock instance.
func (*MockInstructionClient) Command ¶
func (m *MockInstructionClient) Command(arg0 context.Context, arg1 *api.CommandRequest, arg2 ...grpc.CallOption) (*api.CommandResponse, error)
Command mocks base method.
func (*MockInstructionClient) Dismiss ¶
func (m *MockInstructionClient) Dismiss(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
Dismiss mocks base method.
func (*MockInstructionClient) EXPECT ¶
func (m *MockInstructionClient) EXPECT() *MockInstructionClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInstructionClient) Script ¶
func (m *MockInstructionClient) Script(arg0 context.Context, arg1 *api.ScriptRequest, arg2 ...grpc.CallOption) (*api.ScriptResponse, error)
Script mocks base method.
type MockInstructionClientMockRecorder ¶
type MockInstructionClientMockRecorder struct {
// contains filtered or unexported fields
}
MockInstructionClientMockRecorder is the mock recorder for MockInstructionClient.
func (*MockInstructionClientMockRecorder) Command ¶
func (mr *MockInstructionClientMockRecorder) Command(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Command indicates an expected call of Command.
func (*MockInstructionClientMockRecorder) Dismiss ¶
func (mr *MockInstructionClientMockRecorder) Dismiss(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Dismiss indicates an expected call of Dismiss.
func (*MockInstructionClientMockRecorder) Script ¶
func (mr *MockInstructionClientMockRecorder) Script(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Script indicates an expected call of Script.
Click to show internal directories.
Click to hide internal directories.