mocks

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIufService added in v0.2.4

type MockIufService struct {
	// contains filtered or unexported fields
}

MockIufService is a mock of IufService interface.

func NewMockIufService added in v0.2.4

func NewMockIufService(ctrl *gomock.Controller) *MockIufService

NewMockIufService creates a new mock instance.

func (*MockIufService) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIufService) GetSessionsByActivityName added in v0.2.4

func (m *MockIufService) GetSessionsByActivityName(activityName string) ([]v1.IufSession, error)

GetSessionsByActivityName mocks base method.

type MockIufServiceMockRecorder added in v0.2.4

type MockIufServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockIufServiceMockRecorder is the mock recorder for MockIufService.

func (*MockIufServiceMockRecorder) GetSessionsByActivityName added in v0.2.4

func (mr *MockIufServiceMockRecorder) GetSessionsByActivityName(activityName interface{}) *gomock.Call

GetSessionsByActivityName indicates an expected call of GetSessionsByActivityName.

type MockWorkflowService

type MockWorkflowService struct {
	// contains filtered or unexported fields
}

MockWorkflowService is a mock of WorkflowService interface.

func NewMockWorkflowService

func NewMockWorkflowService(ctrl *gomock.Controller) *MockWorkflowService

NewMockWorkflowService creates a new mock instance.

func (*MockWorkflowService) CreateIufWorkflow added in v0.2.1

func (m *MockWorkflowService) CreateIufWorkflow(req v1.IufSessionSpec) (*v1alpha1.Workflow, error)

CreateIufWorkflow mocks base method.

func (*MockWorkflowService) CreateRebuildWorkflow

CreateRebuildWorkflow mocks base method.

func (*MockWorkflowService) DeleteWorkflow

func (m *MockWorkflowService) DeleteWorkflow(ctx *gin.Context) error

DeleteWorkflow mocks base method.

func (*MockWorkflowService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockWorkflowService) GetWorkflowByName added in v0.2.1

func (m *MockWorkflowService) GetWorkflowByName(name string, ctx *gin.Context) (*v1alpha1.Workflow, error)

GetWorkflowByName mocks base method.

func (*MockWorkflowService) GetWorkflows

func (m *MockWorkflowService) GetWorkflows(ctx *gin.Context) (*v1alpha1.WorkflowList, error)

GetWorkflows mocks base method.

func (*MockWorkflowService) InitializeWorkflowTemplate

func (m *MockWorkflowService) InitializeWorkflowTemplate(template []byte) error

InitializeWorkflowTemplate mocks base method.

func (*MockWorkflowService) RerunWorkflow

func (m *MockWorkflowService) RerunWorkflow(ctx *gin.Context) error

RerunWorkflow mocks base method.

func (*MockWorkflowService) RetryWorkflow

func (m *MockWorkflowService) RetryWorkflow(ctx *gin.Context) error

RetryWorkflow mocks base method.

type MockWorkflowServiceMockRecorder

type MockWorkflowServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockWorkflowServiceMockRecorder is the mock recorder for MockWorkflowService.

func (*MockWorkflowServiceMockRecorder) CreateIufWorkflow added in v0.2.1

func (mr *MockWorkflowServiceMockRecorder) CreateIufWorkflow(req interface{}) *gomock.Call

CreateIufWorkflow indicates an expected call of CreateIufWorkflow.

func (*MockWorkflowServiceMockRecorder) CreateRebuildWorkflow

func (mr *MockWorkflowServiceMockRecorder) CreateRebuildWorkflow(req interface{}) *gomock.Call

CreateRebuildWorkflow indicates an expected call of CreateRebuildWorkflow.

func (*MockWorkflowServiceMockRecorder) DeleteWorkflow

func (mr *MockWorkflowServiceMockRecorder) DeleteWorkflow(ctx interface{}) *gomock.Call

DeleteWorkflow indicates an expected call of DeleteWorkflow.

func (*MockWorkflowServiceMockRecorder) GetWorkflowByName added in v0.2.1

func (mr *MockWorkflowServiceMockRecorder) GetWorkflowByName(name, ctx interface{}) *gomock.Call

GetWorkflowByName indicates an expected call of GetWorkflowByName.

func (*MockWorkflowServiceMockRecorder) GetWorkflows

func (mr *MockWorkflowServiceMockRecorder) GetWorkflows(ctx interface{}) *gomock.Call

GetWorkflows indicates an expected call of GetWorkflows.

func (*MockWorkflowServiceMockRecorder) InitializeWorkflowTemplate

func (mr *MockWorkflowServiceMockRecorder) InitializeWorkflowTemplate(template interface{}) *gomock.Call

InitializeWorkflowTemplate indicates an expected call of InitializeWorkflowTemplate.

func (*MockWorkflowServiceMockRecorder) RerunWorkflow

func (mr *MockWorkflowServiceMockRecorder) RerunWorkflow(ctx interface{}) *gomock.Call

RerunWorkflow indicates an expected call of RerunWorkflow.

func (*MockWorkflowServiceMockRecorder) RetryWorkflow

func (mr *MockWorkflowServiceMockRecorder) RetryWorkflow(ctx interface{}) *gomock.Call

RetryWorkflow indicates an expected call of RetryWorkflow.

Jump to

Keyboard shortcuts

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