Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockProvider
- func (m *MockProvider) Close() error
- func (m *MockProvider) EXPECT() *MockProviderMockRecorder
- func (m *MockProvider) GetOpenStores() []storage.Store
- func (m *MockProvider) GetStoreConfig(arg0 string) (storage.StoreConfiguration, error)
- func (m *MockProvider) OpenStore(arg0 string) (storage.Store, error)
- func (m *MockProvider) SetStoreConfig(arg0 string, arg1 storage.StoreConfiguration) error
- type MockProviderMockRecorder
- func (mr *MockProviderMockRecorder) Close() *gomock.Call
- func (mr *MockProviderMockRecorder) GetOpenStores() *gomock.Call
- func (mr *MockProviderMockRecorder) GetStoreConfig(arg0 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) OpenStore(arg0 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) SetStoreConfig(arg0, arg1 interface{}) *gomock.Call
- type MockStore
- func (m *MockStore) Batch(arg0 []storage.Operation) error
- func (m *MockStore) Close() error
- func (m *MockStore) Delete(arg0 string) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Flush() error
- func (m *MockStore) Get(arg0 string) ([]byte, error)
- func (m *MockStore) GetBulk(arg0 ...string) ([][]byte, error)
- func (m *MockStore) GetTags(arg0 string) ([]storage.Tag, error)
- func (m *MockStore) Put(arg0 string, arg1 []byte, arg2 ...storage.Tag) error
- func (m *MockStore) Query(arg0 string, arg1 ...storage.QueryOption) (storage.Iterator, error)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) Batch(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Close() *gomock.Call
- func (mr *MockStoreMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Flush() *gomock.Call
- func (mr *MockStoreMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetBulk(arg0 ...interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetTags(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Put(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Query(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProvider ¶
type MockProvider struct {
// contains filtered or unexported fields
}
MockProvider is a mock of Provider interface.
func NewMockProvider ¶
func NewMockProvider(ctrl *gomock.Controller) *MockProvider
NewMockProvider creates a new mock instance.
func (*MockProvider) EXPECT ¶
func (m *MockProvider) EXPECT() *MockProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProvider) GetOpenStores ¶
func (m *MockProvider) GetOpenStores() []storage.Store
GetOpenStores mocks base method.
func (*MockProvider) GetStoreConfig ¶
func (m *MockProvider) GetStoreConfig(arg0 string) (storage.StoreConfiguration, error)
GetStoreConfig mocks base method.
func (*MockProvider) OpenStore ¶
func (m *MockProvider) OpenStore(arg0 string) (storage.Store, error)
OpenStore mocks base method.
func (*MockProvider) SetStoreConfig ¶
func (m *MockProvider) SetStoreConfig(arg0 string, arg1 storage.StoreConfiguration) error
SetStoreConfig mocks base method.
type MockProviderMockRecorder ¶
type MockProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderMockRecorder is the mock recorder for MockProvider.
func (*MockProviderMockRecorder) Close ¶
func (mr *MockProviderMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockProviderMockRecorder) GetOpenStores ¶
func (mr *MockProviderMockRecorder) GetOpenStores() *gomock.Call
GetOpenStores indicates an expected call of GetOpenStores.
func (*MockProviderMockRecorder) GetStoreConfig ¶
func (mr *MockProviderMockRecorder) GetStoreConfig(arg0 interface{}) *gomock.Call
GetStoreConfig indicates an expected call of GetStoreConfig.
func (*MockProviderMockRecorder) OpenStore ¶
func (mr *MockProviderMockRecorder) OpenStore(arg0 interface{}) *gomock.Call
OpenStore indicates an expected call of OpenStore.
func (*MockProviderMockRecorder) SetStoreConfig ¶
func (mr *MockProviderMockRecorder) SetStoreConfig(arg0, arg1 interface{}) *gomock.Call
SetStoreConfig indicates an expected call of SetStoreConfig.
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.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) Batch ¶
func (mr *MockStoreMockRecorder) Batch(arg0 interface{}) *gomock.Call
Batch indicates an expected call of Batch.
func (*MockStoreMockRecorder) Close ¶
func (mr *MockStoreMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockStoreMockRecorder) Delete ¶
func (mr *MockStoreMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockStoreMockRecorder) Flush ¶
func (mr *MockStoreMockRecorder) Flush() *gomock.Call
Flush indicates an expected call of Flush.
func (*MockStoreMockRecorder) Get ¶
func (mr *MockStoreMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockStoreMockRecorder) GetBulk ¶
func (mr *MockStoreMockRecorder) GetBulk(arg0 ...interface{}) *gomock.Call
GetBulk indicates an expected call of GetBulk.
func (*MockStoreMockRecorder) GetTags ¶
func (mr *MockStoreMockRecorder) GetTags(arg0 interface{}) *gomock.Call
GetTags indicates an expected call of GetTags.
func (*MockStoreMockRecorder) Put ¶
func (mr *MockStoreMockRecorder) Put(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Put indicates an expected call of Put.
func (*MockStoreMockRecorder) Query ¶
func (mr *MockStoreMockRecorder) Query(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Query indicates an expected call of Query.