mock_event

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_event is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockManager

type MockManager struct {
	// contains filtered or unexported fields
}

MockManager is a mock of Manager interface.

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance.

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockManager) RegisterListener

func (m *MockManager) RegisterListener(arg0 event.EventType, arg1 chan event.Event) int

RegisterListener mocks base method.

func (*MockManager) RemoveListener

func (m *MockManager) RemoveListener(arg0 int) int

RemoveListener mocks base method.

func (*MockManager) ReportError

func (m *MockManager) ReportError(arg0 error)

ReportError mocks base method.

func (*MockManager) ReportFatalError

func (m *MockManager) ReportFatalError(arg0 error)

ReportFatalError mocks base method.

func (*MockManager) Send

func (m *MockManager) Send(arg0 event.Event)

Send mocks base method.

type MockManagerMockRecorder

type MockManagerMockRecorder struct {
	// contains filtered or unexported fields
}

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) RegisterListener

func (mr *MockManagerMockRecorder) RegisterListener(arg0, arg1 any) *gomock.Call

RegisterListener indicates an expected call of RegisterListener.

func (*MockManagerMockRecorder) RemoveListener

func (mr *MockManagerMockRecorder) RemoveListener(arg0 any) *gomock.Call

RemoveListener indicates an expected call of RemoveListener.

func (*MockManagerMockRecorder) ReportError

func (mr *MockManagerMockRecorder) ReportError(arg0 any) *gomock.Call

ReportError indicates an expected call of ReportError.

func (*MockManagerMockRecorder) ReportFatalError

func (mr *MockManagerMockRecorder) ReportFatalError(arg0 any) *gomock.Call

ReportFatalError indicates an expected call of ReportFatalError.

func (*MockManagerMockRecorder) Send

func (mr *MockManagerMockRecorder) Send(arg0 any) *gomock.Call

Send indicates an expected call of Send.

Jump to

Keyboard shortcuts

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