Documentation ¶
Overview ¶
Package mock_proto is a generated GoMock package.
Index ¶
- type MockTaskManagerClient
- func (m *MockTaskManagerClient) EXPECT() *MockTaskManagerClientMockRecorder
- func (m *MockTaskManagerClient) GetTask(arg0 context.Context, arg1 *proto.GetTaskRequest, arg2 ...grpc.CallOption) (*proto.Task, error)
- func (m *MockTaskManagerClient) ListTasks(arg0 context.Context, arg1 *empty.Empty, arg2 ...grpc.CallOption) (proto.TaskManager_ListTasksClient, error)
- type MockTaskManagerClientMockRecorder
- type MockTaskManager_ListTasksClient
- func (m *MockTaskManager_ListTasksClient) CloseSend() error
- func (m *MockTaskManager_ListTasksClient) Context() context.Context
- func (m *MockTaskManager_ListTasksClient) EXPECT() *MockTaskManager_ListTasksClientMockRecorder
- func (m *MockTaskManager_ListTasksClient) Header() (metadata.MD, error)
- func (m *MockTaskManager_ListTasksClient) Recv() (*proto.Task, error)
- func (m *MockTaskManager_ListTasksClient) RecvMsg(arg0 interface{}) error
- func (m *MockTaskManager_ListTasksClient) SendMsg(arg0 interface{}) error
- func (m *MockTaskManager_ListTasksClient) Trailer() metadata.MD
- type MockTaskManager_ListTasksClientMockRecorder
- func (mr *MockTaskManager_ListTasksClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockTaskManager_ListTasksClientMockRecorder) Context() *gomock.Call
- func (mr *MockTaskManager_ListTasksClientMockRecorder) Header() *gomock.Call
- func (mr *MockTaskManager_ListTasksClientMockRecorder) Recv() *gomock.Call
- func (mr *MockTaskManager_ListTasksClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockTaskManager_ListTasksClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockTaskManager_ListTasksClientMockRecorder) Trailer() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTaskManagerClient ¶
type MockTaskManagerClient struct {
// contains filtered or unexported fields
}
MockTaskManagerClient is a mock of TaskManagerClient interface
func NewMockTaskManagerClient ¶
func NewMockTaskManagerClient(ctrl *gomock.Controller) *MockTaskManagerClient
NewMockTaskManagerClient creates a new mock instance
func (*MockTaskManagerClient) EXPECT ¶
func (m *MockTaskManagerClient) EXPECT() *MockTaskManagerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTaskManagerClient) GetTask ¶
func (m *MockTaskManagerClient) GetTask(arg0 context.Context, arg1 *proto.GetTaskRequest, arg2 ...grpc.CallOption) (*proto.Task, error)
GetTask mocks base method
func (*MockTaskManagerClient) ListTasks ¶
func (m *MockTaskManagerClient) ListTasks(arg0 context.Context, arg1 *empty.Empty, arg2 ...grpc.CallOption) (proto.TaskManager_ListTasksClient, error)
ListTasks mocks base method
type MockTaskManagerClientMockRecorder ¶
type MockTaskManagerClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTaskManagerClientMockRecorder is the mock recorder for MockTaskManagerClient
func (*MockTaskManagerClientMockRecorder) GetTask ¶
func (mr *MockTaskManagerClientMockRecorder) GetTask(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetTask indicates an expected call of GetTask
func (*MockTaskManagerClientMockRecorder) ListTasks ¶
func (mr *MockTaskManagerClientMockRecorder) ListTasks(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListTasks indicates an expected call of ListTasks
type MockTaskManager_ListTasksClient ¶
type MockTaskManager_ListTasksClient struct {
// contains filtered or unexported fields
}
MockTaskManager_ListTasksClient is a mock of TaskManager_ListTasksClient interface
func NewMockTaskManager_ListTasksClient ¶
func NewMockTaskManager_ListTasksClient(ctrl *gomock.Controller) *MockTaskManager_ListTasksClient
NewMockTaskManager_ListTasksClient creates a new mock instance
func (*MockTaskManager_ListTasksClient) CloseSend ¶
func (m *MockTaskManager_ListTasksClient) CloseSend() error
CloseSend mocks base method
func (*MockTaskManager_ListTasksClient) Context ¶
func (m *MockTaskManager_ListTasksClient) Context() context.Context
Context mocks base method
func (*MockTaskManager_ListTasksClient) EXPECT ¶
func (m *MockTaskManager_ListTasksClient) EXPECT() *MockTaskManager_ListTasksClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTaskManager_ListTasksClient) Header ¶
func (m *MockTaskManager_ListTasksClient) Header() (metadata.MD, error)
Header mocks base method
func (*MockTaskManager_ListTasksClient) Recv ¶
func (m *MockTaskManager_ListTasksClient) Recv() (*proto.Task, error)
Recv mocks base method
func (*MockTaskManager_ListTasksClient) RecvMsg ¶
func (m *MockTaskManager_ListTasksClient) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method
func (*MockTaskManager_ListTasksClient) SendMsg ¶
func (m *MockTaskManager_ListTasksClient) SendMsg(arg0 interface{}) error
SendMsg mocks base method
func (*MockTaskManager_ListTasksClient) Trailer ¶
func (m *MockTaskManager_ListTasksClient) Trailer() metadata.MD
Trailer mocks base method
type MockTaskManager_ListTasksClientMockRecorder ¶
type MockTaskManager_ListTasksClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTaskManager_ListTasksClientMockRecorder is the mock recorder for MockTaskManager_ListTasksClient
func (*MockTaskManager_ListTasksClientMockRecorder) CloseSend ¶
func (mr *MockTaskManager_ListTasksClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend
func (*MockTaskManager_ListTasksClientMockRecorder) Context ¶
func (mr *MockTaskManager_ListTasksClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockTaskManager_ListTasksClientMockRecorder) Header ¶
func (mr *MockTaskManager_ListTasksClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header
func (*MockTaskManager_ListTasksClientMockRecorder) Recv ¶
func (mr *MockTaskManager_ListTasksClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv
func (*MockTaskManager_ListTasksClientMockRecorder) RecvMsg ¶
func (mr *MockTaskManager_ListTasksClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockTaskManager_ListTasksClientMockRecorder) SendMsg ¶
func (mr *MockTaskManager_ListTasksClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg
func (*MockTaskManager_ListTasksClientMockRecorder) Trailer ¶
func (mr *MockTaskManager_ListTasksClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer