Documentation ¶
Overview ¶
Package mock_argowf is a generated GoMock package.
Index ¶
- type MockArgoClient
- func (m *MockArgoClient) EXPECT() *MockArgoClientMockRecorder
- func (m *MockArgoClient) GetWorkflow(ctx context.Context, namespace, workflowName string) (*argowf.Workflow, error)
- func (m *MockArgoClient) GetWorkflowLog(ctx context.Context, namespace, container, workflowName string) (string, error)
- func (m *MockArgoClient) GetWorkflowTemplates(ctx context.Context, namespace string) (*argowf.GetWorkflowTemplatesResponse, error)
- func (m *MockArgoClient) GetWorkflows(ctx context.Context, namespace string) (*argowf.GetWorkflowsResponse, error)
- func (m *MockArgoClient) IsPausedWorkflow(ctx context.Context, namespace, workflowName string) (bool, error)
- func (m *MockArgoClient) ResumeWorkflow(ctx context.Context, namespace, workflowName string) (*argowf.Workflow, error)
- func (m *MockArgoClient) SumbitWorkflowFromWftpl(ctx context.Context, wftplName string, opts argowf.SubmitOptions) (string, error)
- type MockArgoClientMockRecorder
- func (mr *MockArgoClientMockRecorder) GetWorkflow(ctx, namespace, workflowName interface{}) *gomock.Call
- func (mr *MockArgoClientMockRecorder) GetWorkflowLog(ctx, namespace, container, workflowName interface{}) *gomock.Call
- func (mr *MockArgoClientMockRecorder) GetWorkflowTemplates(ctx, namespace interface{}) *gomock.Call
- func (mr *MockArgoClientMockRecorder) GetWorkflows(ctx, namespace interface{}) *gomock.Call
- func (mr *MockArgoClientMockRecorder) IsPausedWorkflow(ctx, namespace, workflowName interface{}) *gomock.Call
- func (mr *MockArgoClientMockRecorder) ResumeWorkflow(ctx, namespace, workflowName interface{}) *gomock.Call
- func (mr *MockArgoClientMockRecorder) SumbitWorkflowFromWftpl(ctx, wftplName, opts interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockArgoClient ¶
type MockArgoClient struct {
// contains filtered or unexported fields
}
MockArgoClient is a mock of ArgoClient interface.
func NewMockArgoClient ¶
func NewMockArgoClient(ctrl *gomock.Controller) *MockArgoClient
NewMockArgoClient creates a new mock instance.
func (*MockArgoClient) EXPECT ¶
func (m *MockArgoClient) EXPECT() *MockArgoClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockArgoClient) GetWorkflow ¶
func (m *MockArgoClient) GetWorkflow(ctx context.Context, namespace, workflowName string) (*argowf.Workflow, error)
GetWorkflow mocks base method.
func (*MockArgoClient) GetWorkflowLog ¶
func (m *MockArgoClient) GetWorkflowLog(ctx context.Context, namespace, container, workflowName string) (string, error)
GetWorkflowLog mocks base method.
func (*MockArgoClient) GetWorkflowTemplates ¶
func (m *MockArgoClient) GetWorkflowTemplates(ctx context.Context, namespace string) (*argowf.GetWorkflowTemplatesResponse, error)
GetWorkflowTemplates mocks base method.
func (*MockArgoClient) GetWorkflows ¶
func (m *MockArgoClient) GetWorkflows(ctx context.Context, namespace string) (*argowf.GetWorkflowsResponse, error)
GetWorkflows mocks base method.
func (*MockArgoClient) IsPausedWorkflow ¶
func (m *MockArgoClient) IsPausedWorkflow(ctx context.Context, namespace, workflowName string) (bool, error)
IsPausedWorkflow mocks base method.
func (*MockArgoClient) ResumeWorkflow ¶
func (m *MockArgoClient) ResumeWorkflow(ctx context.Context, namespace, workflowName string) (*argowf.Workflow, error)
ResumeWorkflow mocks base method.
func (*MockArgoClient) SumbitWorkflowFromWftpl ¶
func (m *MockArgoClient) SumbitWorkflowFromWftpl(ctx context.Context, wftplName string, opts argowf.SubmitOptions) (string, error)
SumbitWorkflowFromWftpl mocks base method.
type MockArgoClientMockRecorder ¶
type MockArgoClientMockRecorder struct {
// contains filtered or unexported fields
}
MockArgoClientMockRecorder is the mock recorder for MockArgoClient.
func (*MockArgoClientMockRecorder) GetWorkflow ¶
func (mr *MockArgoClientMockRecorder) GetWorkflow(ctx, namespace, workflowName interface{}) *gomock.Call
GetWorkflow indicates an expected call of GetWorkflow.
func (*MockArgoClientMockRecorder) GetWorkflowLog ¶
func (mr *MockArgoClientMockRecorder) GetWorkflowLog(ctx, namespace, container, workflowName interface{}) *gomock.Call
GetWorkflowLog indicates an expected call of GetWorkflowLog.
func (*MockArgoClientMockRecorder) GetWorkflowTemplates ¶
func (mr *MockArgoClientMockRecorder) GetWorkflowTemplates(ctx, namespace interface{}) *gomock.Call
GetWorkflowTemplates indicates an expected call of GetWorkflowTemplates.
func (*MockArgoClientMockRecorder) GetWorkflows ¶
func (mr *MockArgoClientMockRecorder) GetWorkflows(ctx, namespace interface{}) *gomock.Call
GetWorkflows indicates an expected call of GetWorkflows.
func (*MockArgoClientMockRecorder) IsPausedWorkflow ¶
func (mr *MockArgoClientMockRecorder) IsPausedWorkflow(ctx, namespace, workflowName interface{}) *gomock.Call
IsPausedWorkflow indicates an expected call of IsPausedWorkflow.
func (*MockArgoClientMockRecorder) ResumeWorkflow ¶
func (mr *MockArgoClientMockRecorder) ResumeWorkflow(ctx, namespace, workflowName interface{}) *gomock.Call
ResumeWorkflow indicates an expected call of ResumeWorkflow.
func (*MockArgoClientMockRecorder) SumbitWorkflowFromWftpl ¶
func (mr *MockArgoClientMockRecorder) SumbitWorkflowFromWftpl(ctx, wftplName, opts interface{}) *gomock.Call
SumbitWorkflowFromWftpl indicates an expected call of SumbitWorkflowFromWftpl.