Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- 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) 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) 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 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) 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) 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.