mockmodels

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskExecutionProcessor

type TaskExecutionProcessor struct {
	mock.Mock
}

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 (*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

type TaskExecutionProcessor_ProcessTaskExecution_Call struct {
	*mock.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 (*TaskExecutionProcessor_ProcessTaskExecution_Call) Run

func (*TaskExecutionProcessor_ProcessTaskExecution_Call) RunAndReturn

type WorkflowStepProcessor

type WorkflowStepProcessor struct {
	mock.Mock
}

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 (*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

type WorkflowStepProcessor_ProcessWorkflowStep_Call struct {
	*mock.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 (*WorkflowStepProcessor_ProcessWorkflowStep_Call) Run

func (*WorkflowStepProcessor_ProcessWorkflowStep_Call) RunAndReturn

Jump to

Keyboard shortcuts

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