mocks

package
v0.0.0-...-a7b4c27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManagerFactory

type ManagerFactory struct {
	mock.Mock
}

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 (*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

type ManagerFactory_NewEventMeshManager_Call struct {
	*mock.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 (*ManagerFactory_NewEventMeshManager_Call) Run

func (*ManagerFactory_NewEventMeshManager_Call) RunAndReturn

type ManagerFactory_NewJetStreamManager_Call

type ManagerFactory_NewJetStreamManager_Call struct {
	*mock.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 (*ManagerFactory_NewJetStreamManager_Call) Run

func (*ManagerFactory_NewJetStreamManager_Call) RunAndReturn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL