mocks

package
v0.1.28 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor struct {
	mock.Mock
}

Executor is an autogenerated mock type for the Executor type

func (*Executor) GetStatus

func (_m *Executor) GetStatus(ctx context.Context, executionID *core.WorkflowExecutionIdentifier) (*admin.ExecutionClosure, error)

GetStatus provides a mock function with given fields: ctx, executionID

func (*Executor) Initialize

func (_m *Executor) Initialize(ctx context.Context) error

Initialize provides a mock function with given fields: ctx

func (*Executor) Kill

func (_m *Executor) Kill(ctx context.Context, executionID *core.WorkflowExecutionIdentifier, reason string) error

Kill provides a mock function with given fields: ctx, executionID, reason

func (*Executor) Launch

func (_m *Executor) Launch(ctx context.Context, launchCtx launchplan.LaunchContext, executionID *core.WorkflowExecutionIdentifier, launchPlanRef *core.Identifier, inputs *core.LiteralMap) error

Launch provides a mock function with given fields: ctx, launchCtx, executionID, launchPlanRef, inputs

func (*Executor) OnGetStatus added in v0.1.13

func (_m *Executor) OnGetStatus(ctx context.Context, executionID *core.WorkflowExecutionIdentifier) *Executor_GetStatus

func (*Executor) OnGetStatusMatch added in v0.1.13

func (_m *Executor) OnGetStatusMatch(matchers ...interface{}) *Executor_GetStatus

func (*Executor) OnInitialize added in v0.1.13

func (_m *Executor) OnInitialize(ctx context.Context) *Executor_Initialize

func (*Executor) OnInitializeMatch added in v0.1.13

func (_m *Executor) OnInitializeMatch(matchers ...interface{}) *Executor_Initialize

func (*Executor) OnKill added in v0.1.13

func (_m *Executor) OnKill(ctx context.Context, executionID *core.WorkflowExecutionIdentifier, reason string) *Executor_Kill

func (*Executor) OnKillMatch added in v0.1.13

func (_m *Executor) OnKillMatch(matchers ...interface{}) *Executor_Kill

func (*Executor) OnLaunch added in v0.1.13

func (_m *Executor) OnLaunch(ctx context.Context, launchCtx launchplan.LaunchContext, executionID *core.WorkflowExecutionIdentifier, launchPlanRef *core.Identifier, inputs *core.LiteralMap) *Executor_Launch

func (*Executor) OnLaunchMatch added in v0.1.13

func (_m *Executor) OnLaunchMatch(matchers ...interface{}) *Executor_Launch

type Executor_GetStatus added in v0.1.13

type Executor_GetStatus struct {
	*mock.Call
}

func (Executor_GetStatus) Return added in v0.1.13

type Executor_Initialize added in v0.1.13

type Executor_Initialize struct {
	*mock.Call
}

func (Executor_Initialize) Return added in v0.1.13

type Executor_Kill added in v0.1.13

type Executor_Kill struct {
	*mock.Call
}

func (Executor_Kill) Return added in v0.1.13

func (_m Executor_Kill) Return(_a0 error) *Executor_Kill

type Executor_Launch added in v0.1.13

type Executor_Launch struct {
	*mock.Call
}

func (Executor_Launch) Return added in v0.1.13

func (_m Executor_Launch) Return(_a0 error) *Executor_Launch

Jump to

Keyboard shortcuts

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