Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockAPI
- func (m *MockAPI) AddNotificationService(arg0 string, arg1 services.NotificationService)
- func (m *MockAPI) EXPECT() *MockAPIMockRecorder
- func (m *MockAPI) GetNotificationServices() map[string]services.NotificationService
- func (m *MockAPI) RunTrigger(arg0 string, arg1 map[string]interface{}) ([]triggers.ConditionResult, error)
- func (m *MockAPI) Send(arg0 map[string]interface{}, arg1 []string, arg2 services.Destination) error
- type MockAPIMockRecorder
- func (mr *MockAPIMockRecorder) AddNotificationService(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetNotificationServices() *gomock.Call
- func (mr *MockAPIMockRecorder) RunTrigger(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) Send(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPI ¶
type MockAPI struct {
// contains filtered or unexported fields
}
MockAPI is a mock of API interface
func NewMockAPI ¶
func NewMockAPI(ctrl *gomock.Controller) *MockAPI
NewMockAPI creates a new mock instance
func (*MockAPI) AddNotificationService ¶
func (m *MockAPI) AddNotificationService(arg0 string, arg1 services.NotificationService)
AddNotificationService mocks base method
func (*MockAPI) EXPECT ¶
func (m *MockAPI) EXPECT() *MockAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAPI) GetNotificationServices ¶
func (m *MockAPI) GetNotificationServices() map[string]services.NotificationService
GetNotificationServices mocks base method
func (*MockAPI) RunTrigger ¶
func (m *MockAPI) RunTrigger(arg0 string, arg1 map[string]interface{}) ([]triggers.ConditionResult, error)
RunTrigger mocks base method
type MockAPIMockRecorder ¶
type MockAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIMockRecorder is the mock recorder for MockAPI
func (*MockAPIMockRecorder) AddNotificationService ¶
func (mr *MockAPIMockRecorder) AddNotificationService(arg0, arg1 interface{}) *gomock.Call
AddNotificationService indicates an expected call of AddNotificationService
func (*MockAPIMockRecorder) GetNotificationServices ¶
func (mr *MockAPIMockRecorder) GetNotificationServices() *gomock.Call
GetNotificationServices indicates an expected call of GetNotificationServices
func (*MockAPIMockRecorder) RunTrigger ¶
func (mr *MockAPIMockRecorder) RunTrigger(arg0, arg1 interface{}) *gomock.Call
RunTrigger indicates an expected call of RunTrigger
func (*MockAPIMockRecorder) Send ¶
func (mr *MockAPIMockRecorder) Send(arg0, arg1, arg2 interface{}) *gomock.Call
Send indicates an expected call of Send
Click to show internal directories.
Click to hide internal directories.