mocks

package
v0.0.0-...-bb2f907 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WorkflowIntentManager

type WorkflowIntentManager struct {
	mock.Mock
}

WorkflowIntentManager is an autogenerated mock type for the WorkflowIntentManager type

func NewWorkflowIntentManager

func NewWorkflowIntentManager(t testing.TB) *WorkflowIntentManager

NewWorkflowIntentManager creates a new instance of WorkflowIntentManager. It also registers a cleanup function to assert the mocks expectations.

func (*WorkflowIntentManager) CancelWorkflowIntent

func (_m *WorkflowIntentManager) CancelWorkflowIntent(ctx context.Context, name string, project string, cApp string, cAppVer string, dig string, req *module.WfTemporalCancelRequest) error

CancelWorkflowIntent provides a mock function with given fields: name, project, cApp, cAppVer, dig, req

func (*WorkflowIntentManager) CreateWorkflowIntent

func (_m *WorkflowIntentManager) CreateWorkflowIntent(ctx context.Context, wfi module.WorkflowIntent, project string, cApp string, cAppVer string, dig string, exists bool) (module.WorkflowIntent, error)

CreateWorkflowIntent provides a mock function with given fields: wfi, project, cApp, cAppVer, dig, exists

func (*WorkflowIntentManager) DeleteWorkflowIntent

func (_m *WorkflowIntentManager) DeleteWorkflowIntent(ctx context.Context, name string, project string, cApp string, cAppVer string, dig string) error

DeleteWorkflowIntent provides a mock function with given fields: name, project, cApp, cAppVer, dig

func (*WorkflowIntentManager) GetStatusWorkflowIntent

func (_m *WorkflowIntentManager) GetStatusWorkflowIntent(ctx context.Context, name string, project string, cApp string, cAppVer string, dig string, query *module.WfTemporalStatusQuery) (*module.WfTemporalStatusResponse, error)

GetStatusWorkflowIntent provides a mock function with given fields: name, project, cApp, cAppVer, dig, query

func (*WorkflowIntentManager) GetWorkflowIntent

func (_m *WorkflowIntentManager) GetWorkflowIntent(ctx context.Context, name string, project string, cApp string, cAppVer string, dig string) (module.WorkflowIntent, error)

GetWorkflowIntent provides a mock function with given fields: name, project, cApp, cAppVer, dig

func (*WorkflowIntentManager) GetWorkflowIntents

func (_m *WorkflowIntentManager) GetWorkflowIntents(ctx context.Context, project string, cApp string, cAppVer string, dig string) ([]module.WorkflowIntent, error)

GetWorkflowIntents provides a mock function with given fields: project, cApp, cAppVer, dig

func (*WorkflowIntentManager) StartWorkflowIntent

func (_m *WorkflowIntentManager) StartWorkflowIntent(ctx context.Context, name string, project string, cApp string, cAppVer string, dig string) error

StartWorkflowIntent provides a mock function with given fields: name, project, cApp, cAppVer, dig

Jump to

Keyboard shortcuts

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