Versions in this module Expand all Collapse all v0 v0.8.2 Dec 29, 2022 v0.8.1 Dec 29, 2022 Changes in this version + type MockFile struct + func NewMockFile(ctrl *gomock.Controller) *MockFile + func (m *MockFile) Close() error + func (m *MockFile) EXPECT() *MockFileMockRecorder + func (m *MockFile) Name() string + func (m *MockFile) Read(p []byte) (int, error) + func (m *MockFile) ReadAt(p []byte, off int64) (int, error) + func (m *MockFile) Readdir(count int) ([]os.FileInfo, error) + func (m *MockFile) Readdirnames(n int) ([]string, error) + func (m *MockFile) Seek(offset int64, whence int) (int64, error) + func (m *MockFile) Stat() (os.FileInfo, error) + func (m *MockFile) Sync() error + func (m *MockFile) Truncate(size int64) error + func (m *MockFile) Write(p []byte) (int, error) + func (m *MockFile) WriteAt(p []byte, off int64) (int, error) + func (m *MockFile) WriteString(s string) (int, error) + type MockFileMockRecorder struct + func (mr *MockFileMockRecorder) Close() *gomock.Call + func (mr *MockFileMockRecorder) Name() *gomock.Call + func (mr *MockFileMockRecorder) Read(p interface{}) *gomock.Call + func (mr *MockFileMockRecorder) ReadAt(p, off interface{}) *gomock.Call + func (mr *MockFileMockRecorder) Readdir(count interface{}) *gomock.Call + func (mr *MockFileMockRecorder) Readdirnames(n interface{}) *gomock.Call + func (mr *MockFileMockRecorder) Seek(offset, whence interface{}) *gomock.Call + func (mr *MockFileMockRecorder) Stat() *gomock.Call + func (mr *MockFileMockRecorder) Sync() *gomock.Call + func (mr *MockFileMockRecorder) Truncate(size interface{}) *gomock.Call + func (mr *MockFileMockRecorder) Write(p interface{}) *gomock.Call + func (mr *MockFileMockRecorder) WriteAt(p, off interface{}) *gomock.Call + func (mr *MockFileMockRecorder) WriteString(s interface{}) *gomock.Call + type MockFs struct + func NewMockFs(ctrl *gomock.Controller) *MockFs + func (m *MockFs) Chmod(name string, mode os.FileMode) error + func (m *MockFs) Chown(name string, uid, gid int) error + func (m *MockFs) Chtimes(name string, atime, mtime time.Time) error + func (m *MockFs) Create(name string) (afero.File, error) + func (m *MockFs) EXPECT() *MockFsMockRecorder + func (m *MockFs) Mkdir(name string, perm os.FileMode) error + func (m *MockFs) MkdirAll(path string, perm os.FileMode) error + func (m *MockFs) Name() string + func (m *MockFs) Open(name string) (afero.File, error) + func (m *MockFs) OpenFile(name string, flag int, perm os.FileMode) (afero.File, error) + func (m *MockFs) Remove(name string) error + func (m *MockFs) RemoveAll(path string) error + func (m *MockFs) Rename(oldname, newname string) error + func (m *MockFs) Stat(name string) (os.FileInfo, error) + type MockFsMockRecorder struct + func (mr *MockFsMockRecorder) Chmod(name, mode interface{}) *gomock.Call + func (mr *MockFsMockRecorder) Chown(name, uid, gid interface{}) *gomock.Call + func (mr *MockFsMockRecorder) Chtimes(name, atime, mtime interface{}) *gomock.Call + func (mr *MockFsMockRecorder) Create(name interface{}) *gomock.Call + func (mr *MockFsMockRecorder) Mkdir(name, perm interface{}) *gomock.Call + func (mr *MockFsMockRecorder) MkdirAll(path, perm interface{}) *gomock.Call + func (mr *MockFsMockRecorder) Name() *gomock.Call + func (mr *MockFsMockRecorder) Open(name interface{}) *gomock.Call + func (mr *MockFsMockRecorder) OpenFile(name, flag, perm interface{}) *gomock.Call + func (mr *MockFsMockRecorder) Remove(name interface{}) *gomock.Call + func (mr *MockFsMockRecorder) RemoveAll(path interface{}) *gomock.Call + func (mr *MockFsMockRecorder) Rename(oldname, newname interface{}) *gomock.Call + func (mr *MockFsMockRecorder) Stat(name interface{}) *gomock.Call