mock

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 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) Close

func (m *MockIterator) Close() error

Close 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(arg0 context.Context) (bool, error)

HasNext mocks base method.

func (*MockIterator) Next

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

Next mocks base method.

func (*MockIterator) PushValueToDelete

func (m *MockIterator) PushValueToDelete(arg0 sdk.Position) error

PushValueToDelete mocks base method.

type MockIteratorMockRecorder

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

MockIteratorMockRecorder is the mock recorder for MockIterator.

func (*MockIteratorMockRecorder) Close

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

Close indicates an expected call of Close.

func (*MockIteratorMockRecorder) HasNext

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

HasNext indicates an expected call of HasNext.

func (*MockIteratorMockRecorder) Next

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

Next indicates an expected call of Next.

func (*MockIteratorMockRecorder) PushValueToDelete

func (mr *MockIteratorMockRecorder) PushValueToDelete(arg0 interface{}) *gomock.Call

PushValueToDelete indicates an expected call of PushValueToDelete.

Jump to

Keyboard shortcuts

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