Documentation ¶
Index ¶
- type ModelTransformer
- type ModelTransformer_Expecter
- type ModelTransformer_GetInput_Call
- type ModelTransformer_Transform_Call
- func (_c *ModelTransformer_Transform_Call) Return(out mdlsub.Model, err error) *ModelTransformer_Transform_Call
- func (_c *ModelTransformer_Transform_Call) Run(run func(ctx context.Context, inp interface{})) *ModelTransformer_Transform_Call
- func (_c *ModelTransformer_Transform_Call) RunAndReturn(run func(context.Context, interface{}) (mdlsub.Model, error)) *ModelTransformer_Transform_Call
- type Publisher
- type Publisher_Expecter
- type Publisher_PublishBatch_Call
- type Publisher_Publish_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModelTransformer ¶
ModelTransformer is an autogenerated mock type for the ModelTransformer type
func NewModelTransformer ¶
func NewModelTransformer(t mockConstructorTestingTNewModelTransformer) *ModelTransformer
NewModelTransformer creates a new instance of ModelTransformer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ModelTransformer) EXPECT ¶
func (_m *ModelTransformer) EXPECT() *ModelTransformer_Expecter
func (*ModelTransformer) GetInput ¶
func (_m *ModelTransformer) GetInput() interface{}
GetInput provides a mock function with given fields:
type ModelTransformer_Expecter ¶
type ModelTransformer_Expecter struct {
// contains filtered or unexported fields
}
func (*ModelTransformer_Expecter) GetInput ¶
func (_e *ModelTransformer_Expecter) GetInput() *ModelTransformer_GetInput_Call
GetInput is a helper method to define mock.On call
func (*ModelTransformer_Expecter) Transform ¶
func (_e *ModelTransformer_Expecter) Transform(ctx interface{}, inp interface{}) *ModelTransformer_Transform_Call
Transform is a helper method to define mock.On call
- ctx context.Context
- inp interface{}
type ModelTransformer_GetInput_Call ¶
ModelTransformer_GetInput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInput'
func (*ModelTransformer_GetInput_Call) Return ¶
func (_c *ModelTransformer_GetInput_Call) Return(_a0 interface{}) *ModelTransformer_GetInput_Call
func (*ModelTransformer_GetInput_Call) Run ¶
func (_c *ModelTransformer_GetInput_Call) Run(run func()) *ModelTransformer_GetInput_Call
func (*ModelTransformer_GetInput_Call) RunAndReturn ¶
func (_c *ModelTransformer_GetInput_Call) RunAndReturn(run func() interface{}) *ModelTransformer_GetInput_Call
type ModelTransformer_Transform_Call ¶
ModelTransformer_Transform_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Transform'
func (*ModelTransformer_Transform_Call) Return ¶
func (_c *ModelTransformer_Transform_Call) Return(out mdlsub.Model, err error) *ModelTransformer_Transform_Call
func (*ModelTransformer_Transform_Call) Run ¶
func (_c *ModelTransformer_Transform_Call) Run(run func(ctx context.Context, inp interface{})) *ModelTransformer_Transform_Call
func (*ModelTransformer_Transform_Call) RunAndReturn ¶
func (_c *ModelTransformer_Transform_Call) RunAndReturn(run func(context.Context, interface{}) (mdlsub.Model, error)) *ModelTransformer_Transform_Call
type Publisher ¶
Publisher is an autogenerated mock type for the Publisher type
func NewPublisher ¶
func NewPublisher(t mockConstructorTestingTNewPublisher) *Publisher
NewPublisher creates a new instance of Publisher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Publisher) EXPECT ¶
func (_m *Publisher) EXPECT() *Publisher_Expecter
type Publisher_Expecter ¶
type Publisher_Expecter struct {
// contains filtered or unexported fields
}
func (*Publisher_Expecter) Publish ¶
func (_e *Publisher_Expecter) Publish(ctx interface{}, typ interface{}, version interface{}, value interface{}, customAttributes ...interface{}) *Publisher_Publish_Call
Publish is a helper method to define mock.On call
- ctx context.Context
- typ string
- version int
- value interface{}
- customAttributes ...map[string]string
func (*Publisher_Expecter) PublishBatch ¶
func (_e *Publisher_Expecter) PublishBatch(ctx interface{}, typ interface{}, version interface{}, values interface{}, customAttributes ...interface{}) *Publisher_PublishBatch_Call
PublishBatch is a helper method to define mock.On call
- ctx context.Context
- typ string
- version int
- values []interface{}
- customAttributes ...map[string]string
type Publisher_PublishBatch_Call ¶
Publisher_PublishBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PublishBatch'
func (*Publisher_PublishBatch_Call) Return ¶
func (_c *Publisher_PublishBatch_Call) Return(_a0 error) *Publisher_PublishBatch_Call
func (*Publisher_PublishBatch_Call) Run ¶
func (_c *Publisher_PublishBatch_Call) Run(run func(ctx context.Context, typ string, version int, values []interface{}, customAttributes ...map[string]string)) *Publisher_PublishBatch_Call
func (*Publisher_PublishBatch_Call) RunAndReturn ¶
func (_c *Publisher_PublishBatch_Call) RunAndReturn(run func(context.Context, string, int, []interface{}, ...map[string]string) error) *Publisher_PublishBatch_Call
type Publisher_Publish_Call ¶
Publisher_Publish_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Publish'
func (*Publisher_Publish_Call) Return ¶
func (_c *Publisher_Publish_Call) Return(_a0 error) *Publisher_Publish_Call
func (*Publisher_Publish_Call) Run ¶
func (_c *Publisher_Publish_Call) Run(run func(ctx context.Context, typ string, version int, value interface{}, customAttributes ...map[string]string)) *Publisher_Publish_Call
func (*Publisher_Publish_Call) RunAndReturn ¶
func (_c *Publisher_Publish_Call) RunAndReturn(run func(context.Context, string, int, interface{}, ...map[string]string) error) *Publisher_Publish_Call