Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockBatchWriterCloser
- type MockBatchWriterCloserMockRecorder
- type MockDiffIterator
- func (m *MockDiffIterator) Close()
- func (m *MockDiffIterator) EXPECT() *MockDiffIteratorMockRecorder
- func (m *MockDiffIterator) Err() error
- func (m *MockDiffIterator) Next() bool
- func (m *MockDiffIterator) NextRange() bool
- func (m *MockDiffIterator) SeekGE(id graveler.Key)
- func (m *MockDiffIterator) Value() (*graveler.Diff, *committed.RangeDiff)
- type MockDiffIteratorMockRecorder
- func (mr *MockDiffIteratorMockRecorder) Close() *gomock.Call
- func (mr *MockDiffIteratorMockRecorder) Err() *gomock.Call
- func (mr *MockDiffIteratorMockRecorder) Next() *gomock.Call
- func (mr *MockDiffIteratorMockRecorder) NextRange() *gomock.Call
- func (mr *MockDiffIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
- func (mr *MockDiffIteratorMockRecorder) Value() *gomock.Call
- type MockIterator
- func (m *MockIterator) Close()
- func (m *MockIterator) EXPECT() *MockIteratorMockRecorder
- func (m *MockIterator) Err() error
- func (m *MockIterator) Next() bool
- func (m *MockIterator) NextRange() bool
- func (m *MockIterator) SeekGE(id graveler.Key)
- func (m *MockIterator) Value() (*graveler.ValueRecord, *committed.Range)
- type MockIteratorMockRecorder
- func (mr *MockIteratorMockRecorder) Close() *gomock.Call
- func (mr *MockIteratorMockRecorder) Err() *gomock.Call
- func (mr *MockIteratorMockRecorder) Next() *gomock.Call
- func (mr *MockIteratorMockRecorder) NextRange() *gomock.Call
- func (mr *MockIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
- func (mr *MockIteratorMockRecorder) Value() *gomock.Call
- type MockMetaRangeManager
- func (m *MockMetaRangeManager) EXPECT() *MockMetaRangeManagerMockRecorder
- func (m *MockMetaRangeManager) Exists(ctx context.Context, ns graveler.StorageNamespace, id graveler.MetaRangeID) (bool, error)
- func (m *MockMetaRangeManager) GetMetaRangeURI(ctx context.Context, ns graveler.StorageNamespace, ...) (string, error)
- func (m *MockMetaRangeManager) GetRangeByKey(ctx context.Context, ns graveler.StorageNamespace, id graveler.MetaRangeID, ...) (*committed.Range, error)
- func (m *MockMetaRangeManager) GetRangeURI(ctx context.Context, ns graveler.StorageNamespace, rangeID graveler.RangeID) (string, error)
- func (m *MockMetaRangeManager) GetValue(ctx context.Context, ns graveler.StorageNamespace, id graveler.MetaRangeID, ...) (*graveler.ValueRecord, error)
- func (m *MockMetaRangeManager) NewMetaRangeIterator(ctx context.Context, ns graveler.StorageNamespace, ...) (committed.Iterator, error)
- func (m *MockMetaRangeManager) NewWriter(ctx context.Context, ns graveler.StorageNamespace, metadata graveler.Metadata) committed.MetaRangeWriter
- type MockMetaRangeManagerMockRecorder
- func (mr *MockMetaRangeManagerMockRecorder) Exists(ctx, ns, id interface{}) *gomock.Call
- func (mr *MockMetaRangeManagerMockRecorder) GetMetaRangeURI(ctx, ns, metaRangeID interface{}) *gomock.Call
- func (mr *MockMetaRangeManagerMockRecorder) GetRangeByKey(ctx, ns, id, key interface{}) *gomock.Call
- func (mr *MockMetaRangeManagerMockRecorder) GetRangeURI(ctx, ns, rangeID interface{}) *gomock.Call
- func (mr *MockMetaRangeManagerMockRecorder) GetValue(ctx, ns, id, key interface{}) *gomock.Call
- func (mr *MockMetaRangeManagerMockRecorder) NewMetaRangeIterator(ctx, ns, metaRangeID interface{}) *gomock.Call
- func (mr *MockMetaRangeManagerMockRecorder) NewWriter(ctx, ns, metadata interface{}) *gomock.Call
- type MockMetaRangeWriter
- func (m *MockMetaRangeWriter) Abort() error
- func (m *MockMetaRangeWriter) Close(arg0 context.Context) (*graveler.MetaRangeID, error)
- func (m *MockMetaRangeWriter) EXPECT() *MockMetaRangeWriterMockRecorder
- func (m *MockMetaRangeWriter) WriteRange(arg0 committed.Range) error
- func (m *MockMetaRangeWriter) WriteRecord(arg0 graveler.ValueRecord) error
- type MockMetaRangeWriterMockRecorder
- func (mr *MockMetaRangeWriterMockRecorder) Abort() *gomock.Call
- func (mr *MockMetaRangeWriterMockRecorder) Close(arg0 interface{}) *gomock.Call
- func (mr *MockMetaRangeWriterMockRecorder) WriteRange(arg0 interface{}) *gomock.Call
- func (mr *MockMetaRangeWriterMockRecorder) WriteRecord(arg0 interface{}) *gomock.Call
- type MockRangeManager
- func (m *MockRangeManager) EXPECT() *MockRangeManagerMockRecorder
- func (m *MockRangeManager) Exists(ctx context.Context, ns committed.Namespace, id committed.ID) (bool, error)
- func (m *MockRangeManager) GetURI(ctx context.Context, ns committed.Namespace, id committed.ID) (string, error)
- func (m *MockRangeManager) GetValue(ctx context.Context, ns committed.Namespace, id committed.ID, ...) (*committed.Record, error)
- func (m *MockRangeManager) GetValueGE(ctx context.Context, ns committed.Namespace, id committed.ID, ...) (*committed.Record, error)
- func (m *MockRangeManager) GetWriter(ctx context.Context, ns committed.Namespace, metadata graveler.Metadata) (committed.RangeWriter, error)
- func (m *MockRangeManager) NewRangeIterator(ctx context.Context, ns committed.Namespace, pid committed.ID) (committed.ValueIterator, error)
- type MockRangeManagerMockRecorder
- func (mr *MockRangeManagerMockRecorder) Exists(ctx, ns, id interface{}) *gomock.Call
- func (mr *MockRangeManagerMockRecorder) GetURI(ctx, ns, id interface{}) *gomock.Call
- func (mr *MockRangeManagerMockRecorder) GetValue(ctx, ns, id, key interface{}) *gomock.Call
- func (mr *MockRangeManagerMockRecorder) GetValueGE(ctx, ns, id, key interface{}) *gomock.Call
- func (mr *MockRangeManagerMockRecorder) GetWriter(ctx, ns, metadata interface{}) *gomock.Call
- func (mr *MockRangeManagerMockRecorder) NewRangeIterator(ctx, ns, pid interface{}) *gomock.Call
- type MockRangeWriter
- func (m *MockRangeWriter) Abort() error
- func (m *MockRangeWriter) Close() (*committed.WriteResult, error)
- func (m *MockRangeWriter) EXPECT() *MockRangeWriterMockRecorder
- func (m *MockRangeWriter) GetApproximateSize() uint64
- func (m *MockRangeWriter) SetMetadata(key, value string)
- func (m *MockRangeWriter) ShouldBreakAtKey(key graveler.Key, params *committed.Params) bool
- func (m *MockRangeWriter) WriteRecord(record committed.Record) error
- type MockRangeWriterMockRecorder
- func (mr *MockRangeWriterMockRecorder) Abort() *gomock.Call
- func (mr *MockRangeWriterMockRecorder) Close() *gomock.Call
- func (mr *MockRangeWriterMockRecorder) GetApproximateSize() *gomock.Call
- func (mr *MockRangeWriterMockRecorder) SetMetadata(key, value interface{}) *gomock.Call
- func (mr *MockRangeWriterMockRecorder) ShouldBreakAtKey(key, params interface{}) *gomock.Call
- func (mr *MockRangeWriterMockRecorder) WriteRecord(record interface{}) *gomock.Call
- type MockValueIterator
- type MockValueIteratorMockRecorder
- func (mr *MockValueIteratorMockRecorder) Close() *gomock.Call
- func (mr *MockValueIteratorMockRecorder) Err() *gomock.Call
- func (mr *MockValueIteratorMockRecorder) Next() *gomock.Call
- func (mr *MockValueIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
- func (mr *MockValueIteratorMockRecorder) Value() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBatchWriterCloser ¶
type MockBatchWriterCloser struct {
// contains filtered or unexported fields
}
MockBatchWriterCloser is a mock of BatchWriterCloser interface.
func NewMockBatchWriterCloser ¶
func NewMockBatchWriterCloser(ctrl *gomock.Controller) *MockBatchWriterCloser
NewMockBatchWriterCloser creates a new mock instance.
func (*MockBatchWriterCloser) CloseWriterAsync ¶
func (m *MockBatchWriterCloser) CloseWriterAsync(arg0 committed.ResultCloser) error
CloseWriterAsync mocks base method.
func (*MockBatchWriterCloser) EXPECT ¶
func (m *MockBatchWriterCloser) EXPECT() *MockBatchWriterCloserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBatchWriterCloser) Wait ¶
func (m *MockBatchWriterCloser) Wait() ([]committed.WriteResult, error)
Wait mocks base method.
type MockBatchWriterCloserMockRecorder ¶
type MockBatchWriterCloserMockRecorder struct {
// contains filtered or unexported fields
}
MockBatchWriterCloserMockRecorder is the mock recorder for MockBatchWriterCloser.
func (*MockBatchWriterCloserMockRecorder) CloseWriterAsync ¶
func (mr *MockBatchWriterCloserMockRecorder) CloseWriterAsync(arg0 interface{}) *gomock.Call
CloseWriterAsync indicates an expected call of CloseWriterAsync.
func (*MockBatchWriterCloserMockRecorder) Wait ¶
func (mr *MockBatchWriterCloserMockRecorder) Wait() *gomock.Call
Wait indicates an expected call of Wait.
type MockDiffIterator ¶
type MockDiffIterator struct {
// contains filtered or unexported fields
}
MockDiffIterator is a mock of DiffIterator interface.
func NewMockDiffIterator ¶
func NewMockDiffIterator(ctrl *gomock.Controller) *MockDiffIterator
NewMockDiffIterator creates a new mock instance.
func (*MockDiffIterator) EXPECT ¶
func (m *MockDiffIterator) EXPECT() *MockDiffIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDiffIterator) NextRange ¶
func (m *MockDiffIterator) NextRange() bool
NextRange mocks base method.
func (*MockDiffIterator) SeekGE ¶
func (m *MockDiffIterator) SeekGE(id graveler.Key)
SeekGE mocks base method.
type MockDiffIteratorMockRecorder ¶
type MockDiffIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockDiffIteratorMockRecorder is the mock recorder for MockDiffIterator.
func (*MockDiffIteratorMockRecorder) Close ¶
func (mr *MockDiffIteratorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockDiffIteratorMockRecorder) Err ¶
func (mr *MockDiffIteratorMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockDiffIteratorMockRecorder) Next ¶
func (mr *MockDiffIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*MockDiffIteratorMockRecorder) NextRange ¶
func (mr *MockDiffIteratorMockRecorder) NextRange() *gomock.Call
NextRange indicates an expected call of NextRange.
func (*MockDiffIteratorMockRecorder) SeekGE ¶
func (mr *MockDiffIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
SeekGE indicates an expected call of SeekGE.
func (*MockDiffIteratorMockRecorder) Value ¶
func (mr *MockDiffIteratorMockRecorder) Value() *gomock.Call
Value indicates an expected call of Value.
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) NextRange ¶
func (m *MockIterator) NextRange() bool
NextRange mocks base method.
func (*MockIterator) SeekGE ¶
func (m *MockIterator) SeekGE(id graveler.Key)
SeekGE mocks base method.
func (*MockIterator) Value ¶
func (m *MockIterator) Value() (*graveler.ValueRecord, *committed.Range)
Value 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) Err ¶
func (mr *MockIteratorMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockIteratorMockRecorder) Next ¶
func (mr *MockIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*MockIteratorMockRecorder) NextRange ¶
func (mr *MockIteratorMockRecorder) NextRange() *gomock.Call
NextRange indicates an expected call of NextRange.
func (*MockIteratorMockRecorder) SeekGE ¶
func (mr *MockIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
SeekGE indicates an expected call of SeekGE.
func (*MockIteratorMockRecorder) Value ¶
func (mr *MockIteratorMockRecorder) Value() *gomock.Call
Value indicates an expected call of Value.
type MockMetaRangeManager ¶
type MockMetaRangeManager struct {
// contains filtered or unexported fields
}
MockMetaRangeManager is a mock of MetaRangeManager interface.
func NewMockMetaRangeManager ¶
func NewMockMetaRangeManager(ctrl *gomock.Controller) *MockMetaRangeManager
NewMockMetaRangeManager creates a new mock instance.
func (*MockMetaRangeManager) EXPECT ¶
func (m *MockMetaRangeManager) EXPECT() *MockMetaRangeManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMetaRangeManager) Exists ¶
func (m *MockMetaRangeManager) Exists(ctx context.Context, ns graveler.StorageNamespace, id graveler.MetaRangeID) (bool, error)
Exists mocks base method.
func (*MockMetaRangeManager) GetMetaRangeURI ¶
func (m *MockMetaRangeManager) GetMetaRangeURI(ctx context.Context, ns graveler.StorageNamespace, metaRangeID graveler.MetaRangeID) (string, error)
GetMetaRangeURI mocks base method.
func (*MockMetaRangeManager) GetRangeByKey ¶ added in v0.98.0
func (m *MockMetaRangeManager) GetRangeByKey(ctx context.Context, ns graveler.StorageNamespace, id graveler.MetaRangeID, key graveler.Key) (*committed.Range, error)
GetRangeByKey mocks base method.
func (*MockMetaRangeManager) GetRangeURI ¶
func (m *MockMetaRangeManager) GetRangeURI(ctx context.Context, ns graveler.StorageNamespace, rangeID graveler.RangeID) (string, error)
GetRangeURI mocks base method.
func (*MockMetaRangeManager) GetValue ¶
func (m *MockMetaRangeManager) GetValue(ctx context.Context, ns graveler.StorageNamespace, id graveler.MetaRangeID, key graveler.Key) (*graveler.ValueRecord, error)
GetValue mocks base method.
func (*MockMetaRangeManager) NewMetaRangeIterator ¶
func (m *MockMetaRangeManager) NewMetaRangeIterator(ctx context.Context, ns graveler.StorageNamespace, metaRangeID graveler.MetaRangeID) (committed.Iterator, error)
NewMetaRangeIterator mocks base method.
func (*MockMetaRangeManager) NewWriter ¶
func (m *MockMetaRangeManager) NewWriter(ctx context.Context, ns graveler.StorageNamespace, metadata graveler.Metadata) committed.MetaRangeWriter
NewWriter mocks base method.
type MockMetaRangeManagerMockRecorder ¶
type MockMetaRangeManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockMetaRangeManagerMockRecorder is the mock recorder for MockMetaRangeManager.
func (*MockMetaRangeManagerMockRecorder) Exists ¶
func (mr *MockMetaRangeManagerMockRecorder) Exists(ctx, ns, id interface{}) *gomock.Call
Exists indicates an expected call of Exists.
func (*MockMetaRangeManagerMockRecorder) GetMetaRangeURI ¶
func (mr *MockMetaRangeManagerMockRecorder) GetMetaRangeURI(ctx, ns, metaRangeID interface{}) *gomock.Call
GetMetaRangeURI indicates an expected call of GetMetaRangeURI.
func (*MockMetaRangeManagerMockRecorder) GetRangeByKey ¶ added in v0.98.0
func (mr *MockMetaRangeManagerMockRecorder) GetRangeByKey(ctx, ns, id, key interface{}) *gomock.Call
GetRangeByKey indicates an expected call of GetRangeByKey.
func (*MockMetaRangeManagerMockRecorder) GetRangeURI ¶
func (mr *MockMetaRangeManagerMockRecorder) GetRangeURI(ctx, ns, rangeID interface{}) *gomock.Call
GetRangeURI indicates an expected call of GetRangeURI.
func (*MockMetaRangeManagerMockRecorder) GetValue ¶
func (mr *MockMetaRangeManagerMockRecorder) GetValue(ctx, ns, id, key interface{}) *gomock.Call
GetValue indicates an expected call of GetValue.
func (*MockMetaRangeManagerMockRecorder) NewMetaRangeIterator ¶
func (mr *MockMetaRangeManagerMockRecorder) NewMetaRangeIterator(ctx, ns, metaRangeID interface{}) *gomock.Call
NewMetaRangeIterator indicates an expected call of NewMetaRangeIterator.
func (*MockMetaRangeManagerMockRecorder) NewWriter ¶
func (mr *MockMetaRangeManagerMockRecorder) NewWriter(ctx, ns, metadata interface{}) *gomock.Call
NewWriter indicates an expected call of NewWriter.
type MockMetaRangeWriter ¶
type MockMetaRangeWriter struct {
// contains filtered or unexported fields
}
MockMetaRangeWriter is a mock of MetaRangeWriter interface.
func NewMockMetaRangeWriter ¶
func NewMockMetaRangeWriter(ctrl *gomock.Controller) *MockMetaRangeWriter
NewMockMetaRangeWriter creates a new mock instance.
func (*MockMetaRangeWriter) Abort ¶
func (m *MockMetaRangeWriter) Abort() error
Abort mocks base method.
func (*MockMetaRangeWriter) Close ¶
func (m *MockMetaRangeWriter) Close(arg0 context.Context) (*graveler.MetaRangeID, error)
Close mocks base method.
func (*MockMetaRangeWriter) EXPECT ¶
func (m *MockMetaRangeWriter) EXPECT() *MockMetaRangeWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMetaRangeWriter) WriteRange ¶
func (m *MockMetaRangeWriter) WriteRange(arg0 committed.Range) error
WriteRange mocks base method.
func (*MockMetaRangeWriter) WriteRecord ¶
func (m *MockMetaRangeWriter) WriteRecord(arg0 graveler.ValueRecord) error
WriteRecord mocks base method.
type MockMetaRangeWriterMockRecorder ¶
type MockMetaRangeWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockMetaRangeWriterMockRecorder is the mock recorder for MockMetaRangeWriter.
func (*MockMetaRangeWriterMockRecorder) Abort ¶
func (mr *MockMetaRangeWriterMockRecorder) Abort() *gomock.Call
Abort indicates an expected call of Abort.
func (*MockMetaRangeWriterMockRecorder) Close ¶
func (mr *MockMetaRangeWriterMockRecorder) Close(arg0 interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockMetaRangeWriterMockRecorder) WriteRange ¶
func (mr *MockMetaRangeWriterMockRecorder) WriteRange(arg0 interface{}) *gomock.Call
WriteRange indicates an expected call of WriteRange.
func (*MockMetaRangeWriterMockRecorder) WriteRecord ¶
func (mr *MockMetaRangeWriterMockRecorder) WriteRecord(arg0 interface{}) *gomock.Call
WriteRecord indicates an expected call of WriteRecord.
type MockRangeManager ¶
type MockRangeManager struct {
// contains filtered or unexported fields
}
MockRangeManager is a mock of RangeManager interface.
func NewMockRangeManager ¶
func NewMockRangeManager(ctrl *gomock.Controller) *MockRangeManager
NewMockRangeManager creates a new mock instance.
func (*MockRangeManager) EXPECT ¶
func (m *MockRangeManager) EXPECT() *MockRangeManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRangeManager) Exists ¶
func (m *MockRangeManager) Exists(ctx context.Context, ns committed.Namespace, id committed.ID) (bool, error)
Exists mocks base method.
func (*MockRangeManager) GetURI ¶
func (m *MockRangeManager) GetURI(ctx context.Context, ns committed.Namespace, id committed.ID) (string, error)
GetURI mocks base method.
func (*MockRangeManager) GetValue ¶
func (m *MockRangeManager) GetValue(ctx context.Context, ns committed.Namespace, id committed.ID, key committed.Key) (*committed.Record, error)
GetValue mocks base method.
func (*MockRangeManager) GetValueGE ¶
func (m *MockRangeManager) GetValueGE(ctx context.Context, ns committed.Namespace, id committed.ID, key committed.Key) (*committed.Record, error)
GetValueGE mocks base method.
func (*MockRangeManager) GetWriter ¶
func (m *MockRangeManager) GetWriter(ctx context.Context, ns committed.Namespace, metadata graveler.Metadata) (committed.RangeWriter, error)
GetWriter mocks base method.
func (*MockRangeManager) NewRangeIterator ¶
func (m *MockRangeManager) NewRangeIterator(ctx context.Context, ns committed.Namespace, pid committed.ID) (committed.ValueIterator, error)
NewRangeIterator mocks base method.
type MockRangeManagerMockRecorder ¶
type MockRangeManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockRangeManagerMockRecorder is the mock recorder for MockRangeManager.
func (*MockRangeManagerMockRecorder) Exists ¶
func (mr *MockRangeManagerMockRecorder) Exists(ctx, ns, id interface{}) *gomock.Call
Exists indicates an expected call of Exists.
func (*MockRangeManagerMockRecorder) GetURI ¶
func (mr *MockRangeManagerMockRecorder) GetURI(ctx, ns, id interface{}) *gomock.Call
GetURI indicates an expected call of GetURI.
func (*MockRangeManagerMockRecorder) GetValue ¶
func (mr *MockRangeManagerMockRecorder) GetValue(ctx, ns, id, key interface{}) *gomock.Call
GetValue indicates an expected call of GetValue.
func (*MockRangeManagerMockRecorder) GetValueGE ¶
func (mr *MockRangeManagerMockRecorder) GetValueGE(ctx, ns, id, key interface{}) *gomock.Call
GetValueGE indicates an expected call of GetValueGE.
func (*MockRangeManagerMockRecorder) GetWriter ¶
func (mr *MockRangeManagerMockRecorder) GetWriter(ctx, ns, metadata interface{}) *gomock.Call
GetWriter indicates an expected call of GetWriter.
func (*MockRangeManagerMockRecorder) NewRangeIterator ¶
func (mr *MockRangeManagerMockRecorder) NewRangeIterator(ctx, ns, pid interface{}) *gomock.Call
NewRangeIterator indicates an expected call of NewRangeIterator.
type MockRangeWriter ¶
type MockRangeWriter struct {
// contains filtered or unexported fields
}
MockRangeWriter is a mock of RangeWriter interface.
func NewMockRangeWriter ¶
func NewMockRangeWriter(ctrl *gomock.Controller) *MockRangeWriter
NewMockRangeWriter creates a new mock instance.
func (*MockRangeWriter) Close ¶
func (m *MockRangeWriter) Close() (*committed.WriteResult, error)
Close mocks base method.
func (*MockRangeWriter) EXPECT ¶
func (m *MockRangeWriter) EXPECT() *MockRangeWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRangeWriter) GetApproximateSize ¶
func (m *MockRangeWriter) GetApproximateSize() uint64
GetApproximateSize mocks base method.
func (*MockRangeWriter) SetMetadata ¶
func (m *MockRangeWriter) SetMetadata(key, value string)
SetMetadata mocks base method.
func (*MockRangeWriter) ShouldBreakAtKey ¶
ShouldBreakAtKey mocks base method.
func (*MockRangeWriter) WriteRecord ¶
func (m *MockRangeWriter) WriteRecord(record committed.Record) error
WriteRecord mocks base method.
type MockRangeWriterMockRecorder ¶
type MockRangeWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockRangeWriterMockRecorder is the mock recorder for MockRangeWriter.
func (*MockRangeWriterMockRecorder) Abort ¶
func (mr *MockRangeWriterMockRecorder) Abort() *gomock.Call
Abort indicates an expected call of Abort.
func (*MockRangeWriterMockRecorder) Close ¶
func (mr *MockRangeWriterMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockRangeWriterMockRecorder) GetApproximateSize ¶
func (mr *MockRangeWriterMockRecorder) GetApproximateSize() *gomock.Call
GetApproximateSize indicates an expected call of GetApproximateSize.
func (*MockRangeWriterMockRecorder) SetMetadata ¶
func (mr *MockRangeWriterMockRecorder) SetMetadata(key, value interface{}) *gomock.Call
SetMetadata indicates an expected call of SetMetadata.
func (*MockRangeWriterMockRecorder) ShouldBreakAtKey ¶
func (mr *MockRangeWriterMockRecorder) ShouldBreakAtKey(key, params interface{}) *gomock.Call
ShouldBreakAtKey indicates an expected call of ShouldBreakAtKey.
func (*MockRangeWriterMockRecorder) WriteRecord ¶
func (mr *MockRangeWriterMockRecorder) WriteRecord(record interface{}) *gomock.Call
WriteRecord indicates an expected call of WriteRecord.
type MockValueIterator ¶
type MockValueIterator struct {
// contains filtered or unexported fields
}
MockValueIterator is a mock of ValueIterator interface.
func NewMockValueIterator ¶
func NewMockValueIterator(ctrl *gomock.Controller) *MockValueIterator
NewMockValueIterator creates a new mock instance.
func (*MockValueIterator) EXPECT ¶
func (m *MockValueIterator) EXPECT() *MockValueIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockValueIterator) SeekGE ¶
func (m *MockValueIterator) SeekGE(id committed.Key)
SeekGE mocks base method.
func (*MockValueIterator) Value ¶
func (m *MockValueIterator) Value() *committed.Record
Value mocks base method.
type MockValueIteratorMockRecorder ¶
type MockValueIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockValueIteratorMockRecorder is the mock recorder for MockValueIterator.
func (*MockValueIteratorMockRecorder) Close ¶
func (mr *MockValueIteratorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockValueIteratorMockRecorder) Err ¶
func (mr *MockValueIteratorMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockValueIteratorMockRecorder) Next ¶
func (mr *MockValueIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*MockValueIteratorMockRecorder) SeekGE ¶
func (mr *MockValueIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
SeekGE indicates an expected call of SeekGE.
func (*MockValueIteratorMockRecorder) Value ¶
func (mr *MockValueIteratorMockRecorder) Value() *gomock.Call
Value indicates an expected call of Value.