mock

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock 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(arg0 context.Context) error

Ack mocks base method.

func (*MockSubscriber) EXPECT

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

func (*MockSubscriber) Next

func (m *MockSubscriber) Next(ctx context.Context) (sdk.Record, error)

Next mocks base method.

func (*MockSubscriber) Stop

func (m *MockSubscriber) Stop() error

Stop mocks base method.

type MockSubscriberMockRecorder

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

MockSubscriberMockRecorder is the mock recorder for MockSubscriber.

func (*MockSubscriberMockRecorder) Ack

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

Ack indicates an expected call of Ack.

func (*MockSubscriberMockRecorder) Next

func (mr *MockSubscriberMockRecorder) Next(ctx interface{}) *gomock.Call

Next indicates an expected call of Next.

func (*MockSubscriberMockRecorder) Stop

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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