mocks

package
v1.9.30 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 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 FlyteAdmin

type FlyteAdmin struct {
	mock.Mock
}

FlyteAdmin is an autogenerated mock type for the FlyteAdmin type

func (*FlyteAdmin) GetLaunchPlan

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

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

func (*FlyteAdmin) GetStatus

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

func (*FlyteAdmin) Initialize

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

Initialize provides a mock function with given fields: ctx

func (*FlyteAdmin) Kill

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

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

func (*FlyteAdmin) Launch

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

func (_m *FlyteAdmin) OnGetLaunchPlan(ctx context.Context, launchPlanRef *core.Identifier) *FlyteAdmin_GetLaunchPlan

func (*FlyteAdmin) OnGetLaunchPlanMatch

func (_m *FlyteAdmin) OnGetLaunchPlanMatch(matchers ...interface{}) *FlyteAdmin_GetLaunchPlan

func (*FlyteAdmin) OnGetStatus

func (_m *FlyteAdmin) OnGetStatus(ctx context.Context, executionID *core.WorkflowExecutionIdentifier) *FlyteAdmin_GetStatus

func (*FlyteAdmin) OnGetStatusMatch

func (_m *FlyteAdmin) OnGetStatusMatch(matchers ...interface{}) *FlyteAdmin_GetStatus

func (*FlyteAdmin) OnInitialize

func (_m *FlyteAdmin) OnInitialize(ctx context.Context) *FlyteAdmin_Initialize

func (*FlyteAdmin) OnInitializeMatch

func (_m *FlyteAdmin) OnInitializeMatch(matchers ...interface{}) *FlyteAdmin_Initialize

func (*FlyteAdmin) OnKill

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

func (*FlyteAdmin) OnKillMatch

func (_m *FlyteAdmin) OnKillMatch(matchers ...interface{}) *FlyteAdmin_Kill

func (*FlyteAdmin) OnLaunch

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

func (*FlyteAdmin) OnLaunchMatch

func (_m *FlyteAdmin) OnLaunchMatch(matchers ...interface{}) *FlyteAdmin_Launch

type FlyteAdmin_GetLaunchPlan

type FlyteAdmin_GetLaunchPlan struct {
	*mock.Call
}

func (FlyteAdmin_GetLaunchPlan) Return

type FlyteAdmin_GetStatus

type FlyteAdmin_GetStatus struct {
	*mock.Call
}

func (FlyteAdmin_GetStatus) Return

type FlyteAdmin_Initialize

type FlyteAdmin_Initialize struct {
	*mock.Call
}

func (FlyteAdmin_Initialize) Return

type FlyteAdmin_Kill

type FlyteAdmin_Kill struct {
	*mock.Call
}

func (FlyteAdmin_Kill) Return

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

type FlyteAdmin_Launch

type FlyteAdmin_Launch struct {
	*mock.Call
}

func (FlyteAdmin_Launch) Return

func (_m FlyteAdmin_Launch) Return(_a0 error) *FlyteAdmin_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