mocks

package
v0.0.0-...-d4d4b81 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChaosWorkflowService

type ChaosWorkflowService struct {
	mock.Mock
}

func (*ChaosWorkflowService) GetWorkflow

GetWorkflow mocks the GetWorkflow of chaos-workflow service

func (*ChaosWorkflowService) GetWorkflows

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

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

Jump to

Keyboard shortcuts

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