Documentation ¶
Overview ¶
Package mock_metastore is a generated GoMock package.
Index ¶
- type MockStorage
- func (m *MockStorage) Close() error
- func (m *MockStorage) Delete(key string) error
- func (m *MockStorage) EXPECT() *MockStorageMockRecorder
- func (m *MockStorage) Exists(key string) (bool, error)
- func (m *MockStorage) Get(key string) ([]byte, error)
- func (m *MockStorage) List(prefix string) ([]string, error)
- func (m *MockStorage) Put(key string, value []byte) error
- type MockStorageMockRecorder
- func (mr *MockStorageMockRecorder) Close() *gomock.Call
- func (mr *MockStorageMockRecorder) Delete(key interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) Exists(key interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) Get(key interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) List(prefix interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) Put(key, value interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorage ¶
type MockStorage struct {
// contains filtered or unexported fields
}
MockStorage is a mock of Storage interface.
func NewMockStorage ¶
func NewMockStorage(ctrl *gomock.Controller) *MockStorage
NewMockStorage creates a new mock instance.
func (*MockStorage) Delete ¶
func (m *MockStorage) Delete(key string) error
Delete mocks base method.
func (*MockStorage) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorage) Exists ¶
func (m *MockStorage) Exists(key string) (bool, error)
Exists mocks base method.
func (*MockStorage) Get ¶
func (m *MockStorage) Get(key string) ([]byte, error)
Get mocks base method.
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage.
func (*MockStorageMockRecorder) Close ¶
func (mr *MockStorageMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockStorageMockRecorder) Delete ¶
func (mr *MockStorageMockRecorder) Delete(key interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockStorageMockRecorder) Exists ¶
func (mr *MockStorageMockRecorder) Exists(key interface{}) *gomock.Call
Exists indicates an expected call of Exists.
func (*MockStorageMockRecorder) Get ¶
func (mr *MockStorageMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockStorageMockRecorder) List ¶
func (mr *MockStorageMockRecorder) List(prefix interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockStorageMockRecorder) Put ¶
func (mr *MockStorageMockRecorder) Put(key, value interface{}) *gomock.Call
Put indicates an expected call of Put.
Click to show internal directories.
Click to hide internal directories.