Documentation ¶
Overview ¶
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0 ¶
Package mocks is generated by mockery v1.0.0 ¶
Package mocks generated by mockery v1.0.0
Index ¶
- type FileInfo
- type FileSystem
- func (_m *FileSystem) Mkdir(name string, perm os.FileMode) error
- func (_m *FileSystem) MkdirAll(path string, perm os.FileMode) error
- func (_m *FileSystem) OpenFileForWrite(name string, flag int, perm os.FileMode) (io.WriteCloser, error)
- func (_m *FileSystem) ReadDir(dirname string) ([]os.FileInfo, error)
- func (_m *FileSystem) ReadFile(filename string) ([]byte, error)
- func (_m *FileSystem) Remove(path string) error
- func (_m *FileSystem) RemoveAll(path string) error
- func (_m *FileSystem) Stat(path string) (os.FileInfo, error)
- type ReadCloser
- type WriteCloser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileInfo ¶
FileInfo is an autogenerated mock type for the FileInfo type
type FileSystem ¶
FileSystem is an autogenerated mock type for the FileSystem type
func (*FileSystem) Mkdir ¶
func (_m *FileSystem) Mkdir(name string, perm os.FileMode) error
Mkdir provides a mock function with given fields: name, perm
func (*FileSystem) MkdirAll ¶
func (_m *FileSystem) MkdirAll(path string, perm os.FileMode) error
MkdirAll provides a mock function with given fields: path, perm
func (*FileSystem) OpenFileForWrite ¶
func (_m *FileSystem) OpenFileForWrite(name string, flag int, perm os.FileMode) (io.WriteCloser, error)
OpenFileForWrite provides a mock function with given fields: name, flag, perm
func (*FileSystem) ReadDir ¶
func (_m *FileSystem) ReadDir(dirname string) ([]os.FileInfo, error)
ReadDir provides a mock function with given fields: dirname
func (*FileSystem) ReadFile ¶
func (_m *FileSystem) ReadFile(filename string) ([]byte, error)
ReadFile provides a mock function with given fields: filename
func (*FileSystem) Remove ¶
func (_m *FileSystem) Remove(path string) error
Remove provides a mock function with given fields: path
func (*FileSystem) RemoveAll ¶
func (_m *FileSystem) RemoveAll(path string) error
RemoveAll provides a mock function with given fields: path
type ReadCloser ¶
ReadCloser is an autogenerated mock type for the ReadCloser type
func (*ReadCloser) Close ¶
func (_m *ReadCloser) Close() error
Close provides a mock function with given fields:
type WriteCloser ¶
WriteCloser is an autogenerated mock type for the WriteCloser type
func (*WriteCloser) Close ¶
func (_m *WriteCloser) Close() error
Close provides a mock function with given fields: