Documentation ¶
Index ¶
- type FileBackend
- func (_m *FileBackend) AppendFile(fr io.Reader, path string) (int64, error)
- func (_m *FileBackend) CopyFile(oldPath string, newPath string) error
- func (_m *FileBackend) FileExists(path string) (bool, error)
- func (_m *FileBackend) FileModTime(path string) (time.Time, error)
- func (_m *FileBackend) FileSize(path string) (int64, error)
- func (_m *FileBackend) ListDirectory(path string) ([]string, error)
- func (_m *FileBackend) MoveFile(oldPath string, newPath string) error
- func (_m *FileBackend) ReadFile(path string) ([]byte, error)
- func (_m *FileBackend) Reader(path string) (filesstore.ReadCloseSeeker, error)
- func (_m *FileBackend) RemoveDirectory(path string) error
- func (_m *FileBackend) RemoveFile(path string) error
- func (_m *FileBackend) TestConnection() error
- func (_m *FileBackend) WriteFile(fr io.Reader, path string) (int64, error)
- type ReadCloseSeeker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileBackend ¶
FileBackend is an autogenerated mock type for the FileBackend type
func (*FileBackend) AppendFile ¶
AppendFile provides a mock function with given fields: fr, path
func (*FileBackend) CopyFile ¶
func (_m *FileBackend) CopyFile(oldPath string, newPath string) error
CopyFile provides a mock function with given fields: oldPath, newPath
func (*FileBackend) FileExists ¶
func (_m *FileBackend) FileExists(path string) (bool, error)
FileExists provides a mock function with given fields: path
func (*FileBackend) FileModTime ¶
func (_m *FileBackend) FileModTime(path string) (time.Time, error)
FileModTime provides a mock function with given fields: path
func (*FileBackend) FileSize ¶
func (_m *FileBackend) FileSize(path string) (int64, error)
FileSize provides a mock function with given fields: path
func (*FileBackend) ListDirectory ¶
func (_m *FileBackend) ListDirectory(path string) ([]string, error)
ListDirectory provides a mock function with given fields: path
func (*FileBackend) MoveFile ¶
func (_m *FileBackend) MoveFile(oldPath string, newPath string) error
MoveFile provides a mock function with given fields: oldPath, newPath
func (*FileBackend) ReadFile ¶
func (_m *FileBackend) ReadFile(path string) ([]byte, error)
ReadFile provides a mock function with given fields: path
func (*FileBackend) Reader ¶
func (_m *FileBackend) Reader(path string) (filesstore.ReadCloseSeeker, error)
Reader provides a mock function with given fields: path
func (*FileBackend) RemoveDirectory ¶
func (_m *FileBackend) RemoveDirectory(path string) error
RemoveDirectory provides a mock function with given fields: path
func (*FileBackend) RemoveFile ¶
func (_m *FileBackend) RemoveFile(path string) error
RemoveFile provides a mock function with given fields: path
func (*FileBackend) TestConnection ¶
func (_m *FileBackend) TestConnection() error
TestConnection provides a mock function with given fields:
type ReadCloseSeeker ¶
ReadCloseSeeker is an autogenerated mock type for the ReadCloseSeeker type
func (*ReadCloseSeeker) Close ¶
func (_m *ReadCloseSeeker) Close() error
Close provides a mock function with given fields: