Documentation ¶
Index ¶
- type Environment
- type File
- func (_m *File) Close() error
- func (_m *File) Name() string
- func (_m *File) Read(p []byte) (int, error)
- func (_m *File) ReadAt(p []byte, off int64) (int, error)
- func (_m *File) Readdir(count int) ([]os.FileInfo, error)
- func (_m *File) Readdirnames(n int) ([]string, error)
- func (_m *File) Seek(offset int64, whence int) (int64, error)
- func (_m *File) Stat() (os.FileInfo, error)
- func (_m *File) Sync() error
- func (_m *File) Truncate(size int64) error
- func (_m *File) Write(p []byte) (int, error)
- func (_m *File) WriteAt(p []byte, off int64) (int, error)
- func (_m *File) WriteString(s string) (int, error)
- type Fs
- func (_m *Fs) Chmod(name string, mode os.FileMode) error
- func (_m *Fs) Chtimes(name string, atime time.Time, mtime time.Time) error
- func (_m *Fs) Create(name string) (afero.File, error)
- func (_m *Fs) Mkdir(name string, perm os.FileMode) error
- func (_m *Fs) MkdirAll(path string, perm os.FileMode) error
- func (_m *Fs) Name() string
- func (_m *Fs) Open(name string) (afero.File, error)
- func (_m *Fs) OpenFile(name string, flag int, perm os.FileMode) (afero.File, error)
- func (_m *Fs) Remove(name string) error
- func (_m *Fs) RemoveAll(path string) error
- func (_m *Fs) Rename(oldname string, newname string) error
- func (_m *Fs) Stat(name string) (os.FileInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
Environment is an autogenerated mock type for the Environment type
func (*Environment) GetString ¶
func (_m *Environment) GetString(_a0 string) string
GetString provides a mock function with given fields: _a0
func (*Environment) IsSet ¶
func (_m *Environment) IsSet(_a0 string) bool
IsSet provides a mock function with given fields: _a0
func (*Environment) SetConfigFile ¶
func (_m *Environment) SetConfigFile(_a0 string)
SetConfigFile provides a mock function with given fields: _a0
type File ¶
File is an autogenerated mock type for the File type
func (*File) Readdirnames ¶
Readdirnames provides a mock function with given fields: n
type Fs ¶
Fs is an autogenerated mock type for the Fs type
Click to show internal directories.
Click to hide internal directories.