Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockBridgeUser
- func (m *MockBridgeUser) CloseAllConnections()
- func (m *MockBridgeUser) CloseConnection(arg0 string)
- func (m *MockBridgeUser) EXPECT() *MockBridgeUserMockRecorder
- func (m *MockBridgeUser) GetAddressID(arg0 string) (string, error)
- func (m *MockBridgeUser) GetClient() pmapi.Client
- func (m *MockBridgeUser) GetPrimaryAddress() string
- func (m *MockBridgeUser) GetStoreAddresses() []string
- func (m *MockBridgeUser) ID() string
- func (m *MockBridgeUser) IsCombinedAddressMode() bool
- func (m *MockBridgeUser) IsConnected() bool
- func (m *MockBridgeUser) Logout() error
- func (m *MockBridgeUser) UpdateUser(arg0 context.Context) error
- type MockBridgeUserMockRecorder
- func (mr *MockBridgeUserMockRecorder) CloseAllConnections() *gomock.Call
- func (mr *MockBridgeUserMockRecorder) CloseConnection(arg0 interface{}) *gomock.Call
- func (mr *MockBridgeUserMockRecorder) GetAddressID(arg0 interface{}) *gomock.Call
- func (mr *MockBridgeUserMockRecorder) GetClient() *gomock.Call
- func (mr *MockBridgeUserMockRecorder) GetPrimaryAddress() *gomock.Call
- func (mr *MockBridgeUserMockRecorder) GetStoreAddresses() *gomock.Call
- func (mr *MockBridgeUserMockRecorder) ID() *gomock.Call
- func (mr *MockBridgeUserMockRecorder) IsCombinedAddressMode() *gomock.Call
- func (mr *MockBridgeUserMockRecorder) IsConnected() *gomock.Call
- func (mr *MockBridgeUserMockRecorder) Logout() *gomock.Call
- func (mr *MockBridgeUserMockRecorder) UpdateUser(arg0 interface{}) *gomock.Call
- type MockChangeNotifier
- func (m *MockChangeNotifier) CanDelete(arg0 string) (bool, func())
- func (m *MockChangeNotifier) DeleteMessage(arg0, arg1 string, arg2 uint32)
- func (m *MockChangeNotifier) EXPECT() *MockChangeNotifierMockRecorder
- func (m *MockChangeNotifier) MailboxCreated(arg0, arg1 string)
- func (m *MockChangeNotifier) MailboxStatus(arg0, arg1 string, arg2, arg3, arg4 uint32)
- func (m *MockChangeNotifier) Notice(arg0, arg1 string)
- func (m *MockChangeNotifier) UpdateMessage(arg0, arg1 string, arg2, arg3 uint32, arg4 *pmapi.Message, arg5 bool)
- type MockChangeNotifierMockRecorder
- func (mr *MockChangeNotifierMockRecorder) CanDelete(arg0 interface{}) *gomock.Call
- func (mr *MockChangeNotifierMockRecorder) DeleteMessage(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockChangeNotifierMockRecorder) MailboxCreated(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockChangeNotifierMockRecorder) MailboxStatus(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockChangeNotifierMockRecorder) Notice(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockChangeNotifierMockRecorder) UpdateMessage(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- type MockListener
- func (m *MockListener) Add(arg0 string, arg1 chan<- string)
- func (m *MockListener) EXPECT() *MockListenerMockRecorder
- func (m *MockListener) Emit(arg0, arg1 string)
- func (m *MockListener) ProvideChannel(arg0 string) <-chan string
- func (m *MockListener) Remove(arg0 string, arg1 chan<- string)
- func (m *MockListener) RetryEmit(arg0 string)
- func (m *MockListener) SetBuffer(arg0 string)
- func (m *MockListener) SetLimit(arg0 string, arg1 time.Duration)
- type MockListenerMockRecorder
- func (mr *MockListenerMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockListenerMockRecorder) Emit(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockListenerMockRecorder) ProvideChannel(arg0 interface{}) *gomock.Call
- func (mr *MockListenerMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockListenerMockRecorder) RetryEmit(arg0 interface{}) *gomock.Call
- func (mr *MockListenerMockRecorder) SetBuffer(arg0 interface{}) *gomock.Call
- func (mr *MockListenerMockRecorder) SetLimit(arg0, arg1 interface{}) *gomock.Call
- type MockPanicHandler
- type MockPanicHandlerMockRecorder
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 ¶
func (m *MockBridgeUser) EXPECT() *MockBridgeUserMockRecorder
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 ¶ added in v1.8.0
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) IsCombinedAddressMode ¶
func (m *MockBridgeUser) IsCombinedAddressMode() bool
IsCombinedAddressMode mocks base method.
func (*MockBridgeUser) IsConnected ¶
func (m *MockBridgeUser) IsConnected() bool
IsConnected 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 ¶ added in v1.8.0
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 ¶
func (mr *MockBridgeUserMockRecorder) ID() *gomock.Call
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) 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 ¶ added in v1.6.3
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 ¶
func (m *MockChangeNotifier) EXPECT() *MockChangeNotifierMockRecorder
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 ¶ added in v1.6.3
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) EXPECT ¶
func (m *MockListener) EXPECT() *MockListenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockListener) ProvideChannel ¶ added in v1.8.0
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.
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) Emit ¶
func (mr *MockListenerMockRecorder) Emit(arg0, arg1 interface{}) *gomock.Call
Emit indicates an expected call of Emit.
func (*MockListenerMockRecorder) ProvideChannel ¶ added in v1.8.0
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 ¶
func (m *MockPanicHandler) EXPECT() *MockPanicHandlerMockRecorder
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.