mock_argowf

package
v0.0.0-...-556b52b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_argowf is a generated GoMock package.

Index

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL