Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockDriver
- type MockDriverMockRecorder
- type MockEntriesIterator
- type MockEntriesIteratorMockRecorder
- func (mr *MockEntriesIteratorMockRecorder) Close() *gomock.Call
- func (mr *MockEntriesIteratorMockRecorder) Entry() *gomock.Call
- func (mr *MockEntriesIteratorMockRecorder) Err() *gomock.Call
- func (mr *MockEntriesIteratorMockRecorder) Next() *gomock.Call
- func (mr *MockEntriesIteratorMockRecorder) SeekGE(key interface{}) *gomock.Call
- type MockPredicate
- type MockPredicateMockRecorder
- type MockStore
- func (m *MockStore) Close()
- func (m *MockStore) Delete(ctx context.Context, partitionKey, key []byte) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Get(ctx context.Context, partitionKey, key []byte) (*kv.ValueWithPredicate, error)
- func (m *MockStore) Scan(ctx context.Context, partitionKey []byte, options kv.ScanOptions) (kv.EntriesIterator, error)
- func (m *MockStore) Set(ctx context.Context, partitionKey, key, value []byte) error
- func (m *MockStore) SetIf(ctx context.Context, partitionKey, key, value []byte, ...) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) Close() *gomock.Call
- func (mr *MockStoreMockRecorder) Delete(ctx, partitionKey, key interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Get(ctx, partitionKey, key interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Scan(ctx, partitionKey, options interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Set(ctx, partitionKey, key, value interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetIf(ctx, partitionKey, key, value, valuePredicate interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDriver ¶
type MockDriver struct {
// contains filtered or unexported fields
}
MockDriver is a mock of Driver interface.
func NewMockDriver ¶
func NewMockDriver(ctrl *gomock.Controller) *MockDriver
NewMockDriver creates a new mock instance.
func (*MockDriver) EXPECT ¶
func (m *MockDriver) EXPECT() *MockDriverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDriverMockRecorder ¶
type MockDriverMockRecorder struct {
// contains filtered or unexported fields
}
MockDriverMockRecorder is the mock recorder for MockDriver.
func (*MockDriverMockRecorder) Open ¶
func (mr *MockDriverMockRecorder) Open(ctx, params interface{}) *gomock.Call
Open indicates an expected call of Open.
type MockEntriesIterator ¶
type MockEntriesIterator struct {
// contains filtered or unexported fields
}
MockEntriesIterator is a mock of EntriesIterator interface.
func NewMockEntriesIterator ¶
func NewMockEntriesIterator(ctrl *gomock.Controller) *MockEntriesIterator
NewMockEntriesIterator creates a new mock instance.
func (*MockEntriesIterator) EXPECT ¶
func (m *MockEntriesIterator) EXPECT() *MockEntriesIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEntriesIterator) Entry ¶
func (m *MockEntriesIterator) Entry() *kv.Entry
Entry mocks base method.
func (*MockEntriesIterator) Next ¶
func (m *MockEntriesIterator) Next() bool
Next mocks base method.
func (*MockEntriesIterator) SeekGE ¶ added in v0.106.0
func (m *MockEntriesIterator) SeekGE(key []byte)
SeekGE mocks base method.
type MockEntriesIteratorMockRecorder ¶
type MockEntriesIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockEntriesIteratorMockRecorder is the mock recorder for MockEntriesIterator.
func (*MockEntriesIteratorMockRecorder) Close ¶
func (mr *MockEntriesIteratorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockEntriesIteratorMockRecorder) Entry ¶
func (mr *MockEntriesIteratorMockRecorder) Entry() *gomock.Call
Entry indicates an expected call of Entry.
func (*MockEntriesIteratorMockRecorder) Err ¶
func (mr *MockEntriesIteratorMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockEntriesIteratorMockRecorder) Next ¶
func (mr *MockEntriesIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*MockEntriesIteratorMockRecorder) SeekGE ¶ added in v0.106.0
func (mr *MockEntriesIteratorMockRecorder) SeekGE(key interface{}) *gomock.Call
SeekGE indicates an expected call of SeekGE.
type MockPredicate ¶
type MockPredicate struct {
// contains filtered or unexported fields
}
MockPredicate is a mock of Predicate interface.
func NewMockPredicate ¶
func NewMockPredicate(ctrl *gomock.Controller) *MockPredicate
NewMockPredicate creates a new mock instance.
func (*MockPredicate) EXPECT ¶
func (m *MockPredicate) EXPECT() *MockPredicateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPredicateMockRecorder ¶
type MockPredicateMockRecorder struct {
// contains filtered or unexported fields
}
MockPredicateMockRecorder is the mock recorder for MockPredicate.
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface.
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStore) Get ¶
func (m *MockStore) Get(ctx context.Context, partitionKey, key []byte) (*kv.ValueWithPredicate, error)
Get mocks base method.
func (*MockStore) Scan ¶
func (m *MockStore) Scan(ctx context.Context, partitionKey []byte, options kv.ScanOptions) (kv.EntriesIterator, error)
Scan mocks base method.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) Close ¶
func (mr *MockStoreMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockStoreMockRecorder) Delete ¶
func (mr *MockStoreMockRecorder) Delete(ctx, partitionKey, key interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockStoreMockRecorder) Get ¶
func (mr *MockStoreMockRecorder) Get(ctx, partitionKey, key interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockStoreMockRecorder) Scan ¶
func (mr *MockStoreMockRecorder) Scan(ctx, partitionKey, options interface{}) *gomock.Call
Scan indicates an expected call of Scan.
func (*MockStoreMockRecorder) Set ¶
func (mr *MockStoreMockRecorder) Set(ctx, partitionKey, key, value interface{}) *gomock.Call
Set indicates an expected call of Set.
func (*MockStoreMockRecorder) SetIf ¶
func (mr *MockStoreMockRecorder) SetIf(ctx, partitionKey, key, value, valuePredicate interface{}) *gomock.Call
SetIf indicates an expected call of SetIf.