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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WorkerIntentManager

type WorkerIntentManager struct {
	mock.Mock
}

WorkerIntentManager is an autogenerated mock type for the WorkerIntentManager type

func NewWorkerIntentManager

func NewWorkerIntentManager(t testing.TB) *WorkerIntentManager

NewWorkerIntentManager creates a new instance of WorkerIntentManager. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*WorkerIntentManager) CreateOrUpdateWorkerIntent

func (_m *WorkerIntentManager) CreateOrUpdateWorkerIntent(wi model.WorkerIntent, tac string, project string, cApp string, cAppVer string, dig string, exists bool) (model.WorkerIntent, error)

CreateOrUpdateWorkerIntent provides a mock function with given fields: wi, tac, project, cApp, cAppVer, dig, exists

func (*WorkerIntentManager) DeleteWorkerIntents

func (_m *WorkerIntentManager) DeleteWorkerIntents(project string, cApp string, cAppVer string, dig string, tac string, workerName string) error

DeleteWorkerIntents provides a mock function with given fields: project, cApp, cAppVer, dig, tac, workerName

func (*WorkerIntentManager) GetWorkerIntent

func (_m *WorkerIntentManager) GetWorkerIntent(workerName string, project string, cApp string, cAppVer string, dig string, tac string) (model.WorkerIntent, error)

GetWorkerIntent provides a mock function with given fields: workerName, project, cApp, cAppVer, dig, tac

func (*WorkerIntentManager) GetWorkerIntents

func (_m *WorkerIntentManager) GetWorkerIntents(project string, cApp string, cAppVer string, dig string, tac string) ([]model.WorkerIntent, error)

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

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 the testing.TB interface on the mock and 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 *model.WfhTemporalCancelRequest) error

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

func (*WorkflowIntentManager) CreateWorkflowHookIntent

func (_m *WorkflowIntentManager) CreateWorkflowHookIntent(ctx context.Context, wfh model.WorkflowHookIntent, project string, cApp string, cAppVer string, dig string, exists bool) (model.WorkflowHookIntent, error)

CreateWorkflowHookIntent provides a mock function with given fields: wfh, project, cApp, cAppVer, dig, exists

func (*WorkflowIntentManager) DeleteWorkflowHookIntent

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

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

func (*WorkflowIntentManager) GetSpecificHooks

func (_m *WorkflowIntentManager) GetSpecificHooks(ctx context.Context, project string, cApp string, cAppVer string, dig string, hook string) ([]model.WorkflowHookIntent, error)

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

func (*WorkflowIntentManager) GetStatusWorkflowIntent

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

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

func (*WorkflowIntentManager) GetWorkflowHookIntent

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

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

func (*WorkflowIntentManager) GetWorkflowHookIntents

func (_m *WorkflowIntentManager) GetWorkflowHookIntents(ctx context.Context, project string, cApp string, cAppVer string, dig string) ([]model.WorkflowHookIntent, error)

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

Jump to

Keyboard shortcuts

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