mock

package
v0.2.0-nightly.20220215 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: Apache-2.0 Imports: 3 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) EXPECT

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

func (*MockIterator) HasNext

func (m *MockIterator) HasNext() bool

HasNext mocks base method.

func (*MockIterator) Next

func (m *MockIterator) Next() (record.Record, error)

Next mocks base method.

func (*MockIterator) Push

func (m *MockIterator) Push(arg0 record.Record)

Push mocks base method.

func (*MockIterator) Teardown

func (m *MockIterator) Teardown() error

Teardown mocks base method.

type MockIteratorMockRecorder

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

MockIteratorMockRecorder is the mock recorder for MockIterator.

func (*MockIteratorMockRecorder) HasNext

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

HasNext indicates an expected call of HasNext.

func (*MockIteratorMockRecorder) Next

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

Next indicates an expected call of Next.

func (*MockIteratorMockRecorder) Push

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

Push indicates an expected call of Push.

func (*MockIteratorMockRecorder) Teardown

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

Teardown indicates an expected call of Teardown.

Jump to

Keyboard shortcuts

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