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(arg0 context.Context) ([]string, error)
ListTopics mocks base method.
func (*MockEventService) Publish ¶
func (m *MockEventService) Publish(arg0 context.Context, arg1 string, arg2 int, arg3 *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(arg0 interface{}) *gomock.Call
ListTopics indicates an expected call of ListTopics.
func (*MockEventServiceMockRecorder) Publish ¶
func (mr *MockEventServiceMockRecorder) Publish(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Publish indicates an expected call of Publish.
Click to show internal directories.
Click to hide internal directories.