mock

package
v0.0.0-...-69a6c05 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 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 MockIterator

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

MockIterator is a mock of Iterator interface.

func NewMockIterator

func NewMockIterator(ctrl *gomock.Controller) *MockIterator

NewMockIterator creates a new mock instance.

func (*MockIterator) Ack

func (m *MockIterator) Ack(ctx context.Context, rp sdk.Position) error

Ack mocks base method.

func (*MockIterator) EXPECT

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

func (*MockIterator) HasNext

func (m *MockIterator) HasNext(ctx context.Context) (bool, error)

HasNext mocks base method.

func (*MockIterator) Next

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

Next mocks base method.

func (*MockIterator) Stop

func (m *MockIterator) Stop() error

Stop mocks base method.

type MockIteratorMockRecorder

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

MockIteratorMockRecorder is the mock recorder for MockIterator.

func (*MockIteratorMockRecorder) Ack

func (mr *MockIteratorMockRecorder) Ack(ctx, rp interface{}) *gomock.Call

Ack indicates an expected call of Ack.

func (*MockIteratorMockRecorder) HasNext

func (mr *MockIteratorMockRecorder) HasNext(ctx interface{}) *gomock.Call

HasNext indicates an expected call of HasNext.

func (*MockIteratorMockRecorder) Next

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

Next indicates an expected call of Next.

func (*MockIteratorMockRecorder) Stop

func (mr *MockIteratorMockRecorder) Stop() *gomock.Call

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