Documentation ¶
Index ¶
- type WorkerIntentManager
- func (_m *WorkerIntentManager) CreateOrUpdateWorkerIntent(wi model.WorkerIntent, tac string, project string, cApp string, cAppVer string, ...) (model.WorkerIntent, error)
- func (_m *WorkerIntentManager) DeleteWorkerIntents(project string, cApp string, cAppVer string, dig string, tac string, ...) error
- func (_m *WorkerIntentManager) GetWorkerIntent(workerName string, project string, cApp string, cAppVer string, dig string, ...) (model.WorkerIntent, error)
- func (_m *WorkerIntentManager) GetWorkerIntents(project string, cApp string, cAppVer string, dig string, tac string) ([]model.WorkerIntent, error)
- type WorkflowIntentManager
- func (_m *WorkflowIntentManager) CancelWorkflowIntent(ctx context.Context, name string, project string, cApp string, cAppVer string, ...) error
- func (_m *WorkflowIntentManager) CreateWorkflowHookIntent(ctx context.Context, wfh model.WorkflowHookIntent, project string, cApp string, ...) (model.WorkflowHookIntent, error)
- func (_m *WorkflowIntentManager) DeleteWorkflowHookIntent(ctx context.Context, name string, project string, cApp string, cAppVer string, ...) error
- func (_m *WorkflowIntentManager) GetSpecificHooks(ctx context.Context, project string, cApp string, cAppVer string, dig string, ...) ([]model.WorkflowHookIntent, error)
- func (_m *WorkflowIntentManager) GetStatusWorkflowIntent(ctx context.Context, name string, project string, cApp string, cAppVer string, ...) (*pkgmodule.WfTemporalStatusResponse, error)
- func (_m *WorkflowIntentManager) GetWorkflowHookIntent(ctx context.Context, name string, project string, cApp string, cAppVer string, ...) (model.WorkflowHookIntent, error)
- func (_m *WorkflowIntentManager) GetWorkflowHookIntents(ctx context.Context, project string, cApp string, cAppVer string, dig string) ([]model.WorkflowHookIntent, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkerIntentManager ¶
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 ¶
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