mocks

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 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

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

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

func (*Executor) OnGetStatusMatch

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

func (*Executor) OnInitialize

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

func (*Executor) OnInitializeMatch

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

func (*Executor) OnKill

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

func (*Executor) OnKillMatch

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

func (*Executor) OnLaunch

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

func (*Executor) OnLaunchMatch

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

type Executor_GetStatus

type Executor_GetStatus struct {
	*mock.Call
}

func (Executor_GetStatus) Return

type Executor_Initialize

type Executor_Initialize struct {
	*mock.Call
}

func (Executor_Initialize) Return

type Executor_Kill

type Executor_Kill struct {
	*mock.Call
}

func (Executor_Kill) Return

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

type Executor_Launch

type Executor_Launch struct {
	*mock.Call
}

func (Executor_Launch) Return

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

type KozmoAdmin

type KozmoAdmin struct {
	mock.Mock
}

KozmoAdmin is an autogenerated mock type for the KozmoAdmin type

func (*KozmoAdmin) GetLaunchPlan

func (_m *KozmoAdmin) GetLaunchPlan(ctx context.Context, launchPlanRef *core.Identifier) (*admin.LaunchPlan, error)

GetLaunchPlan provides a mock function with given fields: ctx, launchPlanRef

func (*KozmoAdmin) GetStatus

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

func (*KozmoAdmin) Initialize

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

Initialize provides a mock function with given fields: ctx

func (*KozmoAdmin) Kill

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

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

func (*KozmoAdmin) Launch

func (_m *KozmoAdmin) 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 (*KozmoAdmin) OnGetLaunchPlan

func (_m *KozmoAdmin) OnGetLaunchPlan(ctx context.Context, launchPlanRef *core.Identifier) *KozmoAdmin_GetLaunchPlan

func (*KozmoAdmin) OnGetLaunchPlanMatch

func (_m *KozmoAdmin) OnGetLaunchPlanMatch(matchers ...interface{}) *KozmoAdmin_GetLaunchPlan

func (*KozmoAdmin) OnGetStatus

func (_m *KozmoAdmin) OnGetStatus(ctx context.Context, executionID *core.WorkflowExecutionIdentifier) *KozmoAdmin_GetStatus

func (*KozmoAdmin) OnGetStatusMatch

func (_m *KozmoAdmin) OnGetStatusMatch(matchers ...interface{}) *KozmoAdmin_GetStatus

func (*KozmoAdmin) OnInitialize

func (_m *KozmoAdmin) OnInitialize(ctx context.Context) *KozmoAdmin_Initialize

func (*KozmoAdmin) OnInitializeMatch

func (_m *KozmoAdmin) OnInitializeMatch(matchers ...interface{}) *KozmoAdmin_Initialize

func (*KozmoAdmin) OnKill

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

func (*KozmoAdmin) OnKillMatch

func (_m *KozmoAdmin) OnKillMatch(matchers ...interface{}) *KozmoAdmin_Kill

func (*KozmoAdmin) OnLaunch

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

func (*KozmoAdmin) OnLaunchMatch

func (_m *KozmoAdmin) OnLaunchMatch(matchers ...interface{}) *KozmoAdmin_Launch

type KozmoAdmin_GetLaunchPlan

type KozmoAdmin_GetLaunchPlan struct {
	*mock.Call
}

func (KozmoAdmin_GetLaunchPlan) Return

type KozmoAdmin_GetStatus

type KozmoAdmin_GetStatus struct {
	*mock.Call
}

func (KozmoAdmin_GetStatus) Return

type KozmoAdmin_Initialize

type KozmoAdmin_Initialize struct {
	*mock.Call
}

func (KozmoAdmin_Initialize) Return

type KozmoAdmin_Kill

type KozmoAdmin_Kill struct {
	*mock.Call
}

func (KozmoAdmin_Kill) Return

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

type KozmoAdmin_Launch

type KozmoAdmin_Launch struct {
	*mock.Call
}

func (KozmoAdmin_Launch) Return

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

type Reader

type Reader struct {
	mock.Mock
}

Reader is an autogenerated mock type for the Reader type

func (*Reader) GetLaunchPlan

func (_m *Reader) GetLaunchPlan(ctx context.Context, launchPlanRef *core.Identifier) (*admin.LaunchPlan, error)

GetLaunchPlan provides a mock function with given fields: ctx, launchPlanRef

func (*Reader) OnGetLaunchPlan

func (_m *Reader) OnGetLaunchPlan(ctx context.Context, launchPlanRef *core.Identifier) *Reader_GetLaunchPlan

func (*Reader) OnGetLaunchPlanMatch

func (_m *Reader) OnGetLaunchPlanMatch(matchers ...interface{}) *Reader_GetLaunchPlan

type Reader_GetLaunchPlan

type Reader_GetLaunchPlan struct {
	*mock.Call
}

func (Reader_GetLaunchPlan) Return

Jump to

Keyboard shortcuts

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