Documentation
¶
Index ¶
- type Streamable
- func (_mock *Streamable) Close()
- func (_m *Streamable) EXPECT() *Streamable_Expecter
- func (_mock *Streamable) Fail(err error)
- func (_mock *Streamable) ID() string
- func (_mock *Streamable) Next(context1 context.Context) (interface{}, error)
- func (_mock *Streamable) Send(context1 context.Context, ifaceVal interface{}, duration time.Duration) error
- type Streamable_Close_Call
- type Streamable_Expecter
- func (_e *Streamable_Expecter) Close() *Streamable_Close_Call
- func (_e *Streamable_Expecter) Fail(err interface{}) *Streamable_Fail_Call
- func (_e *Streamable_Expecter) ID() *Streamable_ID_Call
- func (_e *Streamable_Expecter) Next(context1 interface{}) *Streamable_Next_Call
- func (_e *Streamable_Expecter) Send(context1 interface{}, ifaceVal interface{}, duration interface{}) *Streamable_Send_Call
- type Streamable_Fail_Call
- type Streamable_ID_Call
- type Streamable_Next_Call
- func (_c *Streamable_Next_Call) Return(ifaceVal interface{}, err error) *Streamable_Next_Call
- func (_c *Streamable_Next_Call) Run(run func(context1 context.Context)) *Streamable_Next_Call
- func (_c *Streamable_Next_Call) RunAndReturn(run func(context1 context.Context) (interface{}, error)) *Streamable_Next_Call
- type Streamable_Send_Call
- type Subscription
- type Subscription_Channel_Call
- type Subscription_Err_Call
- type Subscription_Expecter
- type Subscription_ID_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Streamable ¶ added in v0.43.2
Streamable is an autogenerated mock type for the Streamable type
func NewStreamable ¶ added in v0.43.2
func NewStreamable(t interface {
mock.TestingT
Cleanup(func())
}) *Streamable
NewStreamable creates a new instance of Streamable. 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 (*Streamable) Close ¶ added in v0.43.2
func (_mock *Streamable) Close()
Close provides a mock function for the type Streamable
func (*Streamable) EXPECT ¶ added in v0.46.0
func (_m *Streamable) EXPECT() *Streamable_Expecter
func (*Streamable) Fail ¶ added in v0.43.2
func (_mock *Streamable) Fail(err error)
Fail provides a mock function for the type Streamable
func (*Streamable) ID ¶ added in v0.43.2
func (_mock *Streamable) ID() string
ID provides a mock function for the type Streamable
type Streamable_Close_Call ¶ added in v0.46.0
Streamable_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*Streamable_Close_Call) Return ¶ added in v0.46.0
func (_c *Streamable_Close_Call) Return() *Streamable_Close_Call
func (*Streamable_Close_Call) Run ¶ added in v0.46.0
func (_c *Streamable_Close_Call) Run(run func()) *Streamable_Close_Call
func (*Streamable_Close_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Streamable_Close_Call) RunAndReturn(run func()) *Streamable_Close_Call
type Streamable_Expecter ¶ added in v0.46.0
type Streamable_Expecter struct {
// contains filtered or unexported fields
}
func (*Streamable_Expecter) Close ¶ added in v0.46.0
func (_e *Streamable_Expecter) Close() *Streamable_Close_Call
Close is a helper method to define mock.On call
func (*Streamable_Expecter) Fail ¶ added in v0.46.0
func (_e *Streamable_Expecter) Fail(err interface{}) *Streamable_Fail_Call
Fail is a helper method to define mock.On call
- err error
func (*Streamable_Expecter) ID ¶ added in v0.46.0
func (_e *Streamable_Expecter) ID() *Streamable_ID_Call
ID is a helper method to define mock.On call
func (*Streamable_Expecter) Next ¶ added in v0.46.0
func (_e *Streamable_Expecter) Next(context1 interface{}) *Streamable_Next_Call
Next is a helper method to define mock.On call
- context1 context.Context
func (*Streamable_Expecter) Send ¶ added in v0.46.0
func (_e *Streamable_Expecter) Send(context1 interface{}, ifaceVal interface{}, duration interface{}) *Streamable_Send_Call
Send is a helper method to define mock.On call
- context1 context.Context
- ifaceVal interface{}
- duration time.Duration
type Streamable_Fail_Call ¶ added in v0.46.0
Streamable_Fail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fail'
func (*Streamable_Fail_Call) Return ¶ added in v0.46.0
func (_c *Streamable_Fail_Call) Return() *Streamable_Fail_Call
func (*Streamable_Fail_Call) Run ¶ added in v0.46.0
func (_c *Streamable_Fail_Call) Run(run func(err error)) *Streamable_Fail_Call
func (*Streamable_Fail_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Streamable_Fail_Call) RunAndReturn(run func(err error)) *Streamable_Fail_Call
type Streamable_ID_Call ¶ added in v0.46.0
Streamable_ID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ID'
func (*Streamable_ID_Call) Return ¶ added in v0.46.0
func (_c *Streamable_ID_Call) Return(s string) *Streamable_ID_Call
func (*Streamable_ID_Call) Run ¶ added in v0.46.0
func (_c *Streamable_ID_Call) Run(run func()) *Streamable_ID_Call
func (*Streamable_ID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Streamable_ID_Call) RunAndReturn(run func() string) *Streamable_ID_Call
type Streamable_Next_Call ¶ added in v0.46.0
Streamable_Next_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Next'
func (*Streamable_Next_Call) Return ¶ added in v0.46.0
func (_c *Streamable_Next_Call) Return(ifaceVal interface{}, err error) *Streamable_Next_Call
func (*Streamable_Next_Call) Run ¶ added in v0.46.0
func (_c *Streamable_Next_Call) Run(run func(context1 context.Context)) *Streamable_Next_Call
func (*Streamable_Next_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Streamable_Next_Call) RunAndReturn(run func(context1 context.Context) (interface{}, error)) *Streamable_Next_Call
type Streamable_Send_Call ¶ added in v0.46.0
Streamable_Send_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Send'
func (*Streamable_Send_Call) Return ¶ added in v0.46.0
func (_c *Streamable_Send_Call) Return(err error) *Streamable_Send_Call
func (*Streamable_Send_Call) Run ¶ added in v0.46.0
func (_c *Streamable_Send_Call) Run(run func(context1 context.Context, ifaceVal interface{}, duration time.Duration)) *Streamable_Send_Call
func (*Streamable_Send_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Streamable_Send_Call) RunAndReturn(run func(context1 context.Context, ifaceVal interface{}, duration time.Duration) error) *Streamable_Send_Call
type Subscription ¶ added in v0.43.2
Subscription is an autogenerated mock type for the Subscription type
func NewSubscription ¶ added in v0.43.2
func NewSubscription(t interface {
mock.TestingT
Cleanup(func())
}) *Subscription
NewSubscription creates a new instance of Subscription. 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 (*Subscription) Channel ¶ added in v0.43.2
func (_mock *Subscription) Channel() <-chan interface{}
Channel provides a mock function for the type Subscription
func (*Subscription) EXPECT ¶ added in v0.46.0
func (_m *Subscription) EXPECT() *Subscription_Expecter
func (*Subscription) Err ¶ added in v0.43.2
func (_mock *Subscription) Err() error
Err provides a mock function for the type Subscription
func (*Subscription) ID ¶ added in v0.43.2
func (_mock *Subscription) ID() string
ID provides a mock function for the type Subscription
type Subscription_Channel_Call ¶ added in v0.46.0
Subscription_Channel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Channel'
func (*Subscription_Channel_Call) Return ¶ added in v0.46.0
func (_c *Subscription_Channel_Call) Return(ifaceValCh <-chan interface{}) *Subscription_Channel_Call
func (*Subscription_Channel_Call) Run ¶ added in v0.46.0
func (_c *Subscription_Channel_Call) Run(run func()) *Subscription_Channel_Call
func (*Subscription_Channel_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Subscription_Channel_Call) RunAndReturn(run func() <-chan interface{}) *Subscription_Channel_Call
type Subscription_Err_Call ¶ added in v0.46.0
Subscription_Err_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Err'
func (*Subscription_Err_Call) Return ¶ added in v0.46.0
func (_c *Subscription_Err_Call) Return(err error) *Subscription_Err_Call
func (*Subscription_Err_Call) Run ¶ added in v0.46.0
func (_c *Subscription_Err_Call) Run(run func()) *Subscription_Err_Call
func (*Subscription_Err_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Subscription_Err_Call) RunAndReturn(run func() error) *Subscription_Err_Call
type Subscription_Expecter ¶ added in v0.46.0
type Subscription_Expecter struct {
// contains filtered or unexported fields
}
func (*Subscription_Expecter) Channel ¶ added in v0.46.0
func (_e *Subscription_Expecter) Channel() *Subscription_Channel_Call
Channel is a helper method to define mock.On call
func (*Subscription_Expecter) Err ¶ added in v0.46.0
func (_e *Subscription_Expecter) Err() *Subscription_Err_Call
Err is a helper method to define mock.On call
func (*Subscription_Expecter) ID ¶ added in v0.46.0
func (_e *Subscription_Expecter) ID() *Subscription_ID_Call
ID is a helper method to define mock.On call
type Subscription_ID_Call ¶ added in v0.46.0
Subscription_ID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ID'
func (*Subscription_ID_Call) Return ¶ added in v0.46.0
func (_c *Subscription_ID_Call) Return(s string) *Subscription_ID_Call
func (*Subscription_ID_Call) Run ¶ added in v0.46.0
func (_c *Subscription_ID_Call) Run(run func()) *Subscription_ID_Call
func (*Subscription_ID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Subscription_ID_Call) RunAndReturn(run func() string) *Subscription_ID_Call