Documentation ¶
Overview ¶
Package mocks ...
Index ¶
- type ChaosWorkflowService
- func (c *ChaosWorkflowService) GetWorkflow(query bson.D) (dbOperationsWorkflow.ChaosWorkFlowRequest, error)
- func (c *ChaosWorkflowService) GetWorkflows(query bson.D) ([]dbOperationsWorkflow.ChaosWorkFlowRequest, error)
- func (c *ChaosWorkflowService) ProcessCompletedWorkflowRun(execData chaosWorkflow.ExecutionData, wfID string) (chaosWorkflow.WorkflowRunMetrics, error)
- func (c *ChaosWorkflowService) ProcessWorkflow(workflow *model.ChaosWorkFlowRequest) (*model.ChaosWorkFlowRequest, *dbSchemaWorkflow.ChaosWorkflowType, error)
- func (c *ChaosWorkflowService) ProcessWorkflowCreation(input *model.ChaosWorkFlowRequest, username string, ...) error
- func (c *ChaosWorkflowService) ProcessWorkflowDelete(query bson.D, workflow workflowDBOps.ChaosWorkFlowRequest, username string, ...) error
- func (c *ChaosWorkflowService) ProcessWorkflowRunDelete(query bson.D, workflowRunID *string, ...) error
- func (c *ChaosWorkflowService) ProcessWorkflowRunSync(workflowID string, workflowRunID *string, ...) error
- func (c *ChaosWorkflowService) ProcessWorkflowUpdate(workflow *model.ChaosWorkFlowRequest, username string, ...) error
- func (c *ChaosWorkflowService) SendWorkflowEvent(wfRun model.WorkflowRun, r *store.StateData)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChaosWorkflowService ¶
func (*ChaosWorkflowService) GetWorkflow ¶
func (c *ChaosWorkflowService) GetWorkflow(query bson.D) (dbOperationsWorkflow.ChaosWorkFlowRequest, error)
GetWorkflow mocks the GetWorkflow of chaos-workflow service
func (*ChaosWorkflowService) GetWorkflows ¶
func (c *ChaosWorkflowService) GetWorkflows(query bson.D) ([]dbOperationsWorkflow.ChaosWorkFlowRequest, error)
GetWorkflows mocks the GetWorkflows of chaos-workflow service
func (*ChaosWorkflowService) ProcessCompletedWorkflowRun ¶
func (c *ChaosWorkflowService) ProcessCompletedWorkflowRun(execData chaosWorkflow.ExecutionData, wfID string) (chaosWorkflow.WorkflowRunMetrics, error)
ProcessCompletedWorkflowRun mocks the ProcessCompletedWorkflowRun of chaos-workflow service
func (*ChaosWorkflowService) ProcessWorkflow ¶
func (c *ChaosWorkflowService) ProcessWorkflow(workflow *model.ChaosWorkFlowRequest) (*model.ChaosWorkFlowRequest, *dbSchemaWorkflow.ChaosWorkflowType, error)
ProcessWorkflow mocks the ProcessWorkflow of chaos-workflow service
func (*ChaosWorkflowService) ProcessWorkflowCreation ¶
func (c *ChaosWorkflowService) ProcessWorkflowCreation(input *model.ChaosWorkFlowRequest, username string, wfType *dbSchemaWorkflow.ChaosWorkflowType, r *store.StateData) error
ProcessWorkflowCreation mocks the ProcessWorkflowCreation of chaos-workflow service
func (*ChaosWorkflowService) ProcessWorkflowDelete ¶
func (c *ChaosWorkflowService) ProcessWorkflowDelete(query bson.D, workflow workflowDBOps.ChaosWorkFlowRequest, username string, r *store.StateData) error
ProcessWorkflowDelete mocks the ProcessWorkflowDelete of chaos-workflow service
func (*ChaosWorkflowService) ProcessWorkflowRunDelete ¶
func (c *ChaosWorkflowService) ProcessWorkflowRunDelete(query bson.D, workflowRunID *string, workflow workflowDBOps.ChaosWorkFlowRequest, username string, r *store.StateData) error
ProcessWorkflowRunDelete mocks the ProcessWorkflowRunDelete of chaos-workflow service
func (*ChaosWorkflowService) ProcessWorkflowRunSync ¶
func (c *ChaosWorkflowService) ProcessWorkflowRunSync(workflowID string, workflowRunID *string, workflow workflowDBOps.ChaosWorkFlowRequest, r *store.StateData) error
ProcessWorkflowRunSync mocks the ProcessWorkflowRunSync of chaos-workflow service
func (*ChaosWorkflowService) ProcessWorkflowUpdate ¶
func (c *ChaosWorkflowService) ProcessWorkflowUpdate(workflow *model.ChaosWorkFlowRequest, username string, wfType *dbSchemaWorkflow.ChaosWorkflowType, r *store.StateData) error
ProcessWorkflowUpdate mocks the ProcessWorkflowUpdate of chaos-workflow service
func (*ChaosWorkflowService) SendWorkflowEvent ¶
func (c *ChaosWorkflowService) SendWorkflowEvent(wfRun model.WorkflowRun, r *store.StateData)
SendWorkflowEvent mocks the SendWorkflowEvent of chaos-workflow service