Documentation ¶
Index ¶
- type ObjectIngest
- type ObjectIngest_Close_Call
- type ObjectIngest_Expecter
- func (_e *ObjectIngest_Expecter) Close(ctx interface{}) *ObjectIngest_Close_Call
- func (_e *ObjectIngest_Expecter) Initialize(ctx interface{}, deps interface{}) *ObjectIngest_Initialize_Call
- func (_e *ObjectIngest_Expecter) Name() *ObjectIngest_Name_Call
- func (_e *ObjectIngest_Expecter) Run(ctx interface{}) *ObjectIngest_Run_Call
- type ObjectIngest_Initialize_Call
- func (_c *ObjectIngest_Initialize_Call) Return(_a0 error) *ObjectIngest_Initialize_Call
- func (_c *ObjectIngest_Initialize_Call) Run(run func(ctx context.Context, deps *pipeline.Dependencies)) *ObjectIngest_Initialize_Call
- func (_c *ObjectIngest_Initialize_Call) RunAndReturn(run func(context.Context, *pipeline.Dependencies) error) *ObjectIngest_Initialize_Call
- type ObjectIngest_Name_Call
- type ObjectIngest_Run_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectIngest ¶
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:
type ObjectIngest_Close_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 (_c *ObjectIngest_Close_Call) Return(_a0 error) *ObjectIngest_Close_Call
func (*ObjectIngest_Close_Call) Run ¶
func (_c *ObjectIngest_Close_Call) Run(run func(ctx context.Context)) *ObjectIngest_Close_Call
func (*ObjectIngest_Close_Call) RunAndReturn ¶
func (_c *ObjectIngest_Close_Call) RunAndReturn(run func(context.Context) error) *ObjectIngest_Close_Call
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 ¶
func (_e *ObjectIngest_Expecter) Name() *ObjectIngest_Name_Call
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 ¶
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 (_c *ObjectIngest_Initialize_Call) Return(_a0 error) *ObjectIngest_Initialize_Call
func (*ObjectIngest_Initialize_Call) Run ¶
func (_c *ObjectIngest_Initialize_Call) Run(run func(ctx context.Context, deps *pipeline.Dependencies)) *ObjectIngest_Initialize_Call
func (*ObjectIngest_Initialize_Call) RunAndReturn ¶
func (_c *ObjectIngest_Initialize_Call) RunAndReturn(run func(context.Context, *pipeline.Dependencies) error) *ObjectIngest_Initialize_Call
type ObjectIngest_Name_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 (_c *ObjectIngest_Name_Call) Return(_a0 string) *ObjectIngest_Name_Call
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 ¶
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 (_c *ObjectIngest_Run_Call) Return(_a0 error) *ObjectIngest_Run_Call
func (*ObjectIngest_Run_Call) Run ¶
func (_c *ObjectIngest_Run_Call) Run(run func(ctx context.Context)) *ObjectIngest_Run_Call
func (*ObjectIngest_Run_Call) RunAndReturn ¶
func (_c *ObjectIngest_Run_Call) RunAndReturn(run func(context.Context) error) *ObjectIngest_Run_Call