mocks

package
v2.4.8 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBridgeUser

type MockBridgeUser struct {
	// contains filtered or unexported fields
}

MockBridgeUser is a mock of BridgeUser interface.

func NewMockBridgeUser

func NewMockBridgeUser(ctrl *gomock.Controller) *MockBridgeUser

NewMockBridgeUser creates a new mock instance.

func (*MockBridgeUser) CloseAllConnections

func (m *MockBridgeUser) CloseAllConnections()

CloseAllConnections mocks base method.

func (*MockBridgeUser) CloseConnection

func (m *MockBridgeUser) CloseConnection(arg0 string)

CloseConnection mocks base method.

func (*MockBridgeUser) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBridgeUser) GetAddressID

func (m *MockBridgeUser) GetAddressID(arg0 string) (string, error)

GetAddressID mocks base method.

func (*MockBridgeUser) GetClient

func (m *MockBridgeUser) GetClient() pmapi.Client

GetClient mocks base method.

func (*MockBridgeUser) GetPrimaryAddress

func (m *MockBridgeUser) GetPrimaryAddress() string

GetPrimaryAddress mocks base method.

func (*MockBridgeUser) GetStoreAddresses

func (m *MockBridgeUser) GetStoreAddresses() []string

GetStoreAddresses mocks base method.

func (*MockBridgeUser) ID

func (m *MockBridgeUser) ID() string

ID mocks base method.

func (*MockBridgeUser) IsCombinedAddressMode

func (m *MockBridgeUser) IsCombinedAddressMode() bool

IsCombinedAddressMode mocks base method.

func (*MockBridgeUser) IsConnected

func (m *MockBridgeUser) IsConnected() bool

IsConnected mocks base method.

func (*MockBridgeUser) Logout

func (m *MockBridgeUser) Logout() error

Logout mocks base method.

func (*MockBridgeUser) UpdateSpace

func (m *MockBridgeUser) UpdateSpace(arg0 *pmapi.User)

UpdateSpace mocks base method.

func (*MockBridgeUser) UpdateUser

func (m *MockBridgeUser) UpdateUser(arg0 context.Context) error

UpdateUser mocks base method.

type MockBridgeUserMockRecorder

type MockBridgeUserMockRecorder struct {
	// contains filtered or unexported fields
}

MockBridgeUserMockRecorder is the mock recorder for MockBridgeUser.

func (*MockBridgeUserMockRecorder) CloseAllConnections

func (mr *MockBridgeUserMockRecorder) CloseAllConnections() *gomock.Call

CloseAllConnections indicates an expected call of CloseAllConnections.

func (*MockBridgeUserMockRecorder) CloseConnection

func (mr *MockBridgeUserMockRecorder) CloseConnection(arg0 interface{}) *gomock.Call

CloseConnection indicates an expected call of CloseConnection.

func (*MockBridgeUserMockRecorder) GetAddressID

func (mr *MockBridgeUserMockRecorder) GetAddressID(arg0 interface{}) *gomock.Call

GetAddressID indicates an expected call of GetAddressID.

func (*MockBridgeUserMockRecorder) GetClient

func (mr *MockBridgeUserMockRecorder) GetClient() *gomock.Call

GetClient indicates an expected call of GetClient.

func (*MockBridgeUserMockRecorder) GetPrimaryAddress

func (mr *MockBridgeUserMockRecorder) GetPrimaryAddress() *gomock.Call

GetPrimaryAddress indicates an expected call of GetPrimaryAddress.

func (*MockBridgeUserMockRecorder) GetStoreAddresses

func (mr *MockBridgeUserMockRecorder) GetStoreAddresses() *gomock.Call

GetStoreAddresses indicates an expected call of GetStoreAddresses.

func (*MockBridgeUserMockRecorder) ID

ID indicates an expected call of ID.

func (*MockBridgeUserMockRecorder) IsCombinedAddressMode

func (mr *MockBridgeUserMockRecorder) IsCombinedAddressMode() *gomock.Call

IsCombinedAddressMode indicates an expected call of IsCombinedAddressMode.

func (*MockBridgeUserMockRecorder) IsConnected

func (mr *MockBridgeUserMockRecorder) IsConnected() *gomock.Call

IsConnected indicates an expected call of IsConnected.

func (*MockBridgeUserMockRecorder) Logout

func (mr *MockBridgeUserMockRecorder) Logout() *gomock.Call

Logout indicates an expected call of Logout.

func (*MockBridgeUserMockRecorder) UpdateSpace

func (mr *MockBridgeUserMockRecorder) UpdateSpace(arg0 interface{}) *gomock.Call

UpdateSpace indicates an expected call of UpdateSpace.

func (*MockBridgeUserMockRecorder) UpdateUser

func (mr *MockBridgeUserMockRecorder) UpdateUser(arg0 interface{}) *gomock.Call

UpdateUser indicates an expected call of UpdateUser.

type MockChangeNotifier

type MockChangeNotifier struct {
	// contains filtered or unexported fields
}

MockChangeNotifier is a mock of ChangeNotifier interface.

func NewMockChangeNotifier

func NewMockChangeNotifier(ctrl *gomock.Controller) *MockChangeNotifier

NewMockChangeNotifier creates a new mock instance.

func (*MockChangeNotifier) CanDelete

func (m *MockChangeNotifier) CanDelete(arg0 string) (bool, func())

CanDelete mocks base method.

func (*MockChangeNotifier) DeleteMessage

func (m *MockChangeNotifier) DeleteMessage(arg0, arg1 string, arg2 uint32)

DeleteMessage mocks base method.

func (*MockChangeNotifier) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockChangeNotifier) MailboxCreated

func (m *MockChangeNotifier) MailboxCreated(arg0, arg1 string)

MailboxCreated mocks base method.

func (*MockChangeNotifier) MailboxStatus

func (m *MockChangeNotifier) MailboxStatus(arg0, arg1 string, arg2, arg3, arg4 uint32)

MailboxStatus mocks base method.

func (*MockChangeNotifier) Notice

func (m *MockChangeNotifier) Notice(arg0, arg1 string)

Notice mocks base method.

func (*MockChangeNotifier) UpdateMessage

func (m *MockChangeNotifier) UpdateMessage(arg0, arg1 string, arg2, arg3 uint32, arg4 *pmapi.Message, arg5 bool)

UpdateMessage mocks base method.

type MockChangeNotifierMockRecorder

type MockChangeNotifierMockRecorder struct {
	// contains filtered or unexported fields
}

MockChangeNotifierMockRecorder is the mock recorder for MockChangeNotifier.

func (*MockChangeNotifierMockRecorder) CanDelete

func (mr *MockChangeNotifierMockRecorder) CanDelete(arg0 interface{}) *gomock.Call

CanDelete indicates an expected call of CanDelete.

func (*MockChangeNotifierMockRecorder) DeleteMessage

func (mr *MockChangeNotifierMockRecorder) DeleteMessage(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteMessage indicates an expected call of DeleteMessage.

func (*MockChangeNotifierMockRecorder) MailboxCreated

func (mr *MockChangeNotifierMockRecorder) MailboxCreated(arg0, arg1 interface{}) *gomock.Call

MailboxCreated indicates an expected call of MailboxCreated.

func (*MockChangeNotifierMockRecorder) MailboxStatus

func (mr *MockChangeNotifierMockRecorder) MailboxStatus(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

MailboxStatus indicates an expected call of MailboxStatus.

func (*MockChangeNotifierMockRecorder) Notice

func (mr *MockChangeNotifierMockRecorder) Notice(arg0, arg1 interface{}) *gomock.Call

Notice indicates an expected call of Notice.

func (*MockChangeNotifierMockRecorder) UpdateMessage

func (mr *MockChangeNotifierMockRecorder) UpdateMessage(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

UpdateMessage indicates an expected call of UpdateMessage.

type MockListener

type MockListener struct {
	// contains filtered or unexported fields
}

MockListener is a mock of Listener interface.

func NewMockListener

func NewMockListener(ctrl *gomock.Controller) *MockListener

NewMockListener creates a new mock instance.

func (*MockListener) Add

func (m *MockListener) Add(arg0 string, arg1 chan<- string)

Add mocks base method.

func (*MockListener) Book

func (m *MockListener) Book(arg0 string)

Book mocks base method.

func (*MockListener) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockListener) Emit

func (m *MockListener) Emit(arg0, arg1 string)

Emit mocks base method.

func (*MockListener) ProvideChannel

func (m *MockListener) ProvideChannel(arg0 string) <-chan string

ProvideChannel mocks base method.

func (*MockListener) Remove

func (m *MockListener) Remove(arg0 string, arg1 chan<- string)

Remove mocks base method.

func (*MockListener) RetryEmit

func (m *MockListener) RetryEmit(arg0 string)

RetryEmit mocks base method.

func (*MockListener) SetBuffer

func (m *MockListener) SetBuffer(arg0 string)

SetBuffer mocks base method.

func (*MockListener) SetLimit

func (m *MockListener) SetLimit(arg0 string, arg1 time.Duration)

SetLimit mocks base method.

type MockListenerMockRecorder

type MockListenerMockRecorder struct {
	// contains filtered or unexported fields
}

MockListenerMockRecorder is the mock recorder for MockListener.

func (*MockListenerMockRecorder) Add

func (mr *MockListenerMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockListenerMockRecorder) Book

func (mr *MockListenerMockRecorder) Book(arg0 interface{}) *gomock.Call

Book indicates an expected call of Book.

func (*MockListenerMockRecorder) Emit

func (mr *MockListenerMockRecorder) Emit(arg0, arg1 interface{}) *gomock.Call

Emit indicates an expected call of Emit.

func (*MockListenerMockRecorder) ProvideChannel

func (mr *MockListenerMockRecorder) ProvideChannel(arg0 interface{}) *gomock.Call

ProvideChannel indicates an expected call of ProvideChannel.

func (*MockListenerMockRecorder) Remove

func (mr *MockListenerMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockListenerMockRecorder) RetryEmit

func (mr *MockListenerMockRecorder) RetryEmit(arg0 interface{}) *gomock.Call

RetryEmit indicates an expected call of RetryEmit.

func (*MockListenerMockRecorder) SetBuffer

func (mr *MockListenerMockRecorder) SetBuffer(arg0 interface{}) *gomock.Call

SetBuffer indicates an expected call of SetBuffer.

func (*MockListenerMockRecorder) SetLimit

func (mr *MockListenerMockRecorder) SetLimit(arg0, arg1 interface{}) *gomock.Call

SetLimit indicates an expected call of SetLimit.

type MockPanicHandler

type MockPanicHandler struct {
	// contains filtered or unexported fields
}

MockPanicHandler is a mock of PanicHandler interface.

func NewMockPanicHandler

func NewMockPanicHandler(ctrl *gomock.Controller) *MockPanicHandler

NewMockPanicHandler creates a new mock instance.

func (*MockPanicHandler) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPanicHandler) HandlePanic

func (m *MockPanicHandler) HandlePanic()

HandlePanic mocks base method.

type MockPanicHandlerMockRecorder

type MockPanicHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockPanicHandlerMockRecorder is the mock recorder for MockPanicHandler.

func (*MockPanicHandlerMockRecorder) HandlePanic

func (mr *MockPanicHandlerMockRecorder) HandlePanic() *gomock.Call

HandlePanic indicates an expected call of HandlePanic.

type MockStorer

type MockStorer struct {
	// contains filtered or unexported fields
}

MockStorer is a mock of Storer interface.

func NewMockStorer

func NewMockStorer(ctrl *gomock.Controller) *MockStorer

NewMockStorer creates a new mock instance.

func (*MockStorer) BuildAndCacheMessage

func (m *MockStorer) BuildAndCacheMessage(arg0 context.Context, arg1 string) error

BuildAndCacheMessage mocks base method.

func (*MockStorer) EXPECT

func (m *MockStorer) EXPECT() *MockStorerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStorer) IsCached

func (m *MockStorer) IsCached(arg0 string) bool

IsCached mocks base method.

type MockStorerMockRecorder

type MockStorerMockRecorder struct {
	// contains filtered or unexported fields
}

MockStorerMockRecorder is the mock recorder for MockStorer.

func (*MockStorerMockRecorder) BuildAndCacheMessage

func (mr *MockStorerMockRecorder) BuildAndCacheMessage(arg0, arg1 interface{}) *gomock.Call

BuildAndCacheMessage indicates an expected call of BuildAndCacheMessage.

func (*MockStorerMockRecorder) IsCached

func (mr *MockStorerMockRecorder) IsCached(arg0 interface{}) *gomock.Call

IsCached indicates an expected call of IsCached.

Jump to

Keyboard shortcuts

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