Documentation ¶
Overview ¶
Package mock_storage is a generated GoMock package.
Package mock_storage is a generated GoMock package.
Package mock_storage is a generated GoMock package.
Index ¶
- type MockStorage
- type MockStorageMockRecorder
- type MockStorageOBJ
- func (m *MockStorageOBJ) EXPECT() *MockStorageOBJMockRecorder
- func (m *MockStorageOBJ) IsExists() (bool, error)
- func (m *MockStorageOBJ) Key() storage.StorageKey
- func (m *MockStorageOBJ) ModTime() time.Time
- func (m *MockStorageOBJ) Reader() (io.ReadSeekCloser, error)
- func (m *MockStorageOBJ) Writer() (io.WriteCloser, error)
- type MockStorageOBJMockRecorder
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) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorage) NewObject ¶
func (m *MockStorage) NewObject(key any) (storage.StorageOBJ, error)
NewObject mocks base method.
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage.
func (*MockStorageMockRecorder) NewObject ¶
func (mr *MockStorageMockRecorder) NewObject(key interface{}) *gomock.Call
NewObject indicates an expected call of NewObject.
type MockStorageOBJ ¶
type MockStorageOBJ struct {
// contains filtered or unexported fields
}
MockStorageOBJ is a mock of StorageOBJ interface.
func NewMockStorageOBJ ¶
func NewMockStorageOBJ(ctrl *gomock.Controller) *MockStorageOBJ
NewMockStorageOBJ creates a new mock instance.
func (*MockStorageOBJ) EXPECT ¶
func (m *MockStorageOBJ) EXPECT() *MockStorageOBJMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorageOBJ) IsExists ¶
func (m *MockStorageOBJ) IsExists() (bool, error)
IsExists mocks base method.
func (*MockStorageOBJ) Key ¶
func (m *MockStorageOBJ) Key() storage.StorageKey
Key mocks base method.
func (*MockStorageOBJ) ModTime ¶
func (m *MockStorageOBJ) ModTime() time.Time
ModTime mocks base method.
func (*MockStorageOBJ) Reader ¶
func (m *MockStorageOBJ) Reader() (io.ReadSeekCloser, error)
Reader mocks base method.
func (*MockStorageOBJ) Writer ¶
func (m *MockStorageOBJ) Writer() (io.WriteCloser, error)
Writer mocks base method.
type MockStorageOBJMockRecorder ¶
type MockStorageOBJMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageOBJMockRecorder is the mock recorder for MockStorageOBJ.
func (*MockStorageOBJMockRecorder) IsExists ¶
func (mr *MockStorageOBJMockRecorder) IsExists() *gomock.Call
IsExists indicates an expected call of IsExists.
func (*MockStorageOBJMockRecorder) Key ¶
func (mr *MockStorageOBJMockRecorder) Key() *gomock.Call
Key indicates an expected call of Key.
func (*MockStorageOBJMockRecorder) ModTime ¶
func (mr *MockStorageOBJMockRecorder) ModTime() *gomock.Call
ModTime indicates an expected call of ModTime.
func (*MockStorageOBJMockRecorder) Reader ¶
func (mr *MockStorageOBJMockRecorder) Reader() *gomock.Call
Reader indicates an expected call of Reader.
func (*MockStorageOBJMockRecorder) Writer ¶
func (mr *MockStorageOBJMockRecorder) Writer() *gomock.Call
Writer indicates an expected call of Writer.