Documentation ¶
Overview ¶
Package mock_manager is a generated GoMock package.
Package mock_manager is a generated GoMock package.
Package mock_manager is a generated GoMock package.
Index ¶
- type MockFile
- func (m *MockFile) Close() error
- func (m *MockFile) EXPECT() *MockFileMockRecorder
- func (m *MockFile) Name() string
- func (m *MockFile) Read(arg0 []byte) (int, error)
- func (m *MockFile) ReadAt(arg0 []byte, arg1 int64) (int, error)
- func (m *MockFile) Readdir(arg0 int) ([]os.FileInfo, error)
- func (m *MockFile) Readdirnames(arg0 int) ([]string, error)
- func (m *MockFile) Seek(arg0 int64, arg1 int) (int64, error)
- func (m *MockFile) Stat() (os.FileInfo, error)
- func (m *MockFile) Sync() error
- func (m *MockFile) Truncate(arg0 int64) error
- func (m *MockFile) Write(arg0 []byte) (int, error)
- func (m *MockFile) WriteAt(arg0 []byte, arg1 int64) (int, error)
- func (m *MockFile) WriteString(arg0 string) (int, error)
- type MockFileCopier
- type MockFileCopierMockRecorder
- type MockFileInfo
- type MockFileInfoMockRecorder
- func (mr *MockFileInfoMockRecorder) IsDir() *gomock.Call
- func (mr *MockFileInfoMockRecorder) ModTime() *gomock.Call
- func (mr *MockFileInfoMockRecorder) Mode() *gomock.Call
- func (mr *MockFileInfoMockRecorder) Name() *gomock.Call
- func (mr *MockFileInfoMockRecorder) Size() *gomock.Call
- func (mr *MockFileInfoMockRecorder) Sys() *gomock.Call
- type MockFileMockRecorder
- func (mr *MockFileMockRecorder) Close() *gomock.Call
- func (mr *MockFileMockRecorder) Name() *gomock.Call
- func (mr *MockFileMockRecorder) Read(arg0 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) ReadAt(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) Readdir(arg0 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) Readdirnames(arg0 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) Seek(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) Stat() *gomock.Call
- func (mr *MockFileMockRecorder) Sync() *gomock.Call
- func (mr *MockFileMockRecorder) Truncate(arg0 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) Write(arg0 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) WriteAt(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) WriteString(arg0 interface{}) *gomock.Call
- type MockFs
- func (m *MockFs) Chmod(arg0 string, arg1 os.FileMode) error
- func (m *MockFs) Chtimes(arg0 string, arg1, arg2 time.Time) error
- func (m *MockFs) Create(arg0 string) (afero.File, error)
- func (m *MockFs) EXPECT() *MockFsMockRecorder
- func (m *MockFs) Mkdir(arg0 string, arg1 os.FileMode) error
- func (m *MockFs) MkdirAll(arg0 string, arg1 os.FileMode) error
- func (m *MockFs) Name() string
- func (m *MockFs) Open(arg0 string) (afero.File, error)
- func (m *MockFs) OpenFile(arg0 string, arg1 int, arg2 os.FileMode) (afero.File, error)
- func (m *MockFs) Remove(arg0 string) error
- func (m *MockFs) RemoveAll(arg0 string) error
- func (m *MockFs) Rename(arg0, arg1 string) error
- func (m *MockFs) Stat(arg0 string) (os.FileInfo, error)
- type MockFsMockRecorder
- func (mr *MockFsMockRecorder) Chmod(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFsMockRecorder) Chtimes(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFsMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockFsMockRecorder) Mkdir(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFsMockRecorder) MkdirAll(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFsMockRecorder) Name() *gomock.Call
- func (mr *MockFsMockRecorder) Open(arg0 interface{}) *gomock.Call
- func (mr *MockFsMockRecorder) OpenFile(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFsMockRecorder) Remove(arg0 interface{}) *gomock.Call
- func (mr *MockFsMockRecorder) RemoveAll(arg0 interface{}) *gomock.Call
- func (mr *MockFsMockRecorder) Rename(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFsMockRecorder) Stat(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFile ¶
type MockFile struct {
// contains filtered or unexported fields
}
MockFile is a mock of File interface
func NewMockFile ¶
func NewMockFile(ctrl *gomock.Controller) *MockFile
NewMockFile creates a new mock instance
func (*MockFile) EXPECT ¶
func (m *MockFile) EXPECT() *MockFileMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFile) Readdirnames ¶
Readdirnames mocks base method
type MockFileCopier ¶
type MockFileCopier struct {
// contains filtered or unexported fields
}
MockFileCopier is a mock of FileCopier interface
func NewMockFileCopier ¶
func NewMockFileCopier(ctrl *gomock.Controller) *MockFileCopier
NewMockFileCopier creates a new mock instance
func (*MockFileCopier) Copy ¶
func (m *MockFileCopier) Copy(src, dst string) (int64, error)
Copy mocks base method
func (*MockFileCopier) EXPECT ¶
func (m *MockFileCopier) EXPECT() *MockFileCopierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFileCopier) GetMatches ¶
func (m *MockFileCopier) GetMatches(copyPat []string, dir string) ([]string, error)
GetMatches mocks base method
type MockFileCopierMockRecorder ¶
type MockFileCopierMockRecorder struct {
// contains filtered or unexported fields
}
MockFileCopierMockRecorder is the mock recorder for MockFileCopier
func (*MockFileCopierMockRecorder) Copy ¶
func (mr *MockFileCopierMockRecorder) Copy(src, dst interface{}) *gomock.Call
Copy indicates an expected call of Copy
func (*MockFileCopierMockRecorder) GetMatches ¶
func (mr *MockFileCopierMockRecorder) GetMatches(copyPat, dir interface{}) *gomock.Call
GetMatches indicates an expected call of GetMatches
type MockFileInfo ¶
type MockFileInfo struct {
// contains filtered or unexported fields
}
MockFileInfo is a mock of FileInfo interface
func NewMockFileInfo ¶
func NewMockFileInfo(ctrl *gomock.Controller) *MockFileInfo
NewMockFileInfo creates a new mock instance
func (*MockFileInfo) EXPECT ¶
func (m *MockFileInfo) EXPECT() *MockFileInfoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockFileInfoMockRecorder ¶
type MockFileInfoMockRecorder struct {
// contains filtered or unexported fields
}
MockFileInfoMockRecorder is the mock recorder for MockFileInfo
func (*MockFileInfoMockRecorder) IsDir ¶
func (mr *MockFileInfoMockRecorder) IsDir() *gomock.Call
IsDir indicates an expected call of IsDir
func (*MockFileInfoMockRecorder) ModTime ¶
func (mr *MockFileInfoMockRecorder) ModTime() *gomock.Call
ModTime indicates an expected call of ModTime
func (*MockFileInfoMockRecorder) Mode ¶
func (mr *MockFileInfoMockRecorder) Mode() *gomock.Call
Mode indicates an expected call of Mode
func (*MockFileInfoMockRecorder) Name ¶
func (mr *MockFileInfoMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockFileInfoMockRecorder) Size ¶
func (mr *MockFileInfoMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size
func (*MockFileInfoMockRecorder) Sys ¶
func (mr *MockFileInfoMockRecorder) Sys() *gomock.Call
Sys indicates an expected call of Sys
type MockFileMockRecorder ¶
type MockFileMockRecorder struct {
// contains filtered or unexported fields
}
MockFileMockRecorder is the mock recorder for MockFile
func (*MockFileMockRecorder) Close ¶
func (mr *MockFileMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockFileMockRecorder) Name ¶
func (mr *MockFileMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockFileMockRecorder) Read ¶
func (mr *MockFileMockRecorder) Read(arg0 interface{}) *gomock.Call
Read indicates an expected call of Read
func (*MockFileMockRecorder) ReadAt ¶
func (mr *MockFileMockRecorder) ReadAt(arg0, arg1 interface{}) *gomock.Call
ReadAt indicates an expected call of ReadAt
func (*MockFileMockRecorder) Readdir ¶
func (mr *MockFileMockRecorder) Readdir(arg0 interface{}) *gomock.Call
Readdir indicates an expected call of Readdir
func (*MockFileMockRecorder) Readdirnames ¶
func (mr *MockFileMockRecorder) Readdirnames(arg0 interface{}) *gomock.Call
Readdirnames indicates an expected call of Readdirnames
func (*MockFileMockRecorder) Seek ¶
func (mr *MockFileMockRecorder) Seek(arg0, arg1 interface{}) *gomock.Call
Seek indicates an expected call of Seek
func (*MockFileMockRecorder) Stat ¶
func (mr *MockFileMockRecorder) Stat() *gomock.Call
Stat indicates an expected call of Stat
func (*MockFileMockRecorder) Sync ¶
func (mr *MockFileMockRecorder) Sync() *gomock.Call
Sync indicates an expected call of Sync
func (*MockFileMockRecorder) Truncate ¶
func (mr *MockFileMockRecorder) Truncate(arg0 interface{}) *gomock.Call
Truncate indicates an expected call of Truncate
func (*MockFileMockRecorder) Write ¶
func (mr *MockFileMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write
func (*MockFileMockRecorder) WriteAt ¶
func (mr *MockFileMockRecorder) WriteAt(arg0, arg1 interface{}) *gomock.Call
WriteAt indicates an expected call of WriteAt
func (*MockFileMockRecorder) WriteString ¶
func (mr *MockFileMockRecorder) WriteString(arg0 interface{}) *gomock.Call
WriteString indicates an expected call of WriteString
type MockFs ¶
type MockFs struct {
// contains filtered or unexported fields
}
MockFs is a mock of Fs interface
func NewMockFs ¶
func NewMockFs(ctrl *gomock.Controller) *MockFs
NewMockFs creates a new mock instance
func (*MockFs) EXPECT ¶
func (m *MockFs) EXPECT() *MockFsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockFsMockRecorder ¶
type MockFsMockRecorder struct {
// contains filtered or unexported fields
}
MockFsMockRecorder is the mock recorder for MockFs
func (*MockFsMockRecorder) Chmod ¶
func (mr *MockFsMockRecorder) Chmod(arg0, arg1 interface{}) *gomock.Call
Chmod indicates an expected call of Chmod
func (*MockFsMockRecorder) Chtimes ¶
func (mr *MockFsMockRecorder) Chtimes(arg0, arg1, arg2 interface{}) *gomock.Call
Chtimes indicates an expected call of Chtimes
func (*MockFsMockRecorder) Create ¶
func (mr *MockFsMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockFsMockRecorder) Mkdir ¶
func (mr *MockFsMockRecorder) Mkdir(arg0, arg1 interface{}) *gomock.Call
Mkdir indicates an expected call of Mkdir
func (*MockFsMockRecorder) MkdirAll ¶
func (mr *MockFsMockRecorder) MkdirAll(arg0, arg1 interface{}) *gomock.Call
MkdirAll indicates an expected call of MkdirAll
func (*MockFsMockRecorder) Name ¶
func (mr *MockFsMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockFsMockRecorder) Open ¶
func (mr *MockFsMockRecorder) Open(arg0 interface{}) *gomock.Call
Open indicates an expected call of Open
func (*MockFsMockRecorder) OpenFile ¶
func (mr *MockFsMockRecorder) OpenFile(arg0, arg1, arg2 interface{}) *gomock.Call
OpenFile indicates an expected call of OpenFile
func (*MockFsMockRecorder) Remove ¶
func (mr *MockFsMockRecorder) Remove(arg0 interface{}) *gomock.Call
Remove indicates an expected call of Remove
func (*MockFsMockRecorder) RemoveAll ¶
func (mr *MockFsMockRecorder) RemoveAll(arg0 interface{}) *gomock.Call
RemoveAll indicates an expected call of RemoveAll
func (*MockFsMockRecorder) Rename ¶
func (mr *MockFsMockRecorder) Rename(arg0, arg1 interface{}) *gomock.Call
Rename indicates an expected call of Rename
func (*MockFsMockRecorder) Stat ¶
func (mr *MockFsMockRecorder) Stat(arg0 interface{}) *gomock.Call
Stat indicates an expected call of Stat