Documentation ¶
Overview ¶
Package mockstorage is a generated GoMock package.
Index ¶
- type MockExternalStorage
- func (m *MockExternalStorage) Close()
- func (m *MockExternalStorage) Create(arg0 context.Context, arg1 string, arg2 *storage.WriterOption) (storage.ExternalFileWriter, error)
- func (m *MockExternalStorage) DeleteFile(arg0 context.Context, arg1 string) error
- func (m *MockExternalStorage) DeleteFiles(arg0 context.Context, arg1 []string) error
- func (m *MockExternalStorage) EXPECT() *MockExternalStorageMockRecorder
- func (m *MockExternalStorage) FileExists(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockExternalStorage) ISGOMOCK() struct{}
- func (m *MockExternalStorage) Open(arg0 context.Context, arg1 string, arg2 *storage.ReaderOption) (storage.ExternalFileReader, error)
- func (m *MockExternalStorage) ReadFile(arg0 context.Context, arg1 string) ([]byte, error)
- func (m *MockExternalStorage) Rename(arg0 context.Context, arg1, arg2 string) error
- func (m *MockExternalStorage) URI() string
- func (m *MockExternalStorage) WalkDir(arg0 context.Context, arg1 *storage.WalkOption, arg2 func(string, int64) error) error
- func (m *MockExternalStorage) WriteFile(arg0 context.Context, arg1 string, arg2 []byte) error
- type MockExternalStorageMockRecorder
- func (mr *MockExternalStorageMockRecorder) Close() *gomock.Call
- func (mr *MockExternalStorageMockRecorder) Create(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockExternalStorageMockRecorder) DeleteFile(arg0, arg1 any) *gomock.Call
- func (mr *MockExternalStorageMockRecorder) DeleteFiles(arg0, arg1 any) *gomock.Call
- func (mr *MockExternalStorageMockRecorder) FileExists(arg0, arg1 any) *gomock.Call
- func (mr *MockExternalStorageMockRecorder) Open(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockExternalStorageMockRecorder) ReadFile(arg0, arg1 any) *gomock.Call
- func (mr *MockExternalStorageMockRecorder) Rename(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockExternalStorageMockRecorder) URI() *gomock.Call
- func (mr *MockExternalStorageMockRecorder) WalkDir(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockExternalStorageMockRecorder) WriteFile(arg0, arg1, arg2 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExternalStorage ¶
type MockExternalStorage struct {
// contains filtered or unexported fields
}
MockExternalStorage is a mock of ExternalStorage interface.
func NewMockExternalStorage ¶
func NewMockExternalStorage(ctrl *gomock.Controller) *MockExternalStorage
NewMockExternalStorage creates a new mock instance.
func (*MockExternalStorage) Create ¶
func (m *MockExternalStorage) Create(arg0 context.Context, arg1 string, arg2 *storage.WriterOption) (storage.ExternalFileWriter, error)
Create mocks base method.
func (*MockExternalStorage) DeleteFile ¶
func (m *MockExternalStorage) DeleteFile(arg0 context.Context, arg1 string) error
DeleteFile mocks base method.
func (*MockExternalStorage) DeleteFiles ¶
func (m *MockExternalStorage) DeleteFiles(arg0 context.Context, arg1 []string) error
DeleteFiles mocks base method.
func (*MockExternalStorage) EXPECT ¶
func (m *MockExternalStorage) EXPECT() *MockExternalStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExternalStorage) FileExists ¶
FileExists mocks base method.
func (*MockExternalStorage) ISGOMOCK ¶
func (m *MockExternalStorage) ISGOMOCK() struct{}
ISGOMOCK indicates that this struct is a gomock mock.
func (*MockExternalStorage) Open ¶
func (m *MockExternalStorage) Open(arg0 context.Context, arg1 string, arg2 *storage.ReaderOption) (storage.ExternalFileReader, error)
Open mocks base method.
func (*MockExternalStorage) Rename ¶
func (m *MockExternalStorage) Rename(arg0 context.Context, arg1, arg2 string) error
Rename mocks base method.
type MockExternalStorageMockRecorder ¶
type MockExternalStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockExternalStorageMockRecorder is the mock recorder for MockExternalStorage.
func (*MockExternalStorageMockRecorder) Close ¶
func (mr *MockExternalStorageMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockExternalStorageMockRecorder) Create ¶
func (mr *MockExternalStorageMockRecorder) Create(arg0, arg1, arg2 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockExternalStorageMockRecorder) DeleteFile ¶
func (mr *MockExternalStorageMockRecorder) DeleteFile(arg0, arg1 any) *gomock.Call
DeleteFile indicates an expected call of DeleteFile.
func (*MockExternalStorageMockRecorder) DeleteFiles ¶
func (mr *MockExternalStorageMockRecorder) DeleteFiles(arg0, arg1 any) *gomock.Call
DeleteFiles indicates an expected call of DeleteFiles.
func (*MockExternalStorageMockRecorder) FileExists ¶
func (mr *MockExternalStorageMockRecorder) FileExists(arg0, arg1 any) *gomock.Call
FileExists indicates an expected call of FileExists.
func (*MockExternalStorageMockRecorder) Open ¶
func (mr *MockExternalStorageMockRecorder) Open(arg0, arg1, arg2 any) *gomock.Call
Open indicates an expected call of Open.
func (*MockExternalStorageMockRecorder) ReadFile ¶
func (mr *MockExternalStorageMockRecorder) ReadFile(arg0, arg1 any) *gomock.Call
ReadFile indicates an expected call of ReadFile.
func (*MockExternalStorageMockRecorder) Rename ¶
func (mr *MockExternalStorageMockRecorder) Rename(arg0, arg1, arg2 any) *gomock.Call
Rename indicates an expected call of Rename.
func (*MockExternalStorageMockRecorder) URI ¶
func (mr *MockExternalStorageMockRecorder) URI() *gomock.Call
URI indicates an expected call of URI.