mocks

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 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 ObjectIngest

type ObjectIngest struct {
	mock.Mock
}

ObjectIngest is an autogenerated mock type for the ObjectIngest type

func NewObjectIngest

func NewObjectIngest(t mockConstructorTestingTNewObjectIngest) *ObjectIngest

NewObjectIngest creates a new instance of ObjectIngest. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ObjectIngest) Close

func (_m *ObjectIngest) Close(ctx context.Context) error

Close provides a mock function with given fields: ctx

func (*ObjectIngest) EXPECT

func (_m *ObjectIngest) EXPECT() *ObjectIngest_Expecter

func (*ObjectIngest) Initialize

func (_m *ObjectIngest) Initialize(ctx context.Context, deps *pipeline.Dependencies) error

Initialize provides a mock function with given fields: ctx, deps

func (*ObjectIngest) Name

func (_m *ObjectIngest) Name() string

Name provides a mock function with given fields:

func (*ObjectIngest) Run

func (_m *ObjectIngest) Run(ctx context.Context) error

Run provides a mock function with given fields: ctx

type ObjectIngest_Close_Call

type ObjectIngest_Close_Call struct {
	*mock.Call
}

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

func (*ObjectIngest_Close_Call) Return

func (*ObjectIngest_Close_Call) Run

func (*ObjectIngest_Close_Call) RunAndReturn

type ObjectIngest_Expecter

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

func (*ObjectIngest_Expecter) Close

func (_e *ObjectIngest_Expecter) Close(ctx interface{}) *ObjectIngest_Close_Call

Close is a helper method to define mock.On call

  • ctx context.Context

func (*ObjectIngest_Expecter) Initialize

func (_e *ObjectIngest_Expecter) Initialize(ctx interface{}, deps interface{}) *ObjectIngest_Initialize_Call

Initialize is a helper method to define mock.On call

  • ctx context.Context
  • deps *pipeline.Dependencies

func (*ObjectIngest_Expecter) Name

Name is a helper method to define mock.On call

func (*ObjectIngest_Expecter) Run

func (_e *ObjectIngest_Expecter) Run(ctx interface{}) *ObjectIngest_Run_Call

Run is a helper method to define mock.On call

  • ctx context.Context

type ObjectIngest_Initialize_Call

type ObjectIngest_Initialize_Call struct {
	*mock.Call
}

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

func (*ObjectIngest_Initialize_Call) Return

func (*ObjectIngest_Initialize_Call) Run

func (*ObjectIngest_Initialize_Call) RunAndReturn

type ObjectIngest_Name_Call

type ObjectIngest_Name_Call struct {
	*mock.Call
}

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

func (*ObjectIngest_Name_Call) Return

func (*ObjectIngest_Name_Call) Run

func (_c *ObjectIngest_Name_Call) Run(run func()) *ObjectIngest_Name_Call

func (*ObjectIngest_Name_Call) RunAndReturn

func (_c *ObjectIngest_Name_Call) RunAndReturn(run func() string) *ObjectIngest_Name_Call

type ObjectIngest_Run_Call

type ObjectIngest_Run_Call struct {
	*mock.Call
}

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

func (*ObjectIngest_Run_Call) Return

func (*ObjectIngest_Run_Call) Run

func (*ObjectIngest_Run_Call) RunAndReturn

func (_c *ObjectIngest_Run_Call) RunAndReturn(run func(context.Context) error) *ObjectIngest_Run_Call

Jump to

Keyboard shortcuts

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