Documentation ¶
Overview ¶
Package mock_notification is a generated GoMock package.
Index ¶
- type MockNotification
- func (m *MockNotification) AddNotificationChan(serviceID uint64, notiChan chan string)
- func (m *MockNotification) EXPECT() *MockNotificationMockRecorder
- func (m *MockNotification) HandleNotificationOnLocal(serviceID float64, status string) error
- func (m *MockNotification) InvokeNotification(target string, serviceID float64, status string) error
- func (m *MockNotification) SetClient(clientAPI client.Clienter)
- type MockNotificationMockRecorder
- func (mr *MockNotificationMockRecorder) AddNotificationChan(serviceID, notiChan interface{}) *gomock.Call
- func (mr *MockNotificationMockRecorder) HandleNotificationOnLocal(serviceID, status interface{}) *gomock.Call
- func (mr *MockNotificationMockRecorder) InvokeNotification(target, serviceID, status interface{}) *gomock.Call
- func (mr *MockNotificationMockRecorder) SetClient(clientAPI interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNotification ¶
type MockNotification struct {
// contains filtered or unexported fields
}
MockNotification is a mock of Notification interface
func NewMockNotification ¶
func NewMockNotification(ctrl *gomock.Controller) *MockNotification
NewMockNotification creates a new mock instance
func (*MockNotification) AddNotificationChan ¶
func (m *MockNotification) AddNotificationChan(serviceID uint64, notiChan chan string)
AddNotificationChan mocks base method
func (*MockNotification) EXPECT ¶
func (m *MockNotification) EXPECT() *MockNotificationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockNotification) HandleNotificationOnLocal ¶
func (m *MockNotification) HandleNotificationOnLocal(serviceID float64, status string) error
HandleNotificationOnLocal mocks base method
func (*MockNotification) InvokeNotification ¶
func (m *MockNotification) InvokeNotification(target string, serviceID float64, status string) error
InvokeNotification mocks base method
func (*MockNotification) SetClient ¶
func (m *MockNotification) SetClient(clientAPI client.Clienter)
SetClient mocks base method
type MockNotificationMockRecorder ¶
type MockNotificationMockRecorder struct {
// contains filtered or unexported fields
}
MockNotificationMockRecorder is the mock recorder for MockNotification
func (*MockNotificationMockRecorder) AddNotificationChan ¶
func (mr *MockNotificationMockRecorder) AddNotificationChan(serviceID, notiChan interface{}) *gomock.Call
AddNotificationChan indicates an expected call of AddNotificationChan
func (*MockNotificationMockRecorder) HandleNotificationOnLocal ¶
func (mr *MockNotificationMockRecorder) HandleNotificationOnLocal(serviceID, status interface{}) *gomock.Call
HandleNotificationOnLocal indicates an expected call of HandleNotificationOnLocal
func (*MockNotificationMockRecorder) InvokeNotification ¶
func (mr *MockNotificationMockRecorder) InvokeNotification(target, serviceID, status interface{}) *gomock.Call
InvokeNotification indicates an expected call of InvokeNotification
func (*MockNotificationMockRecorder) SetClient ¶
func (mr *MockNotificationMockRecorder) SetClient(clientAPI interface{}) *gomock.Call
SetClient indicates an expected call of SetClient