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