mock_events

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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