mock_events

package
v0.21.1-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL