Documentation ¶
Index ¶
- type WorkflowServiceClient
- func (_m *WorkflowServiceClient) CreateWorkflow(ctx context.Context, in *workflow.WorkflowCreateRequest, ...) (*v1alpha1.Workflow, error)
- func (_m *WorkflowServiceClient) DeleteWorkflow(ctx context.Context, in *workflow.WorkflowDeleteRequest, ...) (*workflow.WorkflowDeleteResponse, error)
- func (_m *WorkflowServiceClient) GetWorkflow(ctx context.Context, in *workflow.WorkflowGetRequest, opts ...grpc.CallOption) (*v1alpha1.Workflow, error)
- func (_m *WorkflowServiceClient) LintWorkflow(ctx context.Context, in *workflow.WorkflowLintRequest, opts ...grpc.CallOption) (*v1alpha1.Workflow, error)
- func (_m *WorkflowServiceClient) ListWorkflows(ctx context.Context, in *workflow.WorkflowListRequest, opts ...grpc.CallOption) (*v1alpha1.WorkflowList, error)
- func (_m *WorkflowServiceClient) PodLogs(ctx context.Context, in *workflow.WorkflowLogRequest, opts ...grpc.CallOption) (workflow.WorkflowService_PodLogsClient, error)
- func (_m *WorkflowServiceClient) ResubmitWorkflow(ctx context.Context, in *workflow.WorkflowResubmitRequest, ...) (*v1alpha1.Workflow, error)
- func (_m *WorkflowServiceClient) ResumeWorkflow(ctx context.Context, in *workflow.WorkflowResumeRequest, ...) (*v1alpha1.Workflow, error)
- func (_m *WorkflowServiceClient) RetryWorkflow(ctx context.Context, in *workflow.WorkflowRetryRequest, ...) (*v1alpha1.Workflow, error)
- func (_m *WorkflowServiceClient) SetWorkflow(ctx context.Context, in *workflow.WorkflowSetRequest, opts ...grpc.CallOption) (*v1alpha1.Workflow, error)
- func (_m *WorkflowServiceClient) StopWorkflow(ctx context.Context, in *workflow.WorkflowStopRequest, opts ...grpc.CallOption) (*v1alpha1.Workflow, error)
- func (_m *WorkflowServiceClient) SubmitWorkflow(ctx context.Context, in *workflow.WorkflowSubmitRequest, ...) (*v1alpha1.Workflow, error)
- func (_m *WorkflowServiceClient) SuspendWorkflow(ctx context.Context, in *workflow.WorkflowSuspendRequest, ...) (*v1alpha1.Workflow, error)
- func (_m *WorkflowServiceClient) TerminateWorkflow(ctx context.Context, in *workflow.WorkflowTerminateRequest, ...) (*v1alpha1.Workflow, error)
- func (_m *WorkflowServiceClient) WatchEvents(ctx context.Context, in *workflow.WatchEventsRequest, opts ...grpc.CallOption) (workflow.WorkflowService_WatchEventsClient, error)
- func (_m *WorkflowServiceClient) WatchWorkflows(ctx context.Context, in *workflow.WatchWorkflowsRequest, ...) (workflow.WorkflowService_WatchWorkflowsClient, error)
- func (_m *WorkflowServiceClient) WorkflowLogs(ctx context.Context, in *workflow.WorkflowLogRequest, opts ...grpc.CallOption) (workflow.WorkflowService_WorkflowLogsClient, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkflowServiceClient ¶
WorkflowServiceClient is an autogenerated mock type for the WorkflowServiceClient type
func NewWorkflowServiceClient ¶ added in v3.4.8
func NewWorkflowServiceClient(t interface { mock.TestingT Cleanup(func()) }) *WorkflowServiceClient
NewWorkflowServiceClient creates a new instance of WorkflowServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*WorkflowServiceClient) CreateWorkflow ¶
func (_m *WorkflowServiceClient) CreateWorkflow(ctx context.Context, in *workflow.WorkflowCreateRequest, opts ...grpc.CallOption) (*v1alpha1.Workflow, error)
CreateWorkflow provides a mock function with given fields: ctx, in, opts
func (*WorkflowServiceClient) DeleteWorkflow ¶
func (_m *WorkflowServiceClient) DeleteWorkflow(ctx context.Context, in *workflow.WorkflowDeleteRequest, opts ...grpc.CallOption) (*workflow.WorkflowDeleteResponse, error)
DeleteWorkflow provides a mock function with given fields: ctx, in, opts
func (*WorkflowServiceClient) GetWorkflow ¶
func (_m *WorkflowServiceClient) GetWorkflow(ctx context.Context, in *workflow.WorkflowGetRequest, opts ...grpc.CallOption) (*v1alpha1.Workflow, error)
GetWorkflow provides a mock function with given fields: ctx, in, opts
func (*WorkflowServiceClient) LintWorkflow ¶
func (_m *WorkflowServiceClient) LintWorkflow(ctx context.Context, in *workflow.WorkflowLintRequest, opts ...grpc.CallOption) (*v1alpha1.Workflow, error)
LintWorkflow provides a mock function with given fields: ctx, in, opts
func (*WorkflowServiceClient) ListWorkflows ¶
func (_m *WorkflowServiceClient) ListWorkflows(ctx context.Context, in *workflow.WorkflowListRequest, opts ...grpc.CallOption) (*v1alpha1.WorkflowList, error)
ListWorkflows provides a mock function with given fields: ctx, in, opts
func (*WorkflowServiceClient) PodLogs ¶
func (_m *WorkflowServiceClient) PodLogs(ctx context.Context, in *workflow.WorkflowLogRequest, opts ...grpc.CallOption) (workflow.WorkflowService_PodLogsClient, error)
PodLogs provides a mock function with given fields: ctx, in, opts
func (*WorkflowServiceClient) ResubmitWorkflow ¶
func (_m *WorkflowServiceClient) ResubmitWorkflow(ctx context.Context, in *workflow.WorkflowResubmitRequest, opts ...grpc.CallOption) (*v1alpha1.Workflow, error)
ResubmitWorkflow provides a mock function with given fields: ctx, in, opts
func (*WorkflowServiceClient) ResumeWorkflow ¶
func (_m *WorkflowServiceClient) ResumeWorkflow(ctx context.Context, in *workflow.WorkflowResumeRequest, opts ...grpc.CallOption) (*v1alpha1.Workflow, error)
ResumeWorkflow provides a mock function with given fields: ctx, in, opts
func (*WorkflowServiceClient) RetryWorkflow ¶
func (_m *WorkflowServiceClient) RetryWorkflow(ctx context.Context, in *workflow.WorkflowRetryRequest, opts ...grpc.CallOption) (*v1alpha1.Workflow, error)
RetryWorkflow provides a mock function with given fields: ctx, in, opts
func (*WorkflowServiceClient) SetWorkflow ¶
func (_m *WorkflowServiceClient) SetWorkflow(ctx context.Context, in *workflow.WorkflowSetRequest, opts ...grpc.CallOption) (*v1alpha1.Workflow, error)
SetWorkflow provides a mock function with given fields: ctx, in, opts
func (*WorkflowServiceClient) StopWorkflow ¶
func (_m *WorkflowServiceClient) StopWorkflow(ctx context.Context, in *workflow.WorkflowStopRequest, opts ...grpc.CallOption) (*v1alpha1.Workflow, error)
StopWorkflow provides a mock function with given fields: ctx, in, opts
func (*WorkflowServiceClient) SubmitWorkflow ¶
func (_m *WorkflowServiceClient) SubmitWorkflow(ctx context.Context, in *workflow.WorkflowSubmitRequest, opts ...grpc.CallOption) (*v1alpha1.Workflow, error)
SubmitWorkflow provides a mock function with given fields: ctx, in, opts
func (*WorkflowServiceClient) SuspendWorkflow ¶
func (_m *WorkflowServiceClient) SuspendWorkflow(ctx context.Context, in *workflow.WorkflowSuspendRequest, opts ...grpc.CallOption) (*v1alpha1.Workflow, error)
SuspendWorkflow provides a mock function with given fields: ctx, in, opts
func (*WorkflowServiceClient) TerminateWorkflow ¶
func (_m *WorkflowServiceClient) TerminateWorkflow(ctx context.Context, in *workflow.WorkflowTerminateRequest, opts ...grpc.CallOption) (*v1alpha1.Workflow, error)
TerminateWorkflow provides a mock function with given fields: ctx, in, opts
func (*WorkflowServiceClient) WatchEvents ¶
func (_m *WorkflowServiceClient) WatchEvents(ctx context.Context, in *workflow.WatchEventsRequest, opts ...grpc.CallOption) (workflow.WorkflowService_WatchEventsClient, error)
WatchEvents provides a mock function with given fields: ctx, in, opts
func (*WorkflowServiceClient) WatchWorkflows ¶
func (_m *WorkflowServiceClient) WatchWorkflows(ctx context.Context, in *workflow.WatchWorkflowsRequest, opts ...grpc.CallOption) (workflow.WorkflowService_WatchWorkflowsClient, error)
WatchWorkflows provides a mock function with given fields: ctx, in, opts
func (*WorkflowServiceClient) WorkflowLogs ¶
func (_m *WorkflowServiceClient) WorkflowLogs(ctx context.Context, in *workflow.WorkflowLogRequest, opts ...grpc.CallOption) (workflow.WorkflowService_WorkflowLogsClient, error)
WorkflowLogs provides a mock function with given fields: ctx, in, opts