Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is an autogenerated mock type for the Manager type
func NewManager ¶
NewManager creates a new instance of Manager. 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 (*Manager) EXPECT ¶
func (_m *Manager) EXPECT() *Manager_Expecter
func (*Manager) Start ¶
func (_m *Manager) Start(defaultSubsConfig env.DefaultSubscriptionConfig, params subscriptionmanagermanager.Params) error
Start provides a mock function with given fields: defaultSubsConfig, params
type Manager_Expecter ¶
type Manager_Expecter struct {
// contains filtered or unexported fields
}
func (*Manager_Expecter) Init ¶
func (_e *Manager_Expecter) Init(mgr interface{}) *Manager_Init_Call
Init is a helper method to define mock.On call
- mgr manager.Manager
func (*Manager_Expecter) Start ¶
func (_e *Manager_Expecter) Start(defaultSubsConfig interface{}, params interface{}) *Manager_Start_Call
Start is a helper method to define mock.On call
- defaultSubsConfig env.DefaultSubscriptionConfig
- params subscriptionmanagermanager.Params
func (*Manager_Expecter) Stop ¶
func (_e *Manager_Expecter) Stop(runCleanup interface{}) *Manager_Stop_Call
Stop is a helper method to define mock.On call
- runCleanup bool
type Manager_Init_Call ¶
Manager_Init_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Init'
func (*Manager_Init_Call) Return ¶
func (_c *Manager_Init_Call) Return(_a0 error) *Manager_Init_Call
func (*Manager_Init_Call) Run ¶
func (_c *Manager_Init_Call) Run(run func(mgr manager.Manager)) *Manager_Init_Call
func (*Manager_Init_Call) RunAndReturn ¶
func (_c *Manager_Init_Call) RunAndReturn(run func(manager.Manager) error) *Manager_Init_Call
type Manager_Start_Call ¶
Manager_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*Manager_Start_Call) Return ¶
func (_c *Manager_Start_Call) Return(_a0 error) *Manager_Start_Call
func (*Manager_Start_Call) Run ¶
func (_c *Manager_Start_Call) Run(run func(defaultSubsConfig env.DefaultSubscriptionConfig, params subscriptionmanagermanager.Params)) *Manager_Start_Call
func (*Manager_Start_Call) RunAndReturn ¶
func (_c *Manager_Start_Call) RunAndReturn(run func(env.DefaultSubscriptionConfig, subscriptionmanagermanager.Params) error) *Manager_Start_Call
type Manager_Stop_Call ¶
Manager_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*Manager_Stop_Call) Return ¶
func (_c *Manager_Stop_Call) Return(_a0 error) *Manager_Stop_Call
func (*Manager_Stop_Call) Run ¶
func (_c *Manager_Stop_Call) Run(run func(runCleanup bool)) *Manager_Stop_Call
func (*Manager_Stop_Call) RunAndReturn ¶
func (_c *Manager_Stop_Call) RunAndReturn(run func(bool) error) *Manager_Stop_Call