mocks

package
v1.16.4 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlyteWorkflow

type FlyteWorkflow struct {
	mock.Mock
}

FlyteWorkflow is an autogenerated mock type for the FlyteWorkflow type

func NewFlyteWorkflow added in v1.15.1

func NewFlyteWorkflow(t interface {
	mock.TestingT
	Cleanup(func())
}) *FlyteWorkflow

NewFlyteWorkflow creates a new instance of FlyteWorkflow. 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 (*FlyteWorkflow) EXPECT added in v1.15.1

func (_m *FlyteWorkflow) EXPECT() *FlyteWorkflow_Expecter

func (*FlyteWorkflow) Get

func (_m *FlyteWorkflow) Get(ctx context.Context, namespace string, name string) (*v1alpha1.FlyteWorkflow, error)

Get provides a mock function with given fields: ctx, namespace, name

func (*FlyteWorkflow) Update

Update provides a mock function with given fields: ctx, workflow

type FlyteWorkflow_Expecter added in v1.15.1

type FlyteWorkflow_Expecter struct {
	// contains filtered or unexported fields
}

func (*FlyteWorkflow_Expecter) Get added in v1.15.1

func (_e *FlyteWorkflow_Expecter) Get(ctx interface{}, namespace interface{}, name interface{}) *FlyteWorkflow_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • namespace string
  • name string

func (*FlyteWorkflow_Expecter) Update added in v1.15.1

func (_e *FlyteWorkflow_Expecter) Update(ctx interface{}, workflow interface{}) *FlyteWorkflow_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • workflow *v1alpha1.FlyteWorkflow

type FlyteWorkflow_Get_Call added in v1.15.1

type FlyteWorkflow_Get_Call struct {
	*mock.Call
}

FlyteWorkflow_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*FlyteWorkflow_Get_Call) Return added in v1.15.1

func (*FlyteWorkflow_Get_Call) Run added in v1.15.1

func (_c *FlyteWorkflow_Get_Call) Run(run func(ctx context.Context, namespace string, name string)) *FlyteWorkflow_Get_Call

func (*FlyteWorkflow_Get_Call) RunAndReturn added in v1.15.1

type FlyteWorkflow_Update_Call added in v1.15.1

type FlyteWorkflow_Update_Call struct {
	*mock.Call
}

FlyteWorkflow_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'

func (*FlyteWorkflow_Update_Call) Return added in v1.15.1

func (*FlyteWorkflow_Update_Call) Run added in v1.15.1

func (*FlyteWorkflow_Update_Call) RunAndReturn added in v1.15.1

Jump to

Keyboard shortcuts

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