Documentation ¶
Index ¶
- type FileSystemBackendMock
- func (fom *FileSystemBackendMock) Chmod(name string, mode os.FileMode) error
- func (fom *FileSystemBackendMock) Chtimes(name string, atime time.Time, mtime time.Time) error
- func (fom *FileSystemBackendMock) Create(name string) (afero.File, error)
- func (fom *FileSystemBackendMock) Mkdir(name string, perm os.FileMode) error
- func (fom *FileSystemBackendMock) MkdirAll(path string, perm os.FileMode) error
- func (fom *FileSystemBackendMock) Name() string
- func (fom *FileSystemBackendMock) Open(name string) (afero.File, error)
- func (fom *FileSystemBackendMock) OpenFile(name string, flag int, perm os.FileMode) (afero.File, error)
- func (fom *FileSystemBackendMock) Remove(name string) error
- func (fom *FileSystemBackendMock) RemoveAll(path string) error
- func (fom *FileSystemBackendMock) Rename(oldname, newname string) error
- func (fom *FileSystemBackendMock) Stat(name string) (os.FileInfo, error)
- type FileSystemHelperMock
- func (fsm *FileSystemHelperMock) Format(targetDevice string, fsType string, formatOptions string) error
- func (fsm *FileSystemHelperMock) Mount(targetDevice string, mountPath string, fsType string, mountOptions string) error
- func (fsm *FileSystemHelperMock) TempDir(fsb afero.Fs, prefix string) (string, error)
- func (fsm *FileSystemHelperMock) Umount(mountPath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystemBackendMock ¶
func (*FileSystemBackendMock) Chmod ¶
func (fom *FileSystemBackendMock) Chmod(name string, mode os.FileMode) error
func (*FileSystemBackendMock) Create ¶
func (fom *FileSystemBackendMock) Create(name string) (afero.File, error)
func (*FileSystemBackendMock) Mkdir ¶
func (fom *FileSystemBackendMock) Mkdir(name string, perm os.FileMode) error
func (*FileSystemBackendMock) MkdirAll ¶
func (fom *FileSystemBackendMock) MkdirAll(path string, perm os.FileMode) error
func (*FileSystemBackendMock) Name ¶
func (fom *FileSystemBackendMock) Name() string
func (*FileSystemBackendMock) Open ¶
func (fom *FileSystemBackendMock) Open(name string) (afero.File, error)
func (*FileSystemBackendMock) Remove ¶
func (fom *FileSystemBackendMock) Remove(name string) error
func (*FileSystemBackendMock) RemoveAll ¶
func (fom *FileSystemBackendMock) RemoveAll(path string) error
func (*FileSystemBackendMock) Rename ¶
func (fom *FileSystemBackendMock) Rename(oldname, newname string) error
type FileSystemHelperMock ¶
func (*FileSystemHelperMock) Format ¶
func (fsm *FileSystemHelperMock) Format(targetDevice string, fsType string, formatOptions string) error
func (*FileSystemHelperMock) Umount ¶
func (fsm *FileSystemHelperMock) Umount(mountPath string) error
Click to show internal directories.
Click to hide internal directories.