Documentation ¶
Overview ¶
Package messages is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageHandler ¶
type MessageHandler interface {
Notify([]hosts.Repository) error
}
MessageHandler is the interface that wraps the Notify method. This method sends a message concerning the pull requests to a messaging provider
func GetHandlers ¶
func GetHandlers(config *config.TeamConfig) []MessageHandler
GetHandlers returns all available and configured MessageHandler instances
type MockMessageHandler ¶
type MockMessageHandler struct {
// contains filtered or unexported fields
}
MockMessageHandler is a mock of MessageHandler interface
func NewMockMessageHandler ¶
func NewMockMessageHandler(ctrl *gomock.Controller) *MockMessageHandler
NewMockMessageHandler creates a new mock instance
func (*MockMessageHandler) EXPECT ¶
func (m *MockMessageHandler) EXPECT() *MockMessageHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMessageHandler) Notify ¶
func (m *MockMessageHandler) Notify(arg0 []hosts.Repository) error
Notify mocks base method
type MockMessageHandlerMockRecorder ¶
type MockMessageHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockMessageHandlerMockRecorder is the mock recorder for MockMessageHandler
func (*MockMessageHandlerMockRecorder) Notify ¶
func (mr *MockMessageHandlerMockRecorder) Notify(arg0 interface{}) *gomock.Call
Notify indicates an expected call of Notify
Click to show internal directories.
Click to hide internal directories.