Documentation
¶
Overview ¶
Package mock_notifier is a generated GoMock package.
Index ¶
- type MockNotifier
- func (m *MockNotifier) EXPECT() *MockNotifierMockRecorder
- func (m *MockNotifier) GetSenders() map[string]bool
- func (m *MockNotifier) RegisterSender(arg0 map[string]string, arg1 moira.Sender) error
- func (m *MockNotifier) Send(arg0 *notifier.NotificationPackage, arg1 *sync.WaitGroup)
- func (m *MockNotifier) StopSenders()
- type MockNotifierMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNotifier ¶
type MockNotifier struct {
// contains filtered or unexported fields
}
MockNotifier is a mock of Notifier interface
func NewMockNotifier ¶
func NewMockNotifier(ctrl *gomock.Controller) *MockNotifier
NewMockNotifier creates a new mock instance
func (*MockNotifier) EXPECT ¶
func (m *MockNotifier) EXPECT() *MockNotifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockNotifier) GetSenders ¶
func (m *MockNotifier) GetSenders() map[string]bool
GetSenders mocks base method
func (*MockNotifier) RegisterSender ¶
RegisterSender mocks base method
func (*MockNotifier) Send ¶
func (m *MockNotifier) Send(arg0 *notifier.NotificationPackage, arg1 *sync.WaitGroup)
Send mocks base method
func (*MockNotifier) StopSenders ¶
func (m *MockNotifier) StopSenders()
StopSenders mocks base method
type MockNotifierMockRecorder ¶
type MockNotifierMockRecorder struct {
// contains filtered or unexported fields
}
MockNotifierMockRecorder is the mock recorder for MockNotifier
func (*MockNotifierMockRecorder) GetSenders ¶
func (mr *MockNotifierMockRecorder) GetSenders() *gomock.Call
GetSenders indicates an expected call of GetSenders
func (*MockNotifierMockRecorder) RegisterSender ¶
func (mr *MockNotifierMockRecorder) RegisterSender(arg0, arg1 interface{}) *gomock.Call
RegisterSender indicates an expected call of RegisterSender
func (*MockNotifierMockRecorder) Send ¶
func (mr *MockNotifierMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call
Send indicates an expected call of Send
func (*MockNotifierMockRecorder) StopSenders ¶
func (mr *MockNotifierMockRecorder) StopSenders() *gomock.Call
StopSenders indicates an expected call of StopSenders
Click to show internal directories.
Click to hide internal directories.