Documentation ¶
Index ¶
- type Builder
- func (_m *Builder) BatchSize() int
- func (_m *Builder) EXPECT() *Builder_Expecter
- func (_m *Builder) Initialize(cfg *config.EdgeBuilderConfig, runtime *config.DynamicConfig) error
- func (_m *Builder) Label() string
- func (_m *Builder) Name() string
- func (_m *Builder) Processor(_a0 context.Context, _a1 *converter.ObjectIDConverter, _a2 interface{}) (interface{}, error)
- func (_m *Builder) Stream(ctx context.Context, store storedb.Provider, _a2 cache.CacheReader, ...) error
- func (_m *Builder) Traversal() types.EdgeTraversal
- type Builder_BatchSize_Call
- type Builder_Expecter
- func (_e *Builder_Expecter) BatchSize() *Builder_BatchSize_Call
- func (_e *Builder_Expecter) Initialize(cfg interface{}, runtime interface{}) *Builder_Initialize_Call
- func (_e *Builder_Expecter) Label() *Builder_Label_Call
- func (_e *Builder_Expecter) Name() *Builder_Name_Call
- func (_e *Builder_Expecter) Processor(_a0 interface{}, _a1 interface{}, _a2 interface{}) *Builder_Processor_Call
- func (_e *Builder_Expecter) Stream(ctx interface{}, store interface{}, _a2 interface{}, process interface{}, ...) *Builder_Stream_Call
- func (_e *Builder_Expecter) Traversal() *Builder_Traversal_Call
- type Builder_Initialize_Call
- func (_c *Builder_Initialize_Call) Return(_a0 error) *Builder_Initialize_Call
- func (_c *Builder_Initialize_Call) Run(run func(cfg *config.EdgeBuilderConfig, runtime *config.DynamicConfig)) *Builder_Initialize_Call
- func (_c *Builder_Initialize_Call) RunAndReturn(run func(*config.EdgeBuilderConfig, *config.DynamicConfig) error) *Builder_Initialize_Call
- type Builder_Label_Call
- type Builder_Name_Call
- type Builder_Processor_Call
- type Builder_Stream_Call
- type Builder_Traversal_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
Builder is an autogenerated mock type for the Builder type
func NewBuilder ¶
func NewBuilder(t mockConstructorTestingTNewBuilder) *Builder
NewBuilder creates a new instance of Builder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Builder) EXPECT ¶
func (_m *Builder) EXPECT() *Builder_Expecter
func (*Builder) Initialize ¶
func (_m *Builder) Initialize(cfg *config.EdgeBuilderConfig, runtime *config.DynamicConfig) error
Initialize provides a mock function with given fields: cfg, runtime
func (*Builder) Processor ¶
func (_m *Builder) Processor(_a0 context.Context, _a1 *converter.ObjectIDConverter, _a2 interface{}) (interface{}, error)
Processor provides a mock function with given fields: _a0, _a1, _a2
func (*Builder) Stream ¶
func (_m *Builder) Stream(ctx context.Context, store storedb.Provider, _a2 cache.CacheReader, process types.ProcessEntryCallback, complete types.CompleteQueryCallback) error
Stream provides a mock function with given fields: ctx, store, _a2, process, complete
func (*Builder) Traversal ¶
func (_m *Builder) Traversal() types.EdgeTraversal
Traversal provides a mock function with given fields:
type Builder_BatchSize_Call ¶
Builder_BatchSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchSize'
func (*Builder_BatchSize_Call) Return ¶
func (_c *Builder_BatchSize_Call) Return(_a0 int) *Builder_BatchSize_Call
func (*Builder_BatchSize_Call) Run ¶
func (_c *Builder_BatchSize_Call) Run(run func()) *Builder_BatchSize_Call
func (*Builder_BatchSize_Call) RunAndReturn ¶
func (_c *Builder_BatchSize_Call) RunAndReturn(run func() int) *Builder_BatchSize_Call
type Builder_Expecter ¶
type Builder_Expecter struct {
// contains filtered or unexported fields
}
func (*Builder_Expecter) BatchSize ¶
func (_e *Builder_Expecter) BatchSize() *Builder_BatchSize_Call
BatchSize is a helper method to define mock.On call
func (*Builder_Expecter) Initialize ¶
func (_e *Builder_Expecter) Initialize(cfg interface{}, runtime interface{}) *Builder_Initialize_Call
Initialize is a helper method to define mock.On call
- cfg *config.EdgeBuilderConfig
- runtime *config.DynamicConfig
func (*Builder_Expecter) Label ¶
func (_e *Builder_Expecter) Label() *Builder_Label_Call
Label is a helper method to define mock.On call
func (*Builder_Expecter) Name ¶
func (_e *Builder_Expecter) Name() *Builder_Name_Call
Name is a helper method to define mock.On call
func (*Builder_Expecter) Processor ¶
func (_e *Builder_Expecter) Processor(_a0 interface{}, _a1 interface{}, _a2 interface{}) *Builder_Processor_Call
Processor is a helper method to define mock.On call
- _a0 context.Context
- _a1 *converter.ObjectIDConverter
- _a2 interface{}
func (*Builder_Expecter) Stream ¶
func (_e *Builder_Expecter) Stream(ctx interface{}, store interface{}, _a2 interface{}, process interface{}, complete interface{}) *Builder_Stream_Call
Stream is a helper method to define mock.On call
- ctx context.Context
- store storedb.Provider
- _a2 cache.CacheReader
- process types.ProcessEntryCallback
- complete types.CompleteQueryCallback
func (*Builder_Expecter) Traversal ¶
func (_e *Builder_Expecter) Traversal() *Builder_Traversal_Call
Traversal is a helper method to define mock.On call
type Builder_Initialize_Call ¶
Builder_Initialize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Initialize'
func (*Builder_Initialize_Call) Return ¶
func (_c *Builder_Initialize_Call) Return(_a0 error) *Builder_Initialize_Call
func (*Builder_Initialize_Call) Run ¶
func (_c *Builder_Initialize_Call) Run(run func(cfg *config.EdgeBuilderConfig, runtime *config.DynamicConfig)) *Builder_Initialize_Call
func (*Builder_Initialize_Call) RunAndReturn ¶
func (_c *Builder_Initialize_Call) RunAndReturn(run func(*config.EdgeBuilderConfig, *config.DynamicConfig) error) *Builder_Initialize_Call
type Builder_Label_Call ¶
Builder_Label_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Label'
func (*Builder_Label_Call) Return ¶
func (_c *Builder_Label_Call) Return(_a0 string) *Builder_Label_Call
func (*Builder_Label_Call) Run ¶
func (_c *Builder_Label_Call) Run(run func()) *Builder_Label_Call
func (*Builder_Label_Call) RunAndReturn ¶
func (_c *Builder_Label_Call) RunAndReturn(run func() string) *Builder_Label_Call
type Builder_Name_Call ¶
Builder_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'
func (*Builder_Name_Call) Return ¶
func (_c *Builder_Name_Call) Return(_a0 string) *Builder_Name_Call
func (*Builder_Name_Call) Run ¶
func (_c *Builder_Name_Call) Run(run func()) *Builder_Name_Call
func (*Builder_Name_Call) RunAndReturn ¶
func (_c *Builder_Name_Call) RunAndReturn(run func() string) *Builder_Name_Call
type Builder_Processor_Call ¶
Builder_Processor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Processor'
func (*Builder_Processor_Call) Return ¶
func (_c *Builder_Processor_Call) Return(_a0 interface{}, _a1 error) *Builder_Processor_Call
func (*Builder_Processor_Call) Run ¶
func (_c *Builder_Processor_Call) Run(run func(_a0 context.Context, _a1 *converter.ObjectIDConverter, _a2 interface{})) *Builder_Processor_Call
func (*Builder_Processor_Call) RunAndReturn ¶
func (_c *Builder_Processor_Call) RunAndReturn(run func(context.Context, *converter.ObjectIDConverter, interface{}) (interface{}, error)) *Builder_Processor_Call
type Builder_Stream_Call ¶
Builder_Stream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stream'
func (*Builder_Stream_Call) Return ¶
func (_c *Builder_Stream_Call) Return(_a0 error) *Builder_Stream_Call
func (*Builder_Stream_Call) Run ¶
func (_c *Builder_Stream_Call) Run(run func(ctx context.Context, store storedb.Provider, _a2 cache.CacheReader, process types.ProcessEntryCallback, complete types.CompleteQueryCallback)) *Builder_Stream_Call
func (*Builder_Stream_Call) RunAndReturn ¶
func (_c *Builder_Stream_Call) RunAndReturn(run func(context.Context, storedb.Provider, cache.CacheReader, types.ProcessEntryCallback, types.CompleteQueryCallback) error) *Builder_Stream_Call
type Builder_Traversal_Call ¶
Builder_Traversal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Traversal'
func (*Builder_Traversal_Call) Return ¶
func (_c *Builder_Traversal_Call) Return(_a0 types.EdgeTraversal) *Builder_Traversal_Call
func (*Builder_Traversal_Call) Run ¶
func (_c *Builder_Traversal_Call) Run(run func()) *Builder_Traversal_Call
func (*Builder_Traversal_Call) RunAndReturn ¶
func (_c *Builder_Traversal_Call) RunAndReturn(run func() types.EdgeTraversal) *Builder_Traversal_Call