Documentation ¶
Index ¶
- type FS
- func (_m *FS) CheckExistsOrWrite(filename string, data []byte) (bool, error)
- func (_m *FS) Chroot(path string) (billy.Filesystem, error)
- func (_m *FS) Create(filename string) (billy.File, error)
- func (_m *FS) Exists(path string) (bool, error)
- func (_m *FS) ExistsOrDie(path string) bool
- func (_m *FS) Join(elem ...string) string
- func (_m *FS) Lstat(filename string) (iofs.FileInfo, error)
- func (_m *FS) MkdirAll(filename string, perm iofs.FileMode) error
- func (_m *FS) Open(filename string) (billy.File, error)
- func (_m *FS) OpenFile(filename string, flag int, perm iofs.FileMode) (billy.File, error)
- func (_m *FS) ReadDir(path string) ([]iofs.FileInfo, error)
- func (_m *FS) ReadFile(filename string) ([]byte, error)
- func (_m *FS) ReadJson(filename string, o interface{}) error
- func (_m *FS) ReadYamls(filename string, o ...interface{}) error
- func (_m *FS) Readlink(link string) (string, error)
- func (_m *FS) Remove(filename string) error
- func (_m *FS) Rename(oldpath string, newpath string) error
- func (_m *FS) Root() string
- func (_m *FS) Stat(filename string) (iofs.FileInfo, error)
- func (_m *FS) Symlink(target string, link string) error
- func (_m *FS) TempFile(dir string, prefix string) (billy.File, error)
- func (_m *FS) WriteJson(filename string, o interface{}) error
- func (_m *FS) WriteYamls(filename string, o ...interface{}) error
- type File
- func (_m *File) Close() error
- func (_m *File) Lock() 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) Seek(offset int64, whence int) (int64, error)
- func (_m *File) Truncate(size int64) error
- func (_m *File) Unlock() error
- func (_m *File) Write(p []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FS ¶
FS is an autogenerated mock type for the FS type
func (*FS) CheckExistsOrWrite ¶
CheckExistsOrWrite provides a mock function with given fields: filename, data
func (*FS) Chroot ¶
func (_m *FS) Chroot(path string) (billy.Filesystem, error)
Chroot provides a mock function with given fields: path
func (*FS) ExistsOrDie ¶
ExistsOrDie provides a mock function with given fields: path
func (*FS) ReadJson ¶ added in v0.2.2
ReadJson provides a mock function with given fields: filename, o
func (*FS) WriteJson ¶ added in v0.2.2
WriteJson provides a mock function with given fields: filename, o
func (*FS) WriteYamls ¶
WriteYamls provides a mock function with given fields: filename, o
type File ¶
File is an autogenerated mock type for the File type
Click to show internal directories.
Click to hide internal directories.