Documentation ¶
Index ¶
- type ManagerFactory
- type ManagerFactory_Expecter
- type ManagerFactory_NewEventMeshManager_Call
- func (_c *ManagerFactory_NewEventMeshManager_Call) Return(_a0 manager.Manager, _a1 error) *ManagerFactory_NewEventMeshManager_Call
- func (_c *ManagerFactory_NewEventMeshManager_Call) Run(run func(domain string)) *ManagerFactory_NewEventMeshManager_Call
- func (_c *ManagerFactory_NewEventMeshManager_Call) RunAndReturn(run func(string) (manager.Manager, error)) *ManagerFactory_NewEventMeshManager_Call
- type ManagerFactory_NewJetStreamManager_Call
- func (_c *ManagerFactory_NewJetStreamManager_Call) Return(_a0 manager.Manager) *ManagerFactory_NewJetStreamManager_Call
- func (_c *ManagerFactory_NewJetStreamManager_Call) Run(run func(eventing v1alpha1.Eventing, config env.NATSConfig)) *ManagerFactory_NewJetStreamManager_Call
- func (_c *ManagerFactory_NewJetStreamManager_Call) RunAndReturn(run func(v1alpha1.Eventing, env.NATSConfig) manager.Manager) *ManagerFactory_NewJetStreamManager_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagerFactory ¶
ManagerFactory is an autogenerated mock type for the ManagerFactory type
func NewManagerFactory ¶
func NewManagerFactory(t interface { mock.TestingT Cleanup(func()) }) *ManagerFactory
NewManagerFactory creates a new instance of ManagerFactory. 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 (*ManagerFactory) EXPECT ¶
func (_m *ManagerFactory) EXPECT() *ManagerFactory_Expecter
func (*ManagerFactory) NewEventMeshManager ¶
func (_m *ManagerFactory) NewEventMeshManager(domain string) (manager.Manager, error)
NewEventMeshManager provides a mock function with given fields: domain
func (*ManagerFactory) NewJetStreamManager ¶
func (_m *ManagerFactory) NewJetStreamManager(eventing v1alpha1.Eventing, config env.NATSConfig) manager.Manager
NewJetStreamManager provides a mock function with given fields: eventing, config
type ManagerFactory_Expecter ¶
type ManagerFactory_Expecter struct {
// contains filtered or unexported fields
}
func (*ManagerFactory_Expecter) NewEventMeshManager ¶
func (_e *ManagerFactory_Expecter) NewEventMeshManager(domain interface{}) *ManagerFactory_NewEventMeshManager_Call
NewEventMeshManager is a helper method to define mock.On call
- domain string
func (*ManagerFactory_Expecter) NewJetStreamManager ¶
func (_e *ManagerFactory_Expecter) NewJetStreamManager(eventing interface{}, config interface{}) *ManagerFactory_NewJetStreamManager_Call
NewJetStreamManager is a helper method to define mock.On call
- eventing v1alpha1.Eventing
- config env.NATSConfig
type ManagerFactory_NewEventMeshManager_Call ¶
ManagerFactory_NewEventMeshManager_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewEventMeshManager'
func (*ManagerFactory_NewEventMeshManager_Call) Return ¶
func (_c *ManagerFactory_NewEventMeshManager_Call) Return(_a0 manager.Manager, _a1 error) *ManagerFactory_NewEventMeshManager_Call
func (*ManagerFactory_NewEventMeshManager_Call) Run ¶
func (_c *ManagerFactory_NewEventMeshManager_Call) Run(run func(domain string)) *ManagerFactory_NewEventMeshManager_Call
func (*ManagerFactory_NewEventMeshManager_Call) RunAndReturn ¶
func (_c *ManagerFactory_NewEventMeshManager_Call) RunAndReturn(run func(string) (manager.Manager, error)) *ManagerFactory_NewEventMeshManager_Call
type ManagerFactory_NewJetStreamManager_Call ¶
ManagerFactory_NewJetStreamManager_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewJetStreamManager'
func (*ManagerFactory_NewJetStreamManager_Call) Return ¶
func (_c *ManagerFactory_NewJetStreamManager_Call) Return(_a0 manager.Manager) *ManagerFactory_NewJetStreamManager_Call
func (*ManagerFactory_NewJetStreamManager_Call) Run ¶
func (_c *ManagerFactory_NewJetStreamManager_Call) Run(run func(eventing v1alpha1.Eventing, config env.NATSConfig)) *ManagerFactory_NewJetStreamManager_Call
func (*ManagerFactory_NewJetStreamManager_Call) RunAndReturn ¶
func (_c *ManagerFactory_NewJetStreamManager_Call) RunAndReturn(run func(v1alpha1.Eventing, env.NATSConfig) manager.Manager) *ManagerFactory_NewJetStreamManager_Call