mocks

package
v0.16.5 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskNodeHandler

type TaskNodeHandler struct {
	mock.Mock
}

TaskNodeHandler is an autogenerated mock type for the TaskNodeHandler type

func (*TaskNodeHandler) Abort

func (_m *TaskNodeHandler) Abort(ctx context.Context, executionContext handler.NodeExecutionContext, reason string) error

Abort provides a mock function with given fields: ctx, executionContext, reason

func (*TaskNodeHandler) Finalize

func (_m *TaskNodeHandler) Finalize(ctx context.Context, executionContext handler.NodeExecutionContext) error

Finalize provides a mock function with given fields: ctx, executionContext

func (*TaskNodeHandler) FinalizeRequired

func (_m *TaskNodeHandler) FinalizeRequired() bool

FinalizeRequired provides a mock function with given fields:

func (*TaskNodeHandler) Handle

func (_m *TaskNodeHandler) Handle(ctx context.Context, executionContext handler.NodeExecutionContext) (handler.Transition, error)

Handle provides a mock function with given fields: ctx, executionContext

func (*TaskNodeHandler) OnAbort

func (_m *TaskNodeHandler) OnAbort(ctx context.Context, executionContext handler.NodeExecutionContext, reason string) *TaskNodeHandler_Abort

func (*TaskNodeHandler) OnAbortMatch

func (_m *TaskNodeHandler) OnAbortMatch(matchers ...interface{}) *TaskNodeHandler_Abort

func (*TaskNodeHandler) OnFinalize

func (*TaskNodeHandler) OnFinalizeMatch

func (_m *TaskNodeHandler) OnFinalizeMatch(matchers ...interface{}) *TaskNodeHandler_Finalize

func (*TaskNodeHandler) OnFinalizeRequired

func (_m *TaskNodeHandler) OnFinalizeRequired() *TaskNodeHandler_FinalizeRequired

func (*TaskNodeHandler) OnFinalizeRequiredMatch

func (_m *TaskNodeHandler) OnFinalizeRequiredMatch(matchers ...interface{}) *TaskNodeHandler_FinalizeRequired

func (*TaskNodeHandler) OnHandle

func (*TaskNodeHandler) OnHandleMatch

func (_m *TaskNodeHandler) OnHandleMatch(matchers ...interface{}) *TaskNodeHandler_Handle

func (*TaskNodeHandler) OnSetup

func (_m *TaskNodeHandler) OnSetup(ctx context.Context, setupContext handler.SetupContext) *TaskNodeHandler_Setup

func (*TaskNodeHandler) OnSetupMatch

func (_m *TaskNodeHandler) OnSetupMatch(matchers ...interface{}) *TaskNodeHandler_Setup

func (*TaskNodeHandler) OnValidateOutputAndCacheAdd

func (*TaskNodeHandler) OnValidateOutputAndCacheAddMatch

func (_m *TaskNodeHandler) OnValidateOutputAndCacheAddMatch(matchers ...interface{}) *TaskNodeHandler_ValidateOutputAndCacheAdd

func (*TaskNodeHandler) Setup

func (_m *TaskNodeHandler) Setup(ctx context.Context, setupContext handler.SetupContext) error

Setup provides a mock function with given fields: ctx, setupContext

func (*TaskNodeHandler) ValidateOutputAndCacheAdd

func (_m *TaskNodeHandler) ValidateOutputAndCacheAdd(ctx context.Context, nodeID string, i io.InputReader, r io.OutputReader, outputCommitter io.OutputWriter, executionConfig v1alpha1.ExecutionConfig, tr ioutils.SimpleTaskReader, m catalog.Metadata) (catalog.Status, *io.ExecutionError, error)

ValidateOutputAndCacheAdd provides a mock function with given fields: ctx, nodeID, i, r, outputCommitter, executionConfig, tr, m

type TaskNodeHandler_Abort

type TaskNodeHandler_Abort struct {
	*mock.Call
}

func (TaskNodeHandler_Abort) Return

type TaskNodeHandler_Finalize

type TaskNodeHandler_Finalize struct {
	*mock.Call
}

func (TaskNodeHandler_Finalize) Return

type TaskNodeHandler_FinalizeRequired

type TaskNodeHandler_FinalizeRequired struct {
	*mock.Call
}

func (TaskNodeHandler_FinalizeRequired) Return

type TaskNodeHandler_Handle

type TaskNodeHandler_Handle struct {
	*mock.Call
}

func (TaskNodeHandler_Handle) Return

type TaskNodeHandler_Setup

type TaskNodeHandler_Setup struct {
	*mock.Call
}

func (TaskNodeHandler_Setup) Return

type TaskNodeHandler_ValidateOutputAndCacheAdd

type TaskNodeHandler_ValidateOutputAndCacheAdd struct {
	*mock.Call
}

func (TaskNodeHandler_ValidateOutputAndCacheAdd) Return

Jump to

Keyboard shortcuts

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