Documentation
¶
Overview ¶
Package enginemocks is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) CreateSkippedTask(ctx context.Context, processInstId int, nodeId, prevNodeId, comment string, ...) error
- func (m *MockService) DeleteProxyNodeByNodeId(ctx context.Context, processInstId int, nodeId string) error
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) ForceUpdateIsFinishedByNodeId(ctx context.Context, processInstId int, nodeId string, status int, ...) error
- func (m *MockService) ForceUpdateIsFinishedByPreNodeId(ctx context.Context, processInstId int, nodeId string, status int, ...) error
- func (m *MockService) GetAutomationTask(ctx context.Context, currentNodeId string, processInstId int) (model.Task, error)
- func (m *MockService) GetInstanceByID(ctx context.Context, processInstId int) (domain.Instance, error)
- func (m *MockService) GetLatestProcessVersion(ctx context.Context, processID int) (int, error)
- func (m *MockService) GetOrderIdByVariable(ctx context.Context, processInstId int) (string, error)
- func (m *MockService) GetProcessDefineByVersion(ctx context.Context, processID, version int) (model.Process, error)
- func (m *MockService) GetProxyNodeByProcessInstId(ctx context.Context, processInstId int) (string, error)
- func (m *MockService) GetProxyPrevNodeID(ctx context.Context, processInstId int, prevNodeID string) (string, error)
- func (m *MockService) GetProxyTaskByProcessInstId(ctx context.Context, processInstId int) (model.Task, error)
- func (m *MockService) GetTasksByCurrentNodeId(ctx context.Context, processInstId int, currentNodeId string) ([]model.Task, error)
- func (m *MockService) GetTasksByInstUsers(ctx context.Context, processInstId int, userIds []string) ([]model.Task, error)
- func (m *MockService) GetTraversedEdges(ctx context.Context, records []model.Task, processInstId, processId int, ...) (map[string][]string, error)
- func (m *MockService) IsReject(ctx context.Context, taskId int) (bool, error)
- func (m *MockService) ListByStartUser(ctx context.Context, userId, processName string, offset, limit int) ([]domain.Instance, int64, error)
- func (m *MockService) ListPendingStepsOfMyTask(ctx context.Context, processInstIds []int, starter string) ([]domain.Instance, error)
- func (m *MockService) ListTodoTasks(ctx context.Context, userId, processName string, sortByAse bool, ...) ([]domain.Instance, int64, error)
- func (m *MockService) Pass(ctx context.Context, taskId int, comment string) error
- func (m *MockService) TaskInfo(ctx context.Context, taskId int) (model.Task, error)
- func (m *MockService) TaskRecord(ctx context.Context, processInstId, offset, limit int) ([]model.Task, int64, error)
- func (m *MockService) UpdateIsFinishedByPreNodeId(ctx context.Context, processInstId int, nodeId string, status int, ...) error
- func (m *MockService) UpdateTaskPrevNodeID(ctx context.Context, taskId int, prevNodeId string) error
- func (m *MockService) Upstream(ctx context.Context, taskId int) ([]model.Node, error)
- type MockServiceCreateSkippedTaskCall
- func (c *MockServiceCreateSkippedTaskCall) Do(f func(context.Context, int, string, string, string, uint8) error) *MockServiceCreateSkippedTaskCall
- func (c *MockServiceCreateSkippedTaskCall) DoAndReturn(f func(context.Context, int, string, string, string, uint8) error) *MockServiceCreateSkippedTaskCall
- func (c *MockServiceCreateSkippedTaskCall) Return(arg0 error) *MockServiceCreateSkippedTaskCall
- type MockServiceDeleteProxyNodeByNodeIdCall
- func (c *MockServiceDeleteProxyNodeByNodeIdCall) Do(f func(context.Context, int, string) error) *MockServiceDeleteProxyNodeByNodeIdCall
- func (c *MockServiceDeleteProxyNodeByNodeIdCall) DoAndReturn(f func(context.Context, int, string) error) *MockServiceDeleteProxyNodeByNodeIdCall
- func (c *MockServiceDeleteProxyNodeByNodeIdCall) Return(arg0 error) *MockServiceDeleteProxyNodeByNodeIdCall
- type MockServiceForceUpdateIsFinishedByNodeIdCall
- func (c *MockServiceForceUpdateIsFinishedByNodeIdCall) Do(f func(context.Context, int, string, int, string) error) *MockServiceForceUpdateIsFinishedByNodeIdCall
- func (c *MockServiceForceUpdateIsFinishedByNodeIdCall) DoAndReturn(f func(context.Context, int, string, int, string) error) *MockServiceForceUpdateIsFinishedByNodeIdCall
- func (c *MockServiceForceUpdateIsFinishedByNodeIdCall) Return(arg0 error) *MockServiceForceUpdateIsFinishedByNodeIdCall
- type MockServiceForceUpdateIsFinishedByPreNodeIdCall
- func (c *MockServiceForceUpdateIsFinishedByPreNodeIdCall) Do(f func(context.Context, int, string, int, string) error) *MockServiceForceUpdateIsFinishedByPreNodeIdCall
- func (c *MockServiceForceUpdateIsFinishedByPreNodeIdCall) DoAndReturn(f func(context.Context, int, string, int, string) error) *MockServiceForceUpdateIsFinishedByPreNodeIdCall
- func (c *MockServiceForceUpdateIsFinishedByPreNodeIdCall) Return(arg0 error) *MockServiceForceUpdateIsFinishedByPreNodeIdCall
- type MockServiceGetAutomationTaskCall
- func (c *MockServiceGetAutomationTaskCall) Do(f func(context.Context, string, int) (model.Task, error)) *MockServiceGetAutomationTaskCall
- func (c *MockServiceGetAutomationTaskCall) DoAndReturn(f func(context.Context, string, int) (model.Task, error)) *MockServiceGetAutomationTaskCall
- func (c *MockServiceGetAutomationTaskCall) Return(arg0 model.Task, arg1 error) *MockServiceGetAutomationTaskCall
- type MockServiceGetInstanceByIDCall
- func (c *MockServiceGetInstanceByIDCall) Do(f func(context.Context, int) (domain.Instance, error)) *MockServiceGetInstanceByIDCall
- func (c *MockServiceGetInstanceByIDCall) DoAndReturn(f func(context.Context, int) (domain.Instance, error)) *MockServiceGetInstanceByIDCall
- func (c *MockServiceGetInstanceByIDCall) Return(arg0 domain.Instance, arg1 error) *MockServiceGetInstanceByIDCall
- type MockServiceGetLatestProcessVersionCall
- func (c *MockServiceGetLatestProcessVersionCall) Do(f func(context.Context, int) (int, error)) *MockServiceGetLatestProcessVersionCall
- func (c *MockServiceGetLatestProcessVersionCall) DoAndReturn(f func(context.Context, int) (int, error)) *MockServiceGetLatestProcessVersionCall
- func (c *MockServiceGetLatestProcessVersionCall) Return(arg0 int, arg1 error) *MockServiceGetLatestProcessVersionCall
- type MockServiceGetOrderIdByVariableCall
- func (c *MockServiceGetOrderIdByVariableCall) Do(f func(context.Context, int) (string, error)) *MockServiceGetOrderIdByVariableCall
- func (c *MockServiceGetOrderIdByVariableCall) DoAndReturn(f func(context.Context, int) (string, error)) *MockServiceGetOrderIdByVariableCall
- func (c *MockServiceGetOrderIdByVariableCall) Return(arg0 string, arg1 error) *MockServiceGetOrderIdByVariableCall
- type MockServiceGetProcessDefineByVersionCall
- func (c *MockServiceGetProcessDefineByVersionCall) Do(f func(context.Context, int, int) (model.Process, error)) *MockServiceGetProcessDefineByVersionCall
- func (c *MockServiceGetProcessDefineByVersionCall) DoAndReturn(f func(context.Context, int, int) (model.Process, error)) *MockServiceGetProcessDefineByVersionCall
- func (c *MockServiceGetProcessDefineByVersionCall) Return(arg0 model.Process, arg1 error) *MockServiceGetProcessDefineByVersionCall
- type MockServiceGetProxyNodeByProcessInstIdCall
- func (c *MockServiceGetProxyNodeByProcessInstIdCall) Do(f func(context.Context, int) (string, error)) *MockServiceGetProxyNodeByProcessInstIdCall
- func (c *MockServiceGetProxyNodeByProcessInstIdCall) DoAndReturn(f func(context.Context, int) (string, error)) *MockServiceGetProxyNodeByProcessInstIdCall
- func (c *MockServiceGetProxyNodeByProcessInstIdCall) Return(arg0 string, arg1 error) *MockServiceGetProxyNodeByProcessInstIdCall
- type MockServiceGetProxyPrevNodeIDCall
- func (c *MockServiceGetProxyPrevNodeIDCall) Do(f func(context.Context, int, string) (string, error)) *MockServiceGetProxyPrevNodeIDCall
- func (c *MockServiceGetProxyPrevNodeIDCall) DoAndReturn(f func(context.Context, int, string) (string, error)) *MockServiceGetProxyPrevNodeIDCall
- func (c *MockServiceGetProxyPrevNodeIDCall) Return(arg0 string, arg1 error) *MockServiceGetProxyPrevNodeIDCall
- type MockServiceGetProxyTaskByProcessInstIdCall
- func (c *MockServiceGetProxyTaskByProcessInstIdCall) Do(f func(context.Context, int) (model.Task, error)) *MockServiceGetProxyTaskByProcessInstIdCall
- func (c *MockServiceGetProxyTaskByProcessInstIdCall) DoAndReturn(f func(context.Context, int) (model.Task, error)) *MockServiceGetProxyTaskByProcessInstIdCall
- func (c *MockServiceGetProxyTaskByProcessInstIdCall) Return(arg0 model.Task, arg1 error) *MockServiceGetProxyTaskByProcessInstIdCall
- type MockServiceGetTasksByCurrentNodeIdCall
- func (c *MockServiceGetTasksByCurrentNodeIdCall) Do(f func(context.Context, int, string) ([]model.Task, error)) *MockServiceGetTasksByCurrentNodeIdCall
- func (c *MockServiceGetTasksByCurrentNodeIdCall) DoAndReturn(f func(context.Context, int, string) ([]model.Task, error)) *MockServiceGetTasksByCurrentNodeIdCall
- func (c *MockServiceGetTasksByCurrentNodeIdCall) Return(arg0 []model.Task, arg1 error) *MockServiceGetTasksByCurrentNodeIdCall
- type MockServiceGetTasksByInstUsersCall
- func (c *MockServiceGetTasksByInstUsersCall) Do(f func(context.Context, int, []string) ([]model.Task, error)) *MockServiceGetTasksByInstUsersCall
- func (c *MockServiceGetTasksByInstUsersCall) DoAndReturn(f func(context.Context, int, []string) ([]model.Task, error)) *MockServiceGetTasksByInstUsersCall
- func (c *MockServiceGetTasksByInstUsersCall) Return(arg0 []model.Task, arg1 error) *MockServiceGetTasksByInstUsersCall
- type MockServiceGetTraversedEdgesCall
- func (c *MockServiceGetTraversedEdgesCall) Do(...) *MockServiceGetTraversedEdgesCall
- func (c *MockServiceGetTraversedEdgesCall) DoAndReturn(...) *MockServiceGetTraversedEdgesCall
- func (c *MockServiceGetTraversedEdgesCall) Return(arg0 map[string][]string, arg1 error) *MockServiceGetTraversedEdgesCall
- type MockServiceIsRejectCall
- func (c *MockServiceIsRejectCall) Do(f func(context.Context, int) (bool, error)) *MockServiceIsRejectCall
- func (c *MockServiceIsRejectCall) DoAndReturn(f func(context.Context, int) (bool, error)) *MockServiceIsRejectCall
- func (c *MockServiceIsRejectCall) Return(arg0 bool, arg1 error) *MockServiceIsRejectCall
- type MockServiceListByStartUserCall
- type MockServiceListPendingStepsOfMyTaskCall
- func (c *MockServiceListPendingStepsOfMyTaskCall) Do(f func(context.Context, []int, string) ([]domain.Instance, error)) *MockServiceListPendingStepsOfMyTaskCall
- func (c *MockServiceListPendingStepsOfMyTaskCall) DoAndReturn(f func(context.Context, []int, string) ([]domain.Instance, error)) *MockServiceListPendingStepsOfMyTaskCall
- func (c *MockServiceListPendingStepsOfMyTaskCall) Return(arg0 []domain.Instance, arg1 error) *MockServiceListPendingStepsOfMyTaskCall
- type MockServiceListTodoTasksCall
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) CreateSkippedTask(ctx, processInstId, nodeId, prevNodeId, comment, status any) *MockServiceCreateSkippedTaskCall
- func (mr *MockServiceMockRecorder) DeleteProxyNodeByNodeId(ctx, processInstId, nodeId any) *MockServiceDeleteProxyNodeByNodeIdCall
- func (mr *MockServiceMockRecorder) ForceUpdateIsFinishedByNodeId(ctx, processInstId, nodeId, status, comment any) *MockServiceForceUpdateIsFinishedByNodeIdCall
- func (mr *MockServiceMockRecorder) ForceUpdateIsFinishedByPreNodeId(ctx, processInstId, nodeId, status, comment any) *MockServiceForceUpdateIsFinishedByPreNodeIdCall
- func (mr *MockServiceMockRecorder) GetAutomationTask(ctx, currentNodeId, processInstId any) *MockServiceGetAutomationTaskCall
- func (mr *MockServiceMockRecorder) GetInstanceByID(ctx, processInstId any) *MockServiceGetInstanceByIDCall
- func (mr *MockServiceMockRecorder) GetLatestProcessVersion(ctx, processID any) *MockServiceGetLatestProcessVersionCall
- func (mr *MockServiceMockRecorder) GetOrderIdByVariable(ctx, processInstId any) *MockServiceGetOrderIdByVariableCall
- func (mr *MockServiceMockRecorder) GetProcessDefineByVersion(ctx, processID, version any) *MockServiceGetProcessDefineByVersionCall
- func (mr *MockServiceMockRecorder) GetProxyNodeByProcessInstId(ctx, processInstId any) *MockServiceGetProxyNodeByProcessInstIdCall
- func (mr *MockServiceMockRecorder) GetProxyPrevNodeID(ctx, processInstId, prevNodeID any) *MockServiceGetProxyPrevNodeIDCall
- func (mr *MockServiceMockRecorder) GetProxyTaskByProcessInstId(ctx, processInstId any) *MockServiceGetProxyTaskByProcessInstIdCall
- func (mr *MockServiceMockRecorder) GetTasksByCurrentNodeId(ctx, processInstId, currentNodeId any) *MockServiceGetTasksByCurrentNodeIdCall
- func (mr *MockServiceMockRecorder) GetTasksByInstUsers(ctx, processInstId, userIds any) *MockServiceGetTasksByInstUsersCall
- func (mr *MockServiceMockRecorder) GetTraversedEdges(ctx, records, processInstId, processId, status any) *MockServiceGetTraversedEdgesCall
- func (mr *MockServiceMockRecorder) IsReject(ctx, taskId any) *MockServiceIsRejectCall
- func (mr *MockServiceMockRecorder) ListByStartUser(ctx, userId, processName, offset, limit any) *MockServiceListByStartUserCall
- func (mr *MockServiceMockRecorder) ListPendingStepsOfMyTask(ctx, processInstIds, starter any) *MockServiceListPendingStepsOfMyTaskCall
- func (mr *MockServiceMockRecorder) ListTodoTasks(ctx, userId, processName, sortByAse, offset, limit any) *MockServiceListTodoTasksCall
- func (mr *MockServiceMockRecorder) Pass(ctx, taskId, comment any) *MockServicePassCall
- func (mr *MockServiceMockRecorder) TaskInfo(ctx, taskId any) *MockServiceTaskInfoCall
- func (mr *MockServiceMockRecorder) TaskRecord(ctx, processInstId, offset, limit any) *MockServiceTaskRecordCall
- func (mr *MockServiceMockRecorder) UpdateIsFinishedByPreNodeId(ctx, processInstId, nodeId, status, comment any) *MockServiceUpdateIsFinishedByPreNodeIdCall
- func (mr *MockServiceMockRecorder) UpdateTaskPrevNodeID(ctx, taskId, prevNodeId any) *MockServiceUpdateTaskPrevNodeIDCall
- func (mr *MockServiceMockRecorder) Upstream(ctx, taskId any) *MockServiceUpstreamCall
- type MockServicePassCall
- type MockServiceTaskInfoCall
- func (c *MockServiceTaskInfoCall) Do(f func(context.Context, int) (model.Task, error)) *MockServiceTaskInfoCall
- func (c *MockServiceTaskInfoCall) DoAndReturn(f func(context.Context, int) (model.Task, error)) *MockServiceTaskInfoCall
- func (c *MockServiceTaskInfoCall) Return(arg0 model.Task, arg1 error) *MockServiceTaskInfoCall
- type MockServiceTaskRecordCall
- func (c *MockServiceTaskRecordCall) Do(f func(context.Context, int, int, int) ([]model.Task, int64, error)) *MockServiceTaskRecordCall
- func (c *MockServiceTaskRecordCall) DoAndReturn(f func(context.Context, int, int, int) ([]model.Task, int64, error)) *MockServiceTaskRecordCall
- func (c *MockServiceTaskRecordCall) Return(arg0 []model.Task, arg1 int64, arg2 error) *MockServiceTaskRecordCall
- type MockServiceUpdateIsFinishedByPreNodeIdCall
- func (c *MockServiceUpdateIsFinishedByPreNodeIdCall) Do(f func(context.Context, int, string, int, string) error) *MockServiceUpdateIsFinishedByPreNodeIdCall
- func (c *MockServiceUpdateIsFinishedByPreNodeIdCall) DoAndReturn(f func(context.Context, int, string, int, string) error) *MockServiceUpdateIsFinishedByPreNodeIdCall
- func (c *MockServiceUpdateIsFinishedByPreNodeIdCall) Return(arg0 error) *MockServiceUpdateIsFinishedByPreNodeIdCall
- type MockServiceUpdateTaskPrevNodeIDCall
- func (c *MockServiceUpdateTaskPrevNodeIDCall) Do(f func(context.Context, int, string) error) *MockServiceUpdateTaskPrevNodeIDCall
- func (c *MockServiceUpdateTaskPrevNodeIDCall) DoAndReturn(f func(context.Context, int, string) error) *MockServiceUpdateTaskPrevNodeIDCall
- func (c *MockServiceUpdateTaskPrevNodeIDCall) Return(arg0 error) *MockServiceUpdateTaskPrevNodeIDCall
- type MockServiceUpstreamCall
- func (c *MockServiceUpstreamCall) Do(f func(context.Context, int) ([]model.Node, error)) *MockServiceUpstreamCall
- func (c *MockServiceUpstreamCall) DoAndReturn(f func(context.Context, int) ([]model.Node, error)) *MockServiceUpstreamCall
- func (c *MockServiceUpstreamCall) Return(arg0 []model.Node, arg1 error) *MockServiceUpstreamCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) CreateSkippedTask ¶
func (m *MockService) CreateSkippedTask(ctx context.Context, processInstId int, nodeId, prevNodeId, comment string, status uint8) error
CreateSkippedTask mocks base method.
func (*MockService) DeleteProxyNodeByNodeId ¶
func (m *MockService) DeleteProxyNodeByNodeId(ctx context.Context, processInstId int, nodeId string) error
DeleteProxyNodeByNodeId mocks base method.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) ForceUpdateIsFinishedByNodeId ¶
func (m *MockService) ForceUpdateIsFinishedByNodeId(ctx context.Context, processInstId int, nodeId string, status int, comment string) error
ForceUpdateIsFinishedByNodeId mocks base method.
func (*MockService) ForceUpdateIsFinishedByPreNodeId ¶
func (m *MockService) ForceUpdateIsFinishedByPreNodeId(ctx context.Context, processInstId int, nodeId string, status int, comment string) error
ForceUpdateIsFinishedByPreNodeId mocks base method.
func (*MockService) GetAutomationTask ¶
func (m *MockService) GetAutomationTask(ctx context.Context, currentNodeId string, processInstId int) (model.Task, error)
GetAutomationTask mocks base method.
func (*MockService) GetInstanceByID ¶
func (m *MockService) GetInstanceByID(ctx context.Context, processInstId int) (domain.Instance, error)
GetInstanceByID mocks base method.
func (*MockService) GetLatestProcessVersion ¶
GetLatestProcessVersion mocks base method.
func (*MockService) GetOrderIdByVariable ¶
GetOrderIdByVariable mocks base method.
func (*MockService) GetProcessDefineByVersion ¶
func (m *MockService) GetProcessDefineByVersion(ctx context.Context, processID, version int) (model.Process, error)
GetProcessDefineByVersion mocks base method.
func (*MockService) GetProxyNodeByProcessInstId ¶
func (m *MockService) GetProxyNodeByProcessInstId(ctx context.Context, processInstId int) (string, error)
GetProxyNodeByProcessInstId mocks base method.
func (*MockService) GetProxyPrevNodeID ¶
func (m *MockService) GetProxyPrevNodeID(ctx context.Context, processInstId int, prevNodeID string) (string, error)
GetProxyPrevNodeID mocks base method.
func (*MockService) GetProxyTaskByProcessInstId ¶
func (m *MockService) GetProxyTaskByProcessInstId(ctx context.Context, processInstId int) (model.Task, error)
GetProxyTaskByProcessInstId mocks base method.
func (*MockService) GetTasksByCurrentNodeId ¶
func (m *MockService) GetTasksByCurrentNodeId(ctx context.Context, processInstId int, currentNodeId string) ([]model.Task, error)
GetTasksByCurrentNodeId mocks base method.
func (*MockService) GetTasksByInstUsers ¶
func (m *MockService) GetTasksByInstUsers(ctx context.Context, processInstId int, userIds []string) ([]model.Task, error)
GetTasksByInstUsers mocks base method.
func (*MockService) GetTraversedEdges ¶
func (m *MockService) GetTraversedEdges(ctx context.Context, records []model.Task, processInstId, processId int, status uint8) (map[string][]string, error)
GetTraversedEdges mocks base method.
func (*MockService) ListByStartUser ¶
func (m *MockService) ListByStartUser(ctx context.Context, userId, processName string, offset, limit int) ([]domain.Instance, int64, error)
ListByStartUser mocks base method.
func (*MockService) ListPendingStepsOfMyTask ¶
func (m *MockService) ListPendingStepsOfMyTask(ctx context.Context, processInstIds []int, starter string) ([]domain.Instance, error)
ListPendingStepsOfMyTask mocks base method.
func (*MockService) ListTodoTasks ¶
func (m *MockService) ListTodoTasks(ctx context.Context, userId, processName string, sortByAse bool, offset, limit int) ([]domain.Instance, int64, error)
ListTodoTasks mocks base method.
func (*MockService) TaskRecord ¶
func (m *MockService) TaskRecord(ctx context.Context, processInstId, offset, limit int) ([]model.Task, int64, error)
TaskRecord mocks base method.
func (*MockService) UpdateIsFinishedByPreNodeId ¶
func (m *MockService) UpdateIsFinishedByPreNodeId(ctx context.Context, processInstId int, nodeId string, status int, comment string) error
UpdateIsFinishedByPreNodeId mocks base method.
func (*MockService) UpdateTaskPrevNodeID ¶
func (m *MockService) UpdateTaskPrevNodeID(ctx context.Context, taskId int, prevNodeId string) error
UpdateTaskPrevNodeID mocks base method.
type MockServiceCreateSkippedTaskCall ¶
MockServiceCreateSkippedTaskCall wrap *gomock.Call
func (*MockServiceCreateSkippedTaskCall) Do ¶
func (c *MockServiceCreateSkippedTaskCall) Do(f func(context.Context, int, string, string, string, uint8) error) *MockServiceCreateSkippedTaskCall
Do rewrite *gomock.Call.Do
func (*MockServiceCreateSkippedTaskCall) DoAndReturn ¶
func (c *MockServiceCreateSkippedTaskCall) DoAndReturn(f func(context.Context, int, string, string, string, uint8) error) *MockServiceCreateSkippedTaskCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceCreateSkippedTaskCall) Return ¶
func (c *MockServiceCreateSkippedTaskCall) Return(arg0 error) *MockServiceCreateSkippedTaskCall
Return rewrite *gomock.Call.Return
type MockServiceDeleteProxyNodeByNodeIdCall ¶
MockServiceDeleteProxyNodeByNodeIdCall wrap *gomock.Call
func (*MockServiceDeleteProxyNodeByNodeIdCall) Do ¶
func (c *MockServiceDeleteProxyNodeByNodeIdCall) Do(f func(context.Context, int, string) error) *MockServiceDeleteProxyNodeByNodeIdCall
Do rewrite *gomock.Call.Do
func (*MockServiceDeleteProxyNodeByNodeIdCall) DoAndReturn ¶
func (c *MockServiceDeleteProxyNodeByNodeIdCall) DoAndReturn(f func(context.Context, int, string) error) *MockServiceDeleteProxyNodeByNodeIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceDeleteProxyNodeByNodeIdCall) Return ¶
func (c *MockServiceDeleteProxyNodeByNodeIdCall) Return(arg0 error) *MockServiceDeleteProxyNodeByNodeIdCall
Return rewrite *gomock.Call.Return
type MockServiceForceUpdateIsFinishedByNodeIdCall ¶
MockServiceForceUpdateIsFinishedByNodeIdCall wrap *gomock.Call
func (*MockServiceForceUpdateIsFinishedByNodeIdCall) Do ¶
func (c *MockServiceForceUpdateIsFinishedByNodeIdCall) Do(f func(context.Context, int, string, int, string) error) *MockServiceForceUpdateIsFinishedByNodeIdCall
Do rewrite *gomock.Call.Do
func (*MockServiceForceUpdateIsFinishedByNodeIdCall) DoAndReturn ¶
func (c *MockServiceForceUpdateIsFinishedByNodeIdCall) DoAndReturn(f func(context.Context, int, string, int, string) error) *MockServiceForceUpdateIsFinishedByNodeIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceForceUpdateIsFinishedByNodeIdCall) Return ¶
func (c *MockServiceForceUpdateIsFinishedByNodeIdCall) Return(arg0 error) *MockServiceForceUpdateIsFinishedByNodeIdCall
Return rewrite *gomock.Call.Return
type MockServiceForceUpdateIsFinishedByPreNodeIdCall ¶
MockServiceForceUpdateIsFinishedByPreNodeIdCall wrap *gomock.Call
func (*MockServiceForceUpdateIsFinishedByPreNodeIdCall) Do ¶
func (c *MockServiceForceUpdateIsFinishedByPreNodeIdCall) Do(f func(context.Context, int, string, int, string) error) *MockServiceForceUpdateIsFinishedByPreNodeIdCall
Do rewrite *gomock.Call.Do
func (*MockServiceForceUpdateIsFinishedByPreNodeIdCall) DoAndReturn ¶
func (c *MockServiceForceUpdateIsFinishedByPreNodeIdCall) DoAndReturn(f func(context.Context, int, string, int, string) error) *MockServiceForceUpdateIsFinishedByPreNodeIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceForceUpdateIsFinishedByPreNodeIdCall) Return ¶
func (c *MockServiceForceUpdateIsFinishedByPreNodeIdCall) Return(arg0 error) *MockServiceForceUpdateIsFinishedByPreNodeIdCall
Return rewrite *gomock.Call.Return
type MockServiceGetAutomationTaskCall ¶
MockServiceGetAutomationTaskCall wrap *gomock.Call
func (*MockServiceGetAutomationTaskCall) Do ¶
func (c *MockServiceGetAutomationTaskCall) Do(f func(context.Context, string, int) (model.Task, error)) *MockServiceGetAutomationTaskCall
Do rewrite *gomock.Call.Do
func (*MockServiceGetAutomationTaskCall) DoAndReturn ¶
func (c *MockServiceGetAutomationTaskCall) DoAndReturn(f func(context.Context, string, int) (model.Task, error)) *MockServiceGetAutomationTaskCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceGetAutomationTaskCall) Return ¶
func (c *MockServiceGetAutomationTaskCall) Return(arg0 model.Task, arg1 error) *MockServiceGetAutomationTaskCall
Return rewrite *gomock.Call.Return
type MockServiceGetInstanceByIDCall ¶
MockServiceGetInstanceByIDCall wrap *gomock.Call
func (*MockServiceGetInstanceByIDCall) Do ¶
func (c *MockServiceGetInstanceByIDCall) Do(f func(context.Context, int) (domain.Instance, error)) *MockServiceGetInstanceByIDCall
Do rewrite *gomock.Call.Do
func (*MockServiceGetInstanceByIDCall) DoAndReturn ¶
func (c *MockServiceGetInstanceByIDCall) DoAndReturn(f func(context.Context, int) (domain.Instance, error)) *MockServiceGetInstanceByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceGetInstanceByIDCall) Return ¶
func (c *MockServiceGetInstanceByIDCall) Return(arg0 domain.Instance, arg1 error) *MockServiceGetInstanceByIDCall
Return rewrite *gomock.Call.Return
type MockServiceGetLatestProcessVersionCall ¶
MockServiceGetLatestProcessVersionCall wrap *gomock.Call
func (*MockServiceGetLatestProcessVersionCall) Do ¶
func (c *MockServiceGetLatestProcessVersionCall) Do(f func(context.Context, int) (int, error)) *MockServiceGetLatestProcessVersionCall
Do rewrite *gomock.Call.Do
func (*MockServiceGetLatestProcessVersionCall) DoAndReturn ¶
func (c *MockServiceGetLatestProcessVersionCall) DoAndReturn(f func(context.Context, int) (int, error)) *MockServiceGetLatestProcessVersionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceGetLatestProcessVersionCall) Return ¶
func (c *MockServiceGetLatestProcessVersionCall) Return(arg0 int, arg1 error) *MockServiceGetLatestProcessVersionCall
Return rewrite *gomock.Call.Return
type MockServiceGetOrderIdByVariableCall ¶
MockServiceGetOrderIdByVariableCall wrap *gomock.Call
func (*MockServiceGetOrderIdByVariableCall) Do ¶
func (c *MockServiceGetOrderIdByVariableCall) Do(f func(context.Context, int) (string, error)) *MockServiceGetOrderIdByVariableCall
Do rewrite *gomock.Call.Do
func (*MockServiceGetOrderIdByVariableCall) DoAndReturn ¶
func (c *MockServiceGetOrderIdByVariableCall) DoAndReturn(f func(context.Context, int) (string, error)) *MockServiceGetOrderIdByVariableCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceGetOrderIdByVariableCall) Return ¶
func (c *MockServiceGetOrderIdByVariableCall) Return(arg0 string, arg1 error) *MockServiceGetOrderIdByVariableCall
Return rewrite *gomock.Call.Return
type MockServiceGetProcessDefineByVersionCall ¶
MockServiceGetProcessDefineByVersionCall wrap *gomock.Call
func (*MockServiceGetProcessDefineByVersionCall) Do ¶
func (c *MockServiceGetProcessDefineByVersionCall) Do(f func(context.Context, int, int) (model.Process, error)) *MockServiceGetProcessDefineByVersionCall
Do rewrite *gomock.Call.Do
func (*MockServiceGetProcessDefineByVersionCall) DoAndReturn ¶
func (c *MockServiceGetProcessDefineByVersionCall) DoAndReturn(f func(context.Context, int, int) (model.Process, error)) *MockServiceGetProcessDefineByVersionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceGetProcessDefineByVersionCall) Return ¶
func (c *MockServiceGetProcessDefineByVersionCall) Return(arg0 model.Process, arg1 error) *MockServiceGetProcessDefineByVersionCall
Return rewrite *gomock.Call.Return
type MockServiceGetProxyNodeByProcessInstIdCall ¶
MockServiceGetProxyNodeByProcessInstIdCall wrap *gomock.Call
func (*MockServiceGetProxyNodeByProcessInstIdCall) Do ¶
func (c *MockServiceGetProxyNodeByProcessInstIdCall) Do(f func(context.Context, int) (string, error)) *MockServiceGetProxyNodeByProcessInstIdCall
Do rewrite *gomock.Call.Do
func (*MockServiceGetProxyNodeByProcessInstIdCall) DoAndReturn ¶
func (c *MockServiceGetProxyNodeByProcessInstIdCall) DoAndReturn(f func(context.Context, int) (string, error)) *MockServiceGetProxyNodeByProcessInstIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceGetProxyNodeByProcessInstIdCall) Return ¶
func (c *MockServiceGetProxyNodeByProcessInstIdCall) Return(arg0 string, arg1 error) *MockServiceGetProxyNodeByProcessInstIdCall
Return rewrite *gomock.Call.Return
type MockServiceGetProxyPrevNodeIDCall ¶
MockServiceGetProxyPrevNodeIDCall wrap *gomock.Call
func (*MockServiceGetProxyPrevNodeIDCall) Do ¶
func (c *MockServiceGetProxyPrevNodeIDCall) Do(f func(context.Context, int, string) (string, error)) *MockServiceGetProxyPrevNodeIDCall
Do rewrite *gomock.Call.Do
func (*MockServiceGetProxyPrevNodeIDCall) DoAndReturn ¶
func (c *MockServiceGetProxyPrevNodeIDCall) DoAndReturn(f func(context.Context, int, string) (string, error)) *MockServiceGetProxyPrevNodeIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceGetProxyPrevNodeIDCall) Return ¶
func (c *MockServiceGetProxyPrevNodeIDCall) Return(arg0 string, arg1 error) *MockServiceGetProxyPrevNodeIDCall
Return rewrite *gomock.Call.Return
type MockServiceGetProxyTaskByProcessInstIdCall ¶
MockServiceGetProxyTaskByProcessInstIdCall wrap *gomock.Call
func (*MockServiceGetProxyTaskByProcessInstIdCall) Do ¶
func (c *MockServiceGetProxyTaskByProcessInstIdCall) Do(f func(context.Context, int) (model.Task, error)) *MockServiceGetProxyTaskByProcessInstIdCall
Do rewrite *gomock.Call.Do
func (*MockServiceGetProxyTaskByProcessInstIdCall) DoAndReturn ¶
func (c *MockServiceGetProxyTaskByProcessInstIdCall) DoAndReturn(f func(context.Context, int) (model.Task, error)) *MockServiceGetProxyTaskByProcessInstIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceGetProxyTaskByProcessInstIdCall) Return ¶
func (c *MockServiceGetProxyTaskByProcessInstIdCall) Return(arg0 model.Task, arg1 error) *MockServiceGetProxyTaskByProcessInstIdCall
Return rewrite *gomock.Call.Return
type MockServiceGetTasksByCurrentNodeIdCall ¶
MockServiceGetTasksByCurrentNodeIdCall wrap *gomock.Call
func (*MockServiceGetTasksByCurrentNodeIdCall) Do ¶
func (c *MockServiceGetTasksByCurrentNodeIdCall) Do(f func(context.Context, int, string) ([]model.Task, error)) *MockServiceGetTasksByCurrentNodeIdCall
Do rewrite *gomock.Call.Do
func (*MockServiceGetTasksByCurrentNodeIdCall) DoAndReturn ¶
func (c *MockServiceGetTasksByCurrentNodeIdCall) DoAndReturn(f func(context.Context, int, string) ([]model.Task, error)) *MockServiceGetTasksByCurrentNodeIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceGetTasksByCurrentNodeIdCall) Return ¶
func (c *MockServiceGetTasksByCurrentNodeIdCall) Return(arg0 []model.Task, arg1 error) *MockServiceGetTasksByCurrentNodeIdCall
Return rewrite *gomock.Call.Return
type MockServiceGetTasksByInstUsersCall ¶
MockServiceGetTasksByInstUsersCall wrap *gomock.Call
func (*MockServiceGetTasksByInstUsersCall) Do ¶
func (c *MockServiceGetTasksByInstUsersCall) Do(f func(context.Context, int, []string) ([]model.Task, error)) *MockServiceGetTasksByInstUsersCall
Do rewrite *gomock.Call.Do
func (*MockServiceGetTasksByInstUsersCall) DoAndReturn ¶
func (c *MockServiceGetTasksByInstUsersCall) DoAndReturn(f func(context.Context, int, []string) ([]model.Task, error)) *MockServiceGetTasksByInstUsersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceGetTasksByInstUsersCall) Return ¶
func (c *MockServiceGetTasksByInstUsersCall) Return(arg0 []model.Task, arg1 error) *MockServiceGetTasksByInstUsersCall
Return rewrite *gomock.Call.Return
type MockServiceGetTraversedEdgesCall ¶
MockServiceGetTraversedEdgesCall wrap *gomock.Call
func (*MockServiceGetTraversedEdgesCall) Do ¶
func (c *MockServiceGetTraversedEdgesCall) Do(f func(context.Context, []model.Task, int, int, uint8) (map[string][]string, error)) *MockServiceGetTraversedEdgesCall
Do rewrite *gomock.Call.Do
func (*MockServiceGetTraversedEdgesCall) DoAndReturn ¶
func (c *MockServiceGetTraversedEdgesCall) DoAndReturn(f func(context.Context, []model.Task, int, int, uint8) (map[string][]string, error)) *MockServiceGetTraversedEdgesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceGetTraversedEdgesCall) Return ¶
func (c *MockServiceGetTraversedEdgesCall) Return(arg0 map[string][]string, arg1 error) *MockServiceGetTraversedEdgesCall
Return rewrite *gomock.Call.Return
type MockServiceIsRejectCall ¶
MockServiceIsRejectCall wrap *gomock.Call
func (*MockServiceIsRejectCall) Do ¶
func (c *MockServiceIsRejectCall) Do(f func(context.Context, int) (bool, error)) *MockServiceIsRejectCall
Do rewrite *gomock.Call.Do
func (*MockServiceIsRejectCall) DoAndReturn ¶
func (c *MockServiceIsRejectCall) DoAndReturn(f func(context.Context, int) (bool, error)) *MockServiceIsRejectCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceIsRejectCall) Return ¶
func (c *MockServiceIsRejectCall) Return(arg0 bool, arg1 error) *MockServiceIsRejectCall
Return rewrite *gomock.Call.Return
type MockServiceListByStartUserCall ¶
MockServiceListByStartUserCall wrap *gomock.Call
func (*MockServiceListByStartUserCall) Do ¶
func (c *MockServiceListByStartUserCall) Do(f func(context.Context, string, string, int, int) ([]domain.Instance, int64, error)) *MockServiceListByStartUserCall
Do rewrite *gomock.Call.Do
func (*MockServiceListByStartUserCall) DoAndReturn ¶
func (c *MockServiceListByStartUserCall) DoAndReturn(f func(context.Context, string, string, int, int) ([]domain.Instance, int64, error)) *MockServiceListByStartUserCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceListByStartUserCall) Return ¶
func (c *MockServiceListByStartUserCall) Return(arg0 []domain.Instance, arg1 int64, arg2 error) *MockServiceListByStartUserCall
Return rewrite *gomock.Call.Return
type MockServiceListPendingStepsOfMyTaskCall ¶
MockServiceListPendingStepsOfMyTaskCall wrap *gomock.Call
func (*MockServiceListPendingStepsOfMyTaskCall) Do ¶
func (c *MockServiceListPendingStepsOfMyTaskCall) Do(f func(context.Context, []int, string) ([]domain.Instance, error)) *MockServiceListPendingStepsOfMyTaskCall
Do rewrite *gomock.Call.Do
func (*MockServiceListPendingStepsOfMyTaskCall) DoAndReturn ¶
func (c *MockServiceListPendingStepsOfMyTaskCall) DoAndReturn(f func(context.Context, []int, string) ([]domain.Instance, error)) *MockServiceListPendingStepsOfMyTaskCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceListPendingStepsOfMyTaskCall) Return ¶
func (c *MockServiceListPendingStepsOfMyTaskCall) Return(arg0 []domain.Instance, arg1 error) *MockServiceListPendingStepsOfMyTaskCall
Return rewrite *gomock.Call.Return
type MockServiceListTodoTasksCall ¶
MockServiceListTodoTasksCall wrap *gomock.Call
func (*MockServiceListTodoTasksCall) Do ¶
func (c *MockServiceListTodoTasksCall) Do(f func(context.Context, string, string, bool, int, int) ([]domain.Instance, int64, error)) *MockServiceListTodoTasksCall
Do rewrite *gomock.Call.Do
func (*MockServiceListTodoTasksCall) DoAndReturn ¶
func (c *MockServiceListTodoTasksCall) DoAndReturn(f func(context.Context, string, string, bool, int, int) ([]domain.Instance, int64, error)) *MockServiceListTodoTasksCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceListTodoTasksCall) Return ¶
func (c *MockServiceListTodoTasksCall) Return(arg0 []domain.Instance, arg1 int64, arg2 error) *MockServiceListTodoTasksCall
Return rewrite *gomock.Call.Return
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) CreateSkippedTask ¶
func (mr *MockServiceMockRecorder) CreateSkippedTask(ctx, processInstId, nodeId, prevNodeId, comment, status any) *MockServiceCreateSkippedTaskCall
CreateSkippedTask indicates an expected call of CreateSkippedTask.
func (*MockServiceMockRecorder) DeleteProxyNodeByNodeId ¶
func (mr *MockServiceMockRecorder) DeleteProxyNodeByNodeId(ctx, processInstId, nodeId any) *MockServiceDeleteProxyNodeByNodeIdCall
DeleteProxyNodeByNodeId indicates an expected call of DeleteProxyNodeByNodeId.
func (*MockServiceMockRecorder) ForceUpdateIsFinishedByNodeId ¶
func (mr *MockServiceMockRecorder) ForceUpdateIsFinishedByNodeId(ctx, processInstId, nodeId, status, comment any) *MockServiceForceUpdateIsFinishedByNodeIdCall
ForceUpdateIsFinishedByNodeId indicates an expected call of ForceUpdateIsFinishedByNodeId.
func (*MockServiceMockRecorder) ForceUpdateIsFinishedByPreNodeId ¶
func (mr *MockServiceMockRecorder) ForceUpdateIsFinishedByPreNodeId(ctx, processInstId, nodeId, status, comment any) *MockServiceForceUpdateIsFinishedByPreNodeIdCall
ForceUpdateIsFinishedByPreNodeId indicates an expected call of ForceUpdateIsFinishedByPreNodeId.
func (*MockServiceMockRecorder) GetAutomationTask ¶
func (mr *MockServiceMockRecorder) GetAutomationTask(ctx, currentNodeId, processInstId any) *MockServiceGetAutomationTaskCall
GetAutomationTask indicates an expected call of GetAutomationTask.
func (*MockServiceMockRecorder) GetInstanceByID ¶
func (mr *MockServiceMockRecorder) GetInstanceByID(ctx, processInstId any) *MockServiceGetInstanceByIDCall
GetInstanceByID indicates an expected call of GetInstanceByID.
func (*MockServiceMockRecorder) GetLatestProcessVersion ¶
func (mr *MockServiceMockRecorder) GetLatestProcessVersion(ctx, processID any) *MockServiceGetLatestProcessVersionCall
GetLatestProcessVersion indicates an expected call of GetLatestProcessVersion.
func (*MockServiceMockRecorder) GetOrderIdByVariable ¶
func (mr *MockServiceMockRecorder) GetOrderIdByVariable(ctx, processInstId any) *MockServiceGetOrderIdByVariableCall
GetOrderIdByVariable indicates an expected call of GetOrderIdByVariable.
func (*MockServiceMockRecorder) GetProcessDefineByVersion ¶
func (mr *MockServiceMockRecorder) GetProcessDefineByVersion(ctx, processID, version any) *MockServiceGetProcessDefineByVersionCall
GetProcessDefineByVersion indicates an expected call of GetProcessDefineByVersion.
func (*MockServiceMockRecorder) GetProxyNodeByProcessInstId ¶
func (mr *MockServiceMockRecorder) GetProxyNodeByProcessInstId(ctx, processInstId any) *MockServiceGetProxyNodeByProcessInstIdCall
GetProxyNodeByProcessInstId indicates an expected call of GetProxyNodeByProcessInstId.
func (*MockServiceMockRecorder) GetProxyPrevNodeID ¶
func (mr *MockServiceMockRecorder) GetProxyPrevNodeID(ctx, processInstId, prevNodeID any) *MockServiceGetProxyPrevNodeIDCall
GetProxyPrevNodeID indicates an expected call of GetProxyPrevNodeID.
func (*MockServiceMockRecorder) GetProxyTaskByProcessInstId ¶
func (mr *MockServiceMockRecorder) GetProxyTaskByProcessInstId(ctx, processInstId any) *MockServiceGetProxyTaskByProcessInstIdCall
GetProxyTaskByProcessInstId indicates an expected call of GetProxyTaskByProcessInstId.
func (*MockServiceMockRecorder) GetTasksByCurrentNodeId ¶
func (mr *MockServiceMockRecorder) GetTasksByCurrentNodeId(ctx, processInstId, currentNodeId any) *MockServiceGetTasksByCurrentNodeIdCall
GetTasksByCurrentNodeId indicates an expected call of GetTasksByCurrentNodeId.
func (*MockServiceMockRecorder) GetTasksByInstUsers ¶
func (mr *MockServiceMockRecorder) GetTasksByInstUsers(ctx, processInstId, userIds any) *MockServiceGetTasksByInstUsersCall
GetTasksByInstUsers indicates an expected call of GetTasksByInstUsers.
func (*MockServiceMockRecorder) GetTraversedEdges ¶
func (mr *MockServiceMockRecorder) GetTraversedEdges(ctx, records, processInstId, processId, status any) *MockServiceGetTraversedEdgesCall
GetTraversedEdges indicates an expected call of GetTraversedEdges.
func (*MockServiceMockRecorder) IsReject ¶
func (mr *MockServiceMockRecorder) IsReject(ctx, taskId any) *MockServiceIsRejectCall
IsReject indicates an expected call of IsReject.
func (*MockServiceMockRecorder) ListByStartUser ¶
func (mr *MockServiceMockRecorder) ListByStartUser(ctx, userId, processName, offset, limit any) *MockServiceListByStartUserCall
ListByStartUser indicates an expected call of ListByStartUser.
func (*MockServiceMockRecorder) ListPendingStepsOfMyTask ¶
func (mr *MockServiceMockRecorder) ListPendingStepsOfMyTask(ctx, processInstIds, starter any) *MockServiceListPendingStepsOfMyTaskCall
ListPendingStepsOfMyTask indicates an expected call of ListPendingStepsOfMyTask.
func (*MockServiceMockRecorder) ListTodoTasks ¶
func (mr *MockServiceMockRecorder) ListTodoTasks(ctx, userId, processName, sortByAse, offset, limit any) *MockServiceListTodoTasksCall
ListTodoTasks indicates an expected call of ListTodoTasks.
func (*MockServiceMockRecorder) Pass ¶
func (mr *MockServiceMockRecorder) Pass(ctx, taskId, comment any) *MockServicePassCall
Pass indicates an expected call of Pass.
func (*MockServiceMockRecorder) TaskInfo ¶
func (mr *MockServiceMockRecorder) TaskInfo(ctx, taskId any) *MockServiceTaskInfoCall
TaskInfo indicates an expected call of TaskInfo.
func (*MockServiceMockRecorder) TaskRecord ¶
func (mr *MockServiceMockRecorder) TaskRecord(ctx, processInstId, offset, limit any) *MockServiceTaskRecordCall
TaskRecord indicates an expected call of TaskRecord.
func (*MockServiceMockRecorder) UpdateIsFinishedByPreNodeId ¶
func (mr *MockServiceMockRecorder) UpdateIsFinishedByPreNodeId(ctx, processInstId, nodeId, status, comment any) *MockServiceUpdateIsFinishedByPreNodeIdCall
UpdateIsFinishedByPreNodeId indicates an expected call of UpdateIsFinishedByPreNodeId.
func (*MockServiceMockRecorder) UpdateTaskPrevNodeID ¶
func (mr *MockServiceMockRecorder) UpdateTaskPrevNodeID(ctx, taskId, prevNodeId any) *MockServiceUpdateTaskPrevNodeIDCall
UpdateTaskPrevNodeID indicates an expected call of UpdateTaskPrevNodeID.
func (*MockServiceMockRecorder) Upstream ¶
func (mr *MockServiceMockRecorder) Upstream(ctx, taskId any) *MockServiceUpstreamCall
Upstream indicates an expected call of Upstream.
type MockServicePassCall ¶
MockServicePassCall wrap *gomock.Call
func (*MockServicePassCall) Do ¶
func (c *MockServicePassCall) Do(f func(context.Context, int, string) error) *MockServicePassCall
Do rewrite *gomock.Call.Do
func (*MockServicePassCall) DoAndReturn ¶
func (c *MockServicePassCall) DoAndReturn(f func(context.Context, int, string) error) *MockServicePassCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServicePassCall) Return ¶
func (c *MockServicePassCall) Return(arg0 error) *MockServicePassCall
Return rewrite *gomock.Call.Return
type MockServiceTaskInfoCall ¶
MockServiceTaskInfoCall wrap *gomock.Call
func (*MockServiceTaskInfoCall) Do ¶
func (c *MockServiceTaskInfoCall) Do(f func(context.Context, int) (model.Task, error)) *MockServiceTaskInfoCall
Do rewrite *gomock.Call.Do
func (*MockServiceTaskInfoCall) DoAndReturn ¶
func (c *MockServiceTaskInfoCall) DoAndReturn(f func(context.Context, int) (model.Task, error)) *MockServiceTaskInfoCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceTaskInfoCall) Return ¶
func (c *MockServiceTaskInfoCall) Return(arg0 model.Task, arg1 error) *MockServiceTaskInfoCall
Return rewrite *gomock.Call.Return
type MockServiceTaskRecordCall ¶
MockServiceTaskRecordCall wrap *gomock.Call
func (*MockServiceTaskRecordCall) Do ¶
func (c *MockServiceTaskRecordCall) Do(f func(context.Context, int, int, int) ([]model.Task, int64, error)) *MockServiceTaskRecordCall
Do rewrite *gomock.Call.Do
func (*MockServiceTaskRecordCall) DoAndReturn ¶
func (c *MockServiceTaskRecordCall) DoAndReturn(f func(context.Context, int, int, int) ([]model.Task, int64, error)) *MockServiceTaskRecordCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceTaskRecordCall) Return ¶
func (c *MockServiceTaskRecordCall) Return(arg0 []model.Task, arg1 int64, arg2 error) *MockServiceTaskRecordCall
Return rewrite *gomock.Call.Return
type MockServiceUpdateIsFinishedByPreNodeIdCall ¶
MockServiceUpdateIsFinishedByPreNodeIdCall wrap *gomock.Call
func (*MockServiceUpdateIsFinishedByPreNodeIdCall) Do ¶
func (c *MockServiceUpdateIsFinishedByPreNodeIdCall) Do(f func(context.Context, int, string, int, string) error) *MockServiceUpdateIsFinishedByPreNodeIdCall
Do rewrite *gomock.Call.Do
func (*MockServiceUpdateIsFinishedByPreNodeIdCall) DoAndReturn ¶
func (c *MockServiceUpdateIsFinishedByPreNodeIdCall) DoAndReturn(f func(context.Context, int, string, int, string) error) *MockServiceUpdateIsFinishedByPreNodeIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceUpdateIsFinishedByPreNodeIdCall) Return ¶
func (c *MockServiceUpdateIsFinishedByPreNodeIdCall) Return(arg0 error) *MockServiceUpdateIsFinishedByPreNodeIdCall
Return rewrite *gomock.Call.Return
type MockServiceUpdateTaskPrevNodeIDCall ¶
MockServiceUpdateTaskPrevNodeIDCall wrap *gomock.Call
func (*MockServiceUpdateTaskPrevNodeIDCall) Do ¶
func (c *MockServiceUpdateTaskPrevNodeIDCall) Do(f func(context.Context, int, string) error) *MockServiceUpdateTaskPrevNodeIDCall
Do rewrite *gomock.Call.Do
func (*MockServiceUpdateTaskPrevNodeIDCall) DoAndReturn ¶
func (c *MockServiceUpdateTaskPrevNodeIDCall) DoAndReturn(f func(context.Context, int, string) error) *MockServiceUpdateTaskPrevNodeIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceUpdateTaskPrevNodeIDCall) Return ¶
func (c *MockServiceUpdateTaskPrevNodeIDCall) Return(arg0 error) *MockServiceUpdateTaskPrevNodeIDCall
Return rewrite *gomock.Call.Return
type MockServiceUpstreamCall ¶
MockServiceUpstreamCall wrap *gomock.Call
func (*MockServiceUpstreamCall) Do ¶
func (c *MockServiceUpstreamCall) Do(f func(context.Context, int) ([]model.Node, error)) *MockServiceUpstreamCall
Do rewrite *gomock.Call.Do
func (*MockServiceUpstreamCall) DoAndReturn ¶
func (c *MockServiceUpstreamCall) DoAndReturn(f func(context.Context, int) ([]model.Node, error)) *MockServiceUpstreamCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceUpstreamCall) Return ¶
func (c *MockServiceUpstreamCall) Return(arg0 []model.Node, arg1 error) *MockServiceUpstreamCall
Return rewrite *gomock.Call.Return