Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockIufService
- func (m *MockIufService) ConfigMapDataToSession(data string) (iuf.Session, error)
- func (m *MockIufService) CreateActivity(req iuf.CreateActivityRequest) error
- func (m *MockIufService) CreateIufWorkflow(req iuf.Session) (*v1alpha1.Workflow, error)
- func (m *MockIufService) EXPECT() *MockIufServiceMockRecorder
- func (m *MockIufService) GetActivity(name string) (iuf.Activity, error)
- func (m *MockIufService) GetSession(sessionName string) (iuf.Session, string, error)
- func (m *MockIufService) HistoryRunAction(activityName string, req iuf.HistoryRunActionRequest) error
- func (m *MockIufService) ListActivities() ([]iuf.Activity, error)
- func (m *MockIufService) ListActivityHistory(activityName string) ([]iuf.History, error)
- func (m *MockIufService) ListSessions(activityName string) ([]iuf.Session, error)
- func (m *MockIufService) PatchActivity(name string, req iuf.PatchActivityRequest) (iuf.Activity, error)
- func (m *MockIufService) RunNextStage(session *iuf.Session, activityRef string) (iuf.SyncResponse, error)
- func (m *MockIufService) UpdateActivityStateFromSessionState(session iuf.Session, activityRef string) error
- func (m *MockIufService) UpdateSession(session iuf.Session, activityRef string) error
- type MockIufServiceMockRecorder
- func (mr *MockIufServiceMockRecorder) ConfigMapDataToSession(data interface{}) *gomock.Call
- func (mr *MockIufServiceMockRecorder) CreateActivity(req interface{}) *gomock.Call
- func (mr *MockIufServiceMockRecorder) CreateIufWorkflow(req interface{}) *gomock.Call
- func (mr *MockIufServiceMockRecorder) GetActivity(name interface{}) *gomock.Call
- func (mr *MockIufServiceMockRecorder) GetSession(sessionName interface{}) *gomock.Call
- func (mr *MockIufServiceMockRecorder) HistoryRunAction(activityName, req interface{}) *gomock.Call
- func (mr *MockIufServiceMockRecorder) ListActivities() *gomock.Call
- func (mr *MockIufServiceMockRecorder) ListActivityHistory(activityName interface{}) *gomock.Call
- func (mr *MockIufServiceMockRecorder) ListSessions(activityName interface{}) *gomock.Call
- func (mr *MockIufServiceMockRecorder) PatchActivity(name, req interface{}) *gomock.Call
- func (mr *MockIufServiceMockRecorder) RunNextStage(session, activityRef interface{}) *gomock.Call
- func (mr *MockIufServiceMockRecorder) UpdateActivityStateFromSessionState(session, activityRef interface{}) *gomock.Call
- func (mr *MockIufServiceMockRecorder) UpdateSession(session, activityRef interface{}) *gomock.Call
- type MockNcnService
- type MockNcnServiceMockRecorder
- type MockWorkflowService
- func (m *MockWorkflowService) CreateRebuildWorkflow(req models.CreateRebuildWorkflowRequest) (*v1alpha1.Workflow, error)
- func (m *MockWorkflowService) DeleteWorkflow(ctx *gin.Context) error
- func (m *MockWorkflowService) EXPECT() *MockWorkflowServiceMockRecorder
- func (m *MockWorkflowService) GetWorkflowByName(name string, ctx *gin.Context) (*v1alpha1.Workflow, error)
- func (m *MockWorkflowService) GetWorkflows(ctx *gin.Context) (*v1alpha1.WorkflowList, error)
- func (m *MockWorkflowService) InitializeWorkflowTemplate(template []byte) error
- func (m *MockWorkflowService) RerunWorkflow(ctx *gin.Context) error
- func (m *MockWorkflowService) RetryWorkflow(ctx *gin.Context) error
- type MockWorkflowServiceMockRecorder
- func (mr *MockWorkflowServiceMockRecorder) CreateRebuildWorkflow(req interface{}) *gomock.Call
- func (mr *MockWorkflowServiceMockRecorder) DeleteWorkflow(ctx interface{}) *gomock.Call
- func (mr *MockWorkflowServiceMockRecorder) GetWorkflowByName(name, ctx interface{}) *gomock.Call
- func (mr *MockWorkflowServiceMockRecorder) GetWorkflows(ctx interface{}) *gomock.Call
- func (mr *MockWorkflowServiceMockRecorder) InitializeWorkflowTemplate(template interface{}) *gomock.Call
- func (mr *MockWorkflowServiceMockRecorder) RerunWorkflow(ctx interface{}) *gomock.Call
- func (mr *MockWorkflowServiceMockRecorder) RetryWorkflow(ctx interface{}) *gomock.Call
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) error
CreateActivity mocks base method.
func (*MockIufService) CreateIufWorkflow ¶ added in v0.4.0
CreateIufWorkflow mocks base method.
func (*MockIufService) EXPECT ¶ added in v0.2.4
func (m *MockIufService) EXPECT() *MockIufServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIufService) GetActivity ¶ added in v0.3.1
func (m *MockIufService) GetActivity(name string) (iuf.Activity, error)
GetActivity mocks base method.
func (*MockIufService) GetSession ¶ added in v0.3.4
GetSession mocks base method.
func (*MockIufService) HistoryRunAction ¶ added in v0.3.4
func (m *MockIufService) HistoryRunAction(activityName string, req iuf.HistoryRunActionRequest) 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(name string, req iuf.PatchActivityRequest) (iuf.Activity, error)
PatchActivity mocks base method.
func (*MockIufService) RunNextStage ¶ added in v0.4.0
func (m *MockIufService) RunNextStage(session *iuf.Session, activityRef string) (iuf.SyncResponse, error)
RunNextStage mocks base method.
func (*MockIufService) UpdateActivityStateFromSessionState ¶ added in v0.4.0
func (m *MockIufService) UpdateActivityStateFromSessionState(session iuf.Session, activityRef string) error
UpdateActivityStateFromSessionState mocks base method.
func (*MockIufService) UpdateSession ¶ added in v0.4.0
func (m *MockIufService) UpdateSession(session iuf.Session, activityRef string) error
UpdateSession 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) GetActivity ¶ added in v0.3.1
func (mr *MockIufServiceMockRecorder) GetActivity(name interface{}) *gomock.Call
GetActivity indicates an expected call of GetActivity.
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) 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(name, req interface{}) *gomock.Call
PatchActivity indicates an expected call of PatchActivity.
func (*MockIufServiceMockRecorder) RunNextStage ¶ added in v0.4.0
func (mr *MockIufServiceMockRecorder) RunNextStage(session, activityRef interface{}) *gomock.Call
RunNextStage indicates an expected call of RunNextStage.
func (*MockIufServiceMockRecorder) UpdateActivityStateFromSessionState ¶ added in v0.4.0
func (mr *MockIufServiceMockRecorder) UpdateActivityStateFromSessionState(session, activityRef interface{}) *gomock.Call
UpdateActivityStateFromSessionState indicates an expected call of UpdateActivityStateFromSessionState.
func (*MockIufServiceMockRecorder) UpdateSession ¶ added in v0.4.0
func (mr *MockIufServiceMockRecorder) UpdateSession(session, activityRef interface{}) *gomock.Call
UpdateSession indicates an expected call of UpdateSession.
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
func (m *MockNcnService) EXPECT() *MockNcnServiceMockRecorder
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 ¶
func (m *MockWorkflowService) CreateRebuildWorkflow(req models.CreateRebuildWorkflowRequest) (*v1alpha1.Workflow, error)
CreateRebuildWorkflow mocks base method.
func (*MockWorkflowService) DeleteWorkflow ¶
func (m *MockWorkflowService) DeleteWorkflow(ctx *gin.Context) error
DeleteWorkflow mocks base method.
func (*MockWorkflowService) EXPECT ¶
func (m *MockWorkflowService) EXPECT() *MockWorkflowServiceMockRecorder
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.