mocks

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mock_services_shared is a generated GoMock package.

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) ConfigMapDataToSession added in v0.4.0

func (m *MockIufService) ConfigMapDataToSession(data string) (iuf.Session, error)

ConfigMapDataToSession mocks base method.

func (*MockIufService) CreateActivity added in v0.3.1

func (m *MockIufService) CreateActivity(req iuf.CreateActivityRequest) (iuf.Activity, error)

CreateActivity mocks base method.

func (*MockIufService) CreateIufWorkflow added in v0.4.0

func (m *MockIufService) CreateIufWorkflow(req iuf.Session) (*v1alpha1.Workflow, error, bool)

CreateIufWorkflow mocks base method.

func (*MockIufService) EXPECT added in v0.2.4

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

func (*MockIufService) FindLastWorkflowForCurrentStage added in v0.9.23

func (m *MockIufService) FindLastWorkflowForCurrentStage(session *iuf.Session) *v1alpha1.Workflow

FindLastWorkflowForCurrentStage mocks base method.

func (*MockIufService) GetActivity added in v0.3.1

func (m *MockIufService) GetActivity(name string) (iuf.Activity, error)

GetActivity mocks base method.

func (*MockIufService) GetActivityHistory added in v0.4.1

func (m *MockIufService) GetActivityHistory(activityName string, startTime int32) (iuf.History, error)

GetActivityHistory mocks base method.

func (*MockIufService) GetSession added in v0.3.4

func (m *MockIufService) GetSession(sessionName string) (iuf.Session, error)

GetSession mocks base method.

func (*MockIufService) GetStages added in v0.9.3

func (m *MockIufService) GetStages() (iuf.Stages, error)

GetStages mocks base method.

func (*MockIufService) HistoryAbortAction added in v0.9.17

func (m *MockIufService) HistoryAbortAction(activityName string, req iuf.HistoryAbortRequest) (iuf.Session, error)

HistoryAbortAction mocks base method.

func (*MockIufService) HistoryBlockedAction added in v0.9.17

func (m *MockIufService) HistoryBlockedAction(activityName string, req iuf.HistoryActionRequest) (iuf.Session, error)

HistoryBlockedAction mocks base method.

func (*MockIufService) HistoryPausedAction added in v0.9.17

func (m *MockIufService) HistoryPausedAction(activityName string, req iuf.HistoryActionRequest) (iuf.Session, error)

HistoryPausedAction mocks base method.

func (*MockIufService) HistoryRestartAction added in v0.9.17

func (m *MockIufService) HistoryRestartAction(activityName string, req iuf.HistoryRestartRequest) (iuf.Session, error)

HistoryRestartAction mocks base method.

func (*MockIufService) HistoryResumeAction added in v0.9.17

func (m *MockIufService) HistoryResumeAction(activityName string, req iuf.HistoryActionRequest) (iuf.Session, error)

HistoryResumeAction mocks base method.

func (*MockIufService) HistoryRunAction added in v0.3.4

func (m *MockIufService) HistoryRunAction(activityName string, req iuf.HistoryRunActionRequest) (iuf.Session, error)

HistoryRunAction mocks base method.

func (*MockIufService) ListActivities added in v0.3.1

func (m *MockIufService) ListActivities() ([]iuf.Activity, error)

ListActivities mocks base method.

func (*MockIufService) ListActivityHistory added in v0.3.4

func (m *MockIufService) ListActivityHistory(activityName string) ([]iuf.History, error)

ListActivityHistory mocks base method.

func (*MockIufService) ListSessions added in v0.3.4

func (m *MockIufService) ListSessions(activityName string) ([]iuf.Session, error)

ListSessions mocks base method.

func (*MockIufService) PatchActivity added in v0.3.1

func (m *MockIufService) PatchActivity(activity iuf.Activity, req iuf.PatchActivityRequest) (iuf.Activity, error)

PatchActivity mocks base method.

func (*MockIufService) ProcessOutput added in v0.6.0

func (m *MockIufService) ProcessOutput(session *iuf.Session, workflow *v1alpha1.Workflow) error

ProcessOutput mocks base method.

func (*MockIufService) ReplaceHistoryComment added in v0.4.1

func (m *MockIufService) ReplaceHistoryComment(activityName string, startTime int32, req iuf.ReplaceHistoryCommentRequest) (iuf.History, error)

ReplaceHistoryComment mocks base method.

func (*MockIufService) RestartCurrentStage added in v0.9.23

func (m *MockIufService) RestartCurrentStage(session *iuf.Session, comment string) error

RestartCurrentStage mocks base method.

func (*MockIufService) RunNextStage added in v0.4.0

func (m *MockIufService) RunNextStage(session *iuf.Session) (iuf.SyncResponse, error, bool)

RunNextStage mocks base method.

func (*MockIufService) SyncWorkflowsToSession added in v0.9.23

func (m *MockIufService) SyncWorkflowsToSession(session *iuf.Session) error

SyncWorkflowsToSession mocks base method.

func (*MockIufService) UpdateActivityStateFromSessionState added in v0.4.0

func (m *MockIufService) UpdateActivityStateFromSessionState(session iuf.Session, comment string) error

UpdateActivityStateFromSessionState mocks base method.

func (*MockIufService) UpdateSession added in v0.4.0

func (m *MockIufService) UpdateSession(session iuf.Session) error

UpdateSession mocks base method.

func (*MockIufService) UpdateSessionAndActivity added in v0.9.13

func (m *MockIufService) UpdateSessionAndActivity(session iuf.Session, comment string) error

UpdateSessionAndActivity 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) ConfigMapDataToSession added in v0.4.0

func (mr *MockIufServiceMockRecorder) ConfigMapDataToSession(data interface{}) *gomock.Call

ConfigMapDataToSession indicates an expected call of ConfigMapDataToSession.

func (*MockIufServiceMockRecorder) CreateActivity added in v0.3.1

func (mr *MockIufServiceMockRecorder) CreateActivity(req interface{}) *gomock.Call

CreateActivity indicates an expected call of CreateActivity.

func (*MockIufServiceMockRecorder) CreateIufWorkflow added in v0.4.0

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

CreateIufWorkflow indicates an expected call of CreateIufWorkflow.

func (*MockIufServiceMockRecorder) FindLastWorkflowForCurrentStage added in v0.9.23

func (mr *MockIufServiceMockRecorder) FindLastWorkflowForCurrentStage(session interface{}) *gomock.Call

FindLastWorkflowForCurrentStage indicates an expected call of FindLastWorkflowForCurrentStage.

func (*MockIufServiceMockRecorder) GetActivity added in v0.3.1

func (mr *MockIufServiceMockRecorder) GetActivity(name interface{}) *gomock.Call

GetActivity indicates an expected call of GetActivity.

func (*MockIufServiceMockRecorder) GetActivityHistory added in v0.4.1

func (mr *MockIufServiceMockRecorder) GetActivityHistory(activityName, startTime interface{}) *gomock.Call

GetActivityHistory indicates an expected call of GetActivityHistory.

func (*MockIufServiceMockRecorder) GetSession added in v0.3.4

func (mr *MockIufServiceMockRecorder) GetSession(sessionName interface{}) *gomock.Call

GetSession indicates an expected call of GetSession.

func (*MockIufServiceMockRecorder) GetStages added in v0.9.3

func (mr *MockIufServiceMockRecorder) GetStages() *gomock.Call

GetStages indicates an expected call of GetStages.

func (*MockIufServiceMockRecorder) HistoryAbortAction added in v0.9.17

func (mr *MockIufServiceMockRecorder) HistoryAbortAction(activityName, req interface{}) *gomock.Call

HistoryAbortAction indicates an expected call of HistoryAbortAction.

func (*MockIufServiceMockRecorder) HistoryBlockedAction added in v0.9.17

func (mr *MockIufServiceMockRecorder) HistoryBlockedAction(activityName, req interface{}) *gomock.Call

HistoryBlockedAction indicates an expected call of HistoryBlockedAction.

func (*MockIufServiceMockRecorder) HistoryPausedAction added in v0.9.17

func (mr *MockIufServiceMockRecorder) HistoryPausedAction(activityName, req interface{}) *gomock.Call

HistoryPausedAction indicates an expected call of HistoryPausedAction.

func (*MockIufServiceMockRecorder) HistoryRestartAction added in v0.9.17

func (mr *MockIufServiceMockRecorder) HistoryRestartAction(activityName, req interface{}) *gomock.Call

HistoryRestartAction indicates an expected call of HistoryRestartAction.

func (*MockIufServiceMockRecorder) HistoryResumeAction added in v0.9.17

func (mr *MockIufServiceMockRecorder) HistoryResumeAction(activityName, req interface{}) *gomock.Call

HistoryResumeAction indicates an expected call of HistoryResumeAction.

func (*MockIufServiceMockRecorder) HistoryRunAction added in v0.3.4

func (mr *MockIufServiceMockRecorder) HistoryRunAction(activityName, req interface{}) *gomock.Call

HistoryRunAction indicates an expected call of HistoryRunAction.

func (*MockIufServiceMockRecorder) ListActivities added in v0.3.1

func (mr *MockIufServiceMockRecorder) ListActivities() *gomock.Call

ListActivities indicates an expected call of ListActivities.

func (*MockIufServiceMockRecorder) ListActivityHistory added in v0.3.4

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

ListActivityHistory indicates an expected call of ListActivityHistory.

func (*MockIufServiceMockRecorder) ListSessions added in v0.3.4

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

ListSessions indicates an expected call of ListSessions.

func (*MockIufServiceMockRecorder) PatchActivity added in v0.3.1

func (mr *MockIufServiceMockRecorder) PatchActivity(activity, req interface{}) *gomock.Call

PatchActivity indicates an expected call of PatchActivity.

func (*MockIufServiceMockRecorder) ProcessOutput added in v0.6.0

func (mr *MockIufServiceMockRecorder) ProcessOutput(session, workflow interface{}) *gomock.Call

ProcessOutput indicates an expected call of ProcessOutput.

func (*MockIufServiceMockRecorder) ReplaceHistoryComment added in v0.4.1

func (mr *MockIufServiceMockRecorder) ReplaceHistoryComment(activityName, startTime, req interface{}) *gomock.Call

ReplaceHistoryComment indicates an expected call of ReplaceHistoryComment.

func (*MockIufServiceMockRecorder) RestartCurrentStage added in v0.9.23

func (mr *MockIufServiceMockRecorder) RestartCurrentStage(session, comment interface{}) *gomock.Call

RestartCurrentStage indicates an expected call of RestartCurrentStage.

func (*MockIufServiceMockRecorder) RunNextStage added in v0.4.0

func (mr *MockIufServiceMockRecorder) RunNextStage(session interface{}) *gomock.Call

RunNextStage indicates an expected call of RunNextStage.

func (*MockIufServiceMockRecorder) SyncWorkflowsToSession added in v0.9.23

func (mr *MockIufServiceMockRecorder) SyncWorkflowsToSession(session interface{}) *gomock.Call

SyncWorkflowsToSession indicates an expected call of SyncWorkflowsToSession.

func (*MockIufServiceMockRecorder) UpdateActivityStateFromSessionState added in v0.4.0

func (mr *MockIufServiceMockRecorder) UpdateActivityStateFromSessionState(session, comment interface{}) *gomock.Call

UpdateActivityStateFromSessionState indicates an expected call of UpdateActivityStateFromSessionState.

func (*MockIufServiceMockRecorder) UpdateSession added in v0.4.0

func (mr *MockIufServiceMockRecorder) UpdateSession(session interface{}) *gomock.Call

UpdateSession indicates an expected call of UpdateSession.

func (*MockIufServiceMockRecorder) UpdateSessionAndActivity added in v0.9.13

func (mr *MockIufServiceMockRecorder) UpdateSessionAndActivity(session, comment interface{}) *gomock.Call

UpdateSessionAndActivity indicates an expected call of UpdateSessionAndActivity.

type MockKeycloakService added in v0.9.8

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

MockKeycloakService is a mock of KeycloakService interface.

func NewMockKeycloakService added in v0.9.8

func NewMockKeycloakService(ctrl *gomock.Controller) *MockKeycloakService

NewMockKeycloakService creates a new mock instance.

func (*MockKeycloakService) EXPECT added in v0.9.8

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

func (*MockKeycloakService) NewKeycloakAccessToken added in v0.9.8

func (m *MockKeycloakService) NewKeycloakAccessToken() (string, error)

NewKeycloakAccessToken mocks base method.

type MockKeycloakServiceMockRecorder added in v0.9.8

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

MockKeycloakServiceMockRecorder is the mock recorder for MockKeycloakService.

func (*MockKeycloakServiceMockRecorder) NewKeycloakAccessToken added in v0.9.8

func (mr *MockKeycloakServiceMockRecorder) NewKeycloakAccessToken() *gomock.Call

NewKeycloakAccessToken indicates an expected call of NewKeycloakAccessToken.

type MockNcnService added in v0.3.3

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

MockNcnService is a mock of NcnService interface.

func NewMockNcnService added in v0.3.3

func NewMockNcnService(ctrl *gomock.Controller) *MockNcnService

NewMockNcnService creates a new mock instance.

func (*MockNcnService) EXPECT added in v0.3.3

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

type MockNcnServiceMockRecorder added in v0.3.3

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

MockNcnServiceMockRecorder is the mock recorder for MockNcnService.

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) 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) 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