Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockIufService
- type MockIufServiceMockRecorder
- type MockWorkflowService
- func (m *MockWorkflowService) CreateIufWorkflow(req v1.IufSessionSpec) (*v1alpha1.Workflow, error)
- 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) CreateIufWorkflow(req interface{}) *gomock.Call
- 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) 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) 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 ¶
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) 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.