Documentation ¶
Overview ¶
Package mock_events is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEventService ¶
type MockEventService struct {
// contains filtered or unexported fields
}
MockEventService is a mock of EventService interface.
func NewMockEventService ¶
func NewMockEventService(ctrl *gomock.Controller) *MockEventService
NewMockEventService creates a new mock instance.
func (*MockEventService) EXPECT ¶
func (m *MockEventService) EXPECT() *MockEventServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventService) ListTopics ¶
func (m *MockEventService) ListTopics() ([]string, error)
ListTopics mocks base method.
func (*MockEventService) Publish ¶
func (m *MockEventService) Publish(arg0 string, arg1 int, arg2 *events.NitricEvent) error
Publish mocks base method.
type MockEventServiceMockRecorder ¶
type MockEventServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockEventServiceMockRecorder is the mock recorder for MockEventService.
func (*MockEventServiceMockRecorder) ListTopics ¶
func (mr *MockEventServiceMockRecorder) ListTopics() *gomock.Call
ListTopics indicates an expected call of ListTopics.
func (*MockEventServiceMockRecorder) Publish ¶
func (mr *MockEventServiceMockRecorder) Publish(arg0, arg1, arg2 interface{}) *gomock.Call
Publish indicates an expected call of Publish.
Click to show internal directories.
Click to hide internal directories.