Documentation
¶
Index ¶
- type TaskExecutionProcessor
- type TaskExecutionProcessor_Expecter
- type TaskExecutionProcessor_ProcessTaskExecution_Call
- func (_c *TaskExecutionProcessor_ProcessTaskExecution_Call) Return(err error) *TaskExecutionProcessor_ProcessTaskExecution_Call
- func (_c *TaskExecutionProcessor_ProcessTaskExecution_Call) Run(...) *TaskExecutionProcessor_ProcessTaskExecution_Call
- func (_c *TaskExecutionProcessor_ProcessTaskExecution_Call) RunAndReturn(...) *TaskExecutionProcessor_ProcessTaskExecution_Call
- type WorkflowStepProcessor
- type WorkflowStepProcessor_Expecter
- type WorkflowStepProcessor_ProcessWorkflowStep_Call
- func (_c *WorkflowStepProcessor_ProcessWorkflowStep_Call) Return(err error) *WorkflowStepProcessor_ProcessWorkflowStep_Call
- func (_c *WorkflowStepProcessor_ProcessWorkflowStep_Call) Run(run func(ctx context.Context, workflowEntry models.Workflow, ...)) *WorkflowStepProcessor_ProcessWorkflowStep_Call
- func (_c *WorkflowStepProcessor_ProcessWorkflowStep_Call) RunAndReturn(run func(ctx context.Context, workflowEntry models.Workflow, ...) error) *WorkflowStepProcessor_ProcessWorkflowStep_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskExecutionProcessor ¶
TaskExecutionProcessor is an autogenerated mock type for the TaskExecutionProcessor type
func NewTaskExecutionProcessor ¶
func NewTaskExecutionProcessor(t interface {
mock.TestingT
Cleanup(func())
}) *TaskExecutionProcessor
NewTaskExecutionProcessor creates a new instance of TaskExecutionProcessor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TaskExecutionProcessor) EXPECT ¶
func (_m *TaskExecutionProcessor) EXPECT() *TaskExecutionProcessor_Expecter
func (*TaskExecutionProcessor) ProcessTaskExecution ¶
func (_mock *TaskExecutionProcessor) ProcessTaskExecution(ctx context.Context, taskEntry models.Task, executeEntry models.TaskExecution) error
ProcessTaskExecution provides a mock function for the type TaskExecutionProcessor
type TaskExecutionProcessor_Expecter ¶
type TaskExecutionProcessor_Expecter struct {
// contains filtered or unexported fields
}
func (*TaskExecutionProcessor_Expecter) ProcessTaskExecution ¶
func (_e *TaskExecutionProcessor_Expecter) ProcessTaskExecution(ctx interface{}, taskEntry interface{}, executeEntry interface{}) *TaskExecutionProcessor_ProcessTaskExecution_Call
ProcessTaskExecution is a helper method to define mock.On call
- ctx context.Context
- taskEntry models.Task
- executeEntry models.TaskExecution
type TaskExecutionProcessor_ProcessTaskExecution_Call ¶
TaskExecutionProcessor_ProcessTaskExecution_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessTaskExecution'
func (*TaskExecutionProcessor_ProcessTaskExecution_Call) Return ¶
func (_c *TaskExecutionProcessor_ProcessTaskExecution_Call) Return(err error) *TaskExecutionProcessor_ProcessTaskExecution_Call
func (*TaskExecutionProcessor_ProcessTaskExecution_Call) Run ¶
func (_c *TaskExecutionProcessor_ProcessTaskExecution_Call) Run(run func(ctx context.Context, taskEntry models.Task, executeEntry models.TaskExecution)) *TaskExecutionProcessor_ProcessTaskExecution_Call
func (*TaskExecutionProcessor_ProcessTaskExecution_Call) RunAndReturn ¶
func (_c *TaskExecutionProcessor_ProcessTaskExecution_Call) RunAndReturn(run func(ctx context.Context, taskEntry models.Task, executeEntry models.TaskExecution) error) *TaskExecutionProcessor_ProcessTaskExecution_Call
type WorkflowStepProcessor ¶
WorkflowStepProcessor is an autogenerated mock type for the WorkflowStepProcessor type
func NewWorkflowStepProcessor ¶
func NewWorkflowStepProcessor(t interface {
mock.TestingT
Cleanup(func())
}) *WorkflowStepProcessor
NewWorkflowStepProcessor creates a new instance of WorkflowStepProcessor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*WorkflowStepProcessor) EXPECT ¶
func (_m *WorkflowStepProcessor) EXPECT() *WorkflowStepProcessor_Expecter
func (*WorkflowStepProcessor) ProcessWorkflowStep ¶
func (_mock *WorkflowStepProcessor) ProcessWorkflowStep(ctx context.Context, workflowEntry models.Workflow, stepEntry models.WorkflowStep) error
ProcessWorkflowStep provides a mock function for the type WorkflowStepProcessor
type WorkflowStepProcessor_Expecter ¶
type WorkflowStepProcessor_Expecter struct {
// contains filtered or unexported fields
}
func (*WorkflowStepProcessor_Expecter) ProcessWorkflowStep ¶
func (_e *WorkflowStepProcessor_Expecter) ProcessWorkflowStep(ctx interface{}, workflowEntry interface{}, stepEntry interface{}) *WorkflowStepProcessor_ProcessWorkflowStep_Call
ProcessWorkflowStep is a helper method to define mock.On call
- ctx context.Context
- workflowEntry models.Workflow
- stepEntry models.WorkflowStep
type WorkflowStepProcessor_ProcessWorkflowStep_Call ¶
WorkflowStepProcessor_ProcessWorkflowStep_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessWorkflowStep'
func (*WorkflowStepProcessor_ProcessWorkflowStep_Call) Return ¶
func (_c *WorkflowStepProcessor_ProcessWorkflowStep_Call) Return(err error) *WorkflowStepProcessor_ProcessWorkflowStep_Call
func (*WorkflowStepProcessor_ProcessWorkflowStep_Call) Run ¶
func (_c *WorkflowStepProcessor_ProcessWorkflowStep_Call) Run(run func(ctx context.Context, workflowEntry models.Workflow, stepEntry models.WorkflowStep)) *WorkflowStepProcessor_ProcessWorkflowStep_Call
func (*WorkflowStepProcessor_ProcessWorkflowStep_Call) RunAndReturn ¶
func (_c *WorkflowStepProcessor_ProcessWorkflowStep_Call) RunAndReturn(run func(ctx context.Context, workflowEntry models.Workflow, stepEntry models.WorkflowStep) error) *WorkflowStepProcessor_ProcessWorkflowStep_Call