mocks

package
v0.74.9 Latest Latest
Warning

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

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

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSubscriber

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

MockSubscriber is a mock of Subscriber interface.

func NewMockSubscriber

func NewMockSubscriber(ctrl *gomock.Controller) *MockSubscriber

NewMockSubscriber creates a new mock instance.

func (*MockSubscriber) Ack

func (m *MockSubscriber) Ack() bool

Ack mocks base method.

func (*MockSubscriber) C

func (m *MockSubscriber) C() chan<- []events.Event

C mocks base method.

func (*MockSubscriber) Closed

func (m *MockSubscriber) Closed() <-chan struct{}

Closed mocks base method.

func (*MockSubscriber) EXPECT

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

func (*MockSubscriber) ID

func (m *MockSubscriber) ID() int

ID mocks base method.

func (*MockSubscriber) Push

func (m *MockSubscriber) Push(arg0 ...events.Event)

Push mocks base method.

func (*MockSubscriber) SetID

func (m *MockSubscriber) SetID(arg0 int)

SetID mocks base method.

func (*MockSubscriber) Skip

func (m *MockSubscriber) Skip() <-chan struct{}

Skip mocks base method.

func (*MockSubscriber) Types

func (m *MockSubscriber) Types() []events.Type

Types mocks base method.

type MockSubscriberMockRecorder

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

MockSubscriberMockRecorder is the mock recorder for MockSubscriber.

func (*MockSubscriberMockRecorder) Ack

Ack indicates an expected call of Ack.

func (*MockSubscriberMockRecorder) C

C indicates an expected call of C.

func (*MockSubscriberMockRecorder) Closed

func (mr *MockSubscriberMockRecorder) Closed() *gomock.Call

Closed indicates an expected call of Closed.

func (*MockSubscriberMockRecorder) ID

ID indicates an expected call of ID.

func (*MockSubscriberMockRecorder) Push

func (mr *MockSubscriberMockRecorder) Push(arg0 ...interface{}) *gomock.Call

Push indicates an expected call of Push.

func (*MockSubscriberMockRecorder) SetID

func (mr *MockSubscriberMockRecorder) SetID(arg0 interface{}) *gomock.Call

SetID indicates an expected call of SetID.

func (*MockSubscriberMockRecorder) Skip

Skip indicates an expected call of Skip.

func (*MockSubscriberMockRecorder) Types

func (mr *MockSubscriberMockRecorder) Types() *gomock.Call

Types indicates an expected call of Types.

Jump to

Keyboard shortcuts

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