Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockIterator
- func (m *MockIterator) Ack(ctx context.Context, rp sdk.Position) error
- func (m *MockIterator) EXPECT() *MockIteratorMockRecorder
- func (m *MockIterator) HasNext(ctx context.Context) (bool, error)
- func (m *MockIterator) Next(ctx context.Context) (sdk.Record, error)
- func (m *MockIterator) Stop(ctx context.Context) error
- type MockIteratorMockRecorder
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 ¶
func (m *MockIterator) EXPECT() *MockIteratorMockRecorder
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.
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(ctx interface{}) *gomock.Call
Stop indicates an expected call of Stop.
Click to show internal directories.
Click to hide internal directories.