workflowmocks

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package workflowmocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAdminNotifyBindingService

type MockAdminNotifyBindingService struct {
	// contains filtered or unexported fields
}

MockAdminNotifyBindingService is a mock of AdminNotifyBindingService interface.

func NewMockAdminNotifyBindingService

func NewMockAdminNotifyBindingService(ctrl *gomock.Controller) *MockAdminNotifyBindingService

NewMockAdminNotifyBindingService creates a new mock instance.

func (*MockAdminNotifyBindingService) Create

Create mocks base method.

func (*MockAdminNotifyBindingService) Delete

Delete mocks base method.

func (*MockAdminNotifyBindingService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAdminNotifyBindingService) GetEffective

func (m *MockAdminNotifyBindingService) GetEffective(ctx context.Context, workflowId int64, notifyType domain.NotifyType, channel string) (domain.NotifyBinding, error)

GetEffective mocks base method.

func (*MockAdminNotifyBindingService) List

List mocks base method.

func (*MockAdminNotifyBindingService) Update

Update mocks base method.

type MockAdminNotifyBindingServiceCreateCall

type MockAdminNotifyBindingServiceCreateCall struct {
	*gomock.Call
}

MockAdminNotifyBindingServiceCreateCall wrap *gomock.Call

func (*MockAdminNotifyBindingServiceCreateCall) Do

Do rewrite *gomock.Call.Do

func (*MockAdminNotifyBindingServiceCreateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAdminNotifyBindingServiceCreateCall) Return

Return rewrite *gomock.Call.Return

type MockAdminNotifyBindingServiceDeleteCall

type MockAdminNotifyBindingServiceDeleteCall struct {
	*gomock.Call
}

MockAdminNotifyBindingServiceDeleteCall wrap *gomock.Call

func (*MockAdminNotifyBindingServiceDeleteCall) Do

Do rewrite *gomock.Call.Do

func (*MockAdminNotifyBindingServiceDeleteCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAdminNotifyBindingServiceDeleteCall) Return

Return rewrite *gomock.Call.Return

type MockAdminNotifyBindingServiceGetEffectiveCall

type MockAdminNotifyBindingServiceGetEffectiveCall struct {
	*gomock.Call
}

MockAdminNotifyBindingServiceGetEffectiveCall wrap *gomock.Call

func (*MockAdminNotifyBindingServiceGetEffectiveCall) Do

Do rewrite *gomock.Call.Do

func (*MockAdminNotifyBindingServiceGetEffectiveCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAdminNotifyBindingServiceGetEffectiveCall) Return

Return rewrite *gomock.Call.Return

type MockAdminNotifyBindingServiceListCall

type MockAdminNotifyBindingServiceListCall struct {
	*gomock.Call
}

MockAdminNotifyBindingServiceListCall wrap *gomock.Call

func (*MockAdminNotifyBindingServiceListCall) Do

Do rewrite *gomock.Call.Do

func (*MockAdminNotifyBindingServiceListCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAdminNotifyBindingServiceListCall) Return

Return rewrite *gomock.Call.Return

type MockAdminNotifyBindingServiceMockRecorder

type MockAdminNotifyBindingServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockAdminNotifyBindingServiceMockRecorder is the mock recorder for MockAdminNotifyBindingService.

func (*MockAdminNotifyBindingServiceMockRecorder) Create

Create indicates an expected call of Create.

func (*MockAdminNotifyBindingServiceMockRecorder) Delete

Delete indicates an expected call of Delete.

func (*MockAdminNotifyBindingServiceMockRecorder) GetEffective

func (mr *MockAdminNotifyBindingServiceMockRecorder) GetEffective(ctx, workflowId, notifyType, channel any) *MockAdminNotifyBindingServiceGetEffectiveCall

GetEffective indicates an expected call of GetEffective.

func (*MockAdminNotifyBindingServiceMockRecorder) List

List indicates an expected call of List.

func (*MockAdminNotifyBindingServiceMockRecorder) Update

Update indicates an expected call of Update.

type MockAdminNotifyBindingServiceUpdateCall

type MockAdminNotifyBindingServiceUpdateCall struct {
	*gomock.Call
}

MockAdminNotifyBindingServiceUpdateCall wrap *gomock.Call

func (*MockAdminNotifyBindingServiceUpdateCall) Do

Do rewrite *gomock.Call.Do

func (*MockAdminNotifyBindingServiceUpdateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAdminNotifyBindingServiceUpdateCall) Return

Return rewrite *gomock.Call.Return

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) AdminNotifyBinding

func (m *MockService) AdminNotifyBinding() service.AdminNotifyBindingService

AdminNotifyBinding mocks base method.

func (*MockService) Create

func (m *MockService) Create(ctx context.Context, req domain.Workflow) (int64, error)

Create mocks base method.

func (*MockService) Delete

func (m *MockService) Delete(ctx context.Context, id int64) (int64, error)

Delete mocks base method.

func (*MockService) Deploy

func (m *MockService) Deploy(ctx context.Context, flow domain.Workflow) error

Deploy 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) Find

func (m *MockService) Find(ctx context.Context, id int64) (domain.Workflow, error)

Find mocks base method.

func (*MockService) FindByKeyword

func (m *MockService) FindByKeyword(ctx context.Context, keyword string, offset, limit int64) ([]domain.Workflow, int64, error)

FindByKeyword mocks base method.

func (*MockService) FindInstanceFlow

func (m *MockService) FindInstanceFlow(ctx context.Context, workflowID int64, processID, version int) (domain.Workflow, error)

FindInstanceFlow mocks base method.

func (*MockService) FindPassEdgeIds

func (m *MockService) FindPassEdgeIds(ctx context.Context, wf domain.Workflow, tasks []model.Task) ([]string, error)

FindPassEdgeIds mocks base method.

func (*MockService) GetAutomationProperty

func (m *MockService) GetAutomationProperty(workflow easyflow.Workflow, nodeId string) (easyflow.AutomationProperty, error)

GetAutomationProperty mocks base method.

func (*MockService) GetWorkflowSnapshot

func (m *MockService) GetWorkflowSnapshot(ctx context.Context, processID, version int) (domain.Workflow, error)

GetWorkflowSnapshot mocks base method.

func (*MockService) List

func (m *MockService) List(ctx context.Context, offset, limit int64) ([]domain.Workflow, int64, error)

List mocks base method.

func (*MockService) Update

func (m *MockService) Update(ctx context.Context, req domain.Workflow) (int64, error)

Update mocks base method.

type MockServiceAdminNotifyBindingCall

type MockServiceAdminNotifyBindingCall struct {
	*gomock.Call
}

MockServiceAdminNotifyBindingCall wrap *gomock.Call

func (*MockServiceAdminNotifyBindingCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceAdminNotifyBindingCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceAdminNotifyBindingCall) Return

Return rewrite *gomock.Call.Return

type MockServiceCreateCall

type MockServiceCreateCall struct {
	*gomock.Call
}

MockServiceCreateCall wrap *gomock.Call

func (*MockServiceCreateCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceCreateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceCreateCall) Return

func (c *MockServiceCreateCall) Return(arg0 int64, arg1 error) *MockServiceCreateCall

Return rewrite *gomock.Call.Return

type MockServiceDeleteCall

type MockServiceDeleteCall struct {
	*gomock.Call
}

MockServiceDeleteCall wrap *gomock.Call

func (*MockServiceDeleteCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceDeleteCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceDeleteCall) Return

func (c *MockServiceDeleteCall) Return(arg0 int64, arg1 error) *MockServiceDeleteCall

Return rewrite *gomock.Call.Return

type MockServiceDeployCall

type MockServiceDeployCall struct {
	*gomock.Call
}

MockServiceDeployCall wrap *gomock.Call

func (*MockServiceDeployCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceDeployCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceDeployCall) Return

Return rewrite *gomock.Call.Return

type MockServiceFindByKeywordCall

type MockServiceFindByKeywordCall struct {
	*gomock.Call
}

MockServiceFindByKeywordCall wrap *gomock.Call

func (*MockServiceFindByKeywordCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceFindByKeywordCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceFindByKeywordCall) Return

Return rewrite *gomock.Call.Return

type MockServiceFindCall

type MockServiceFindCall struct {
	*gomock.Call
}

MockServiceFindCall wrap *gomock.Call

func (*MockServiceFindCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceFindCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceFindCall) Return

Return rewrite *gomock.Call.Return

type MockServiceFindInstanceFlowCall

type MockServiceFindInstanceFlowCall struct {
	*gomock.Call
}

MockServiceFindInstanceFlowCall wrap *gomock.Call

func (*MockServiceFindInstanceFlowCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceFindInstanceFlowCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceFindInstanceFlowCall) Return

Return rewrite *gomock.Call.Return

type MockServiceFindPassEdgeIdsCall

type MockServiceFindPassEdgeIdsCall struct {
	*gomock.Call
}

MockServiceFindPassEdgeIdsCall wrap *gomock.Call

func (*MockServiceFindPassEdgeIdsCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceFindPassEdgeIdsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceFindPassEdgeIdsCall) Return

Return rewrite *gomock.Call.Return

type MockServiceGetAutomationPropertyCall

type MockServiceGetAutomationPropertyCall struct {
	*gomock.Call
}

MockServiceGetAutomationPropertyCall wrap *gomock.Call

func (*MockServiceGetAutomationPropertyCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceGetAutomationPropertyCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceGetAutomationPropertyCall) Return

Return rewrite *gomock.Call.Return

type MockServiceGetWorkflowSnapshotCall

type MockServiceGetWorkflowSnapshotCall struct {
	*gomock.Call
}

MockServiceGetWorkflowSnapshotCall wrap *gomock.Call

func (*MockServiceGetWorkflowSnapshotCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceGetWorkflowSnapshotCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceGetWorkflowSnapshotCall) Return

Return rewrite *gomock.Call.Return

type MockServiceListCall

type MockServiceListCall struct {
	*gomock.Call
}

MockServiceListCall wrap *gomock.Call

func (*MockServiceListCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceListCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceListCall) Return

func (c *MockServiceListCall) Return(arg0 []domain.Workflow, arg1 int64, arg2 error) *MockServiceListCall

Return rewrite *gomock.Call.Return

type MockServiceMockRecorder

type MockServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) AdminNotifyBinding

AdminNotifyBinding indicates an expected call of AdminNotifyBinding.

func (*MockServiceMockRecorder) Create

func (mr *MockServiceMockRecorder) Create(ctx, req any) *MockServiceCreateCall

Create indicates an expected call of Create.

func (*MockServiceMockRecorder) Delete

func (mr *MockServiceMockRecorder) Delete(ctx, id any) *MockServiceDeleteCall

Delete indicates an expected call of Delete.

func (*MockServiceMockRecorder) Deploy

func (mr *MockServiceMockRecorder) Deploy(ctx, flow any) *MockServiceDeployCall

Deploy indicates an expected call of Deploy.

func (*MockServiceMockRecorder) Find

func (mr *MockServiceMockRecorder) Find(ctx, id any) *MockServiceFindCall

Find indicates an expected call of Find.

func (*MockServiceMockRecorder) FindByKeyword

func (mr *MockServiceMockRecorder) FindByKeyword(ctx, keyword, offset, limit any) *MockServiceFindByKeywordCall

FindByKeyword indicates an expected call of FindByKeyword.

func (*MockServiceMockRecorder) FindInstanceFlow

func (mr *MockServiceMockRecorder) FindInstanceFlow(ctx, workflowID, processID, version any) *MockServiceFindInstanceFlowCall

FindInstanceFlow indicates an expected call of FindInstanceFlow.

func (*MockServiceMockRecorder) FindPassEdgeIds

func (mr *MockServiceMockRecorder) FindPassEdgeIds(ctx, wf, tasks any) *MockServiceFindPassEdgeIdsCall

FindPassEdgeIds indicates an expected call of FindPassEdgeIds.

func (*MockServiceMockRecorder) GetAutomationProperty

func (mr *MockServiceMockRecorder) GetAutomationProperty(workflow, nodeId any) *MockServiceGetAutomationPropertyCall

GetAutomationProperty indicates an expected call of GetAutomationProperty.

func (*MockServiceMockRecorder) GetWorkflowSnapshot

func (mr *MockServiceMockRecorder) GetWorkflowSnapshot(ctx, processID, version any) *MockServiceGetWorkflowSnapshotCall

GetWorkflowSnapshot indicates an expected call of GetWorkflowSnapshot.

func (*MockServiceMockRecorder) List

func (mr *MockServiceMockRecorder) List(ctx, offset, limit any) *MockServiceListCall

List indicates an expected call of List.

func (*MockServiceMockRecorder) Update

func (mr *MockServiceMockRecorder) Update(ctx, req any) *MockServiceUpdateCall

Update indicates an expected call of Update.

type MockServiceUpdateCall

type MockServiceUpdateCall struct {
	*gomock.Call
}

MockServiceUpdateCall wrap *gomock.Call

func (*MockServiceUpdateCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceUpdateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceUpdateCall) Return

func (c *MockServiceUpdateCall) Return(arg0 int64, arg1 error) *MockServiceUpdateCall

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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