Documentation ¶
Overview ¶
Package mock_opsys is a generated GoMock package.
Package mock_opsys is a generated GoMock package.
Index ¶
- type MockOS
- func (m *MockOS) Chmod(arg0 string, arg1 fs.FileMode) error
- func (m *MockOS) Chown(arg0 string, arg1, arg2 int) error
- func (m *MockOS) Chtimes(arg0 string, arg1, arg2 time.Time) error
- func (m *MockOS) CopyFile(arg0, arg1 string, arg2 bool) (string, error)
- func (m *MockOS) Create(arg0 string) (afero.File, error)
- func (m *MockOS) EXPECT() *MockOSMockRecorder
- func (m *MockOS) FileAccess(arg0 string) error
- func (m *MockOS) FileExist(arg0 string) (bool, error)
- func (m *MockOS) GetContactMap(arg0 string) (map[string]*vcard.Card, error)
- func (m *MockOS) GetMacOSVersion() (*semver.Version, error)
- func (m *MockOS) GetOpenFilesLimit() int
- func (m *MockOS) HEIC2JPG(arg0 string) (string, error)
- func (m *MockOS) Mkdir(arg0 string, arg1 fs.FileMode) error
- func (m *MockOS) MkdirAll(arg0 string, arg1 fs.FileMode) error
- func (m *MockOS) Name() string
- func (m *MockOS) NewPDFOutFile(arg0 afero.File, arg1 pdfgen.PDFGenerator, arg2 bool) opsys.OutFile
- func (m *MockOS) NewTxtOutFile(arg0 afero.File) opsys.OutFile
- func (m *MockOS) Open(arg0 string) (afero.File, error)
- func (m *MockOS) OpenFile(arg0 string, arg1 int, arg2 fs.FileMode) (afero.File, error)
- func (m *MockOS) ReadFile(arg0 string) (string, error)
- func (m *MockOS) Remove(arg0 string) error
- func (m *MockOS) RemoveAll(arg0 string) error
- func (m *MockOS) Rename(arg0, arg1 string) error
- func (m *MockOS) RmTempDir() error
- func (m *MockOS) SetOpenFilesLimit(arg0 int) error
- func (m *MockOS) Stat(arg0 string) (fs.FileInfo, error)
- type MockOSMockRecorder
- func (mr *MockOSMockRecorder) Chmod(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) Chown(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) Chtimes(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) CopyFile(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) FileAccess(arg0 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) FileExist(arg0 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) GetContactMap(arg0 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) GetMacOSVersion() *gomock.Call
- func (mr *MockOSMockRecorder) GetOpenFilesLimit() *gomock.Call
- func (mr *MockOSMockRecorder) HEIC2JPG(arg0 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) Mkdir(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) MkdirAll(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) Name() *gomock.Call
- func (mr *MockOSMockRecorder) NewPDFOutFile(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) NewTxtOutFile(arg0 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) Open(arg0 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) OpenFile(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) ReadFile(arg0 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) Remove(arg0 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) RemoveAll(arg0 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) Rename(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) RmTempDir() *gomock.Call
- func (mr *MockOSMockRecorder) SetOpenFilesLimit(arg0 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) Stat(arg0 interface{}) *gomock.Call
- type MockOutFile
- func (m *MockOutFile) EXPECT() *MockOutFileMockRecorder
- func (m *MockOutFile) Flush() (int, error)
- func (m *MockOutFile) Name() string
- func (m *MockOutFile) ReferenceAttachment(arg0 string) error
- func (m *MockOutFile) WriteAttachment(arg0 string) (bool, error)
- func (m *MockOutFile) WriteMessage(arg0 string) error
- type MockOutFileMockRecorder
- func (mr *MockOutFileMockRecorder) Flush() *gomock.Call
- func (mr *MockOutFileMockRecorder) Name() *gomock.Call
- func (mr *MockOutFileMockRecorder) ReferenceAttachment(arg0 interface{}) *gomock.Call
- func (mr *MockOutFileMockRecorder) WriteAttachment(arg0 interface{}) *gomock.Call
- func (mr *MockOutFileMockRecorder) WriteMessage(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOS ¶
type MockOS struct {
// contains filtered or unexported fields
}
MockOS is a mock of OS interface.
func NewMockOS ¶
func NewMockOS(ctrl *gomock.Controller) *MockOS
NewMockOS creates a new mock instance.
func (*MockOS) EXPECT ¶
func (m *MockOS) EXPECT() *MockOSMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOS) FileAccess ¶
FileAccess mocks base method.
func (*MockOS) GetContactMap ¶
GetContactMap mocks base method.
func (*MockOS) GetMacOSVersion ¶
GetMacOSVersion mocks base method.
func (*MockOS) GetOpenFilesLimit ¶
GetOpenFilesLimit mocks base method.
func (*MockOS) NewPDFOutFile ¶
NewPDFOutFile mocks base method.
func (*MockOS) NewTxtOutFile ¶
NewTxtOutFile mocks base method.
func (*MockOS) SetOpenFilesLimit ¶
SetOpenFilesLimit mocks base method.
type MockOSMockRecorder ¶
type MockOSMockRecorder struct {
// contains filtered or unexported fields
}
MockOSMockRecorder is the mock recorder for MockOS.
func (*MockOSMockRecorder) Chmod ¶
func (mr *MockOSMockRecorder) Chmod(arg0, arg1 interface{}) *gomock.Call
Chmod indicates an expected call of Chmod.
func (*MockOSMockRecorder) Chown ¶
func (mr *MockOSMockRecorder) Chown(arg0, arg1, arg2 interface{}) *gomock.Call
Chown indicates an expected call of Chown.
func (*MockOSMockRecorder) Chtimes ¶
func (mr *MockOSMockRecorder) Chtimes(arg0, arg1, arg2 interface{}) *gomock.Call
Chtimes indicates an expected call of Chtimes.
func (*MockOSMockRecorder) CopyFile ¶
func (mr *MockOSMockRecorder) CopyFile(arg0, arg1, arg2 interface{}) *gomock.Call
CopyFile indicates an expected call of CopyFile.
func (*MockOSMockRecorder) Create ¶
func (mr *MockOSMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockOSMockRecorder) FileAccess ¶
func (mr *MockOSMockRecorder) FileAccess(arg0 interface{}) *gomock.Call
FileAccess indicates an expected call of FileAccess.
func (*MockOSMockRecorder) FileExist ¶
func (mr *MockOSMockRecorder) FileExist(arg0 interface{}) *gomock.Call
FileExist indicates an expected call of FileExist.
func (*MockOSMockRecorder) GetContactMap ¶
func (mr *MockOSMockRecorder) GetContactMap(arg0 interface{}) *gomock.Call
GetContactMap indicates an expected call of GetContactMap.
func (*MockOSMockRecorder) GetMacOSVersion ¶
func (mr *MockOSMockRecorder) GetMacOSVersion() *gomock.Call
GetMacOSVersion indicates an expected call of GetMacOSVersion.
func (*MockOSMockRecorder) GetOpenFilesLimit ¶
func (mr *MockOSMockRecorder) GetOpenFilesLimit() *gomock.Call
GetOpenFilesLimit indicates an expected call of GetOpenFilesLimit.
func (*MockOSMockRecorder) HEIC2JPG ¶
func (mr *MockOSMockRecorder) HEIC2JPG(arg0 interface{}) *gomock.Call
HEIC2JPG indicates an expected call of HEIC2JPG.
func (*MockOSMockRecorder) Mkdir ¶
func (mr *MockOSMockRecorder) Mkdir(arg0, arg1 interface{}) *gomock.Call
Mkdir indicates an expected call of Mkdir.
func (*MockOSMockRecorder) MkdirAll ¶
func (mr *MockOSMockRecorder) MkdirAll(arg0, arg1 interface{}) *gomock.Call
MkdirAll indicates an expected call of MkdirAll.
func (*MockOSMockRecorder) Name ¶
func (mr *MockOSMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockOSMockRecorder) NewPDFOutFile ¶
func (mr *MockOSMockRecorder) NewPDFOutFile(arg0, arg1, arg2 interface{}) *gomock.Call
NewPDFOutFile indicates an expected call of NewPDFOutFile.
func (*MockOSMockRecorder) NewTxtOutFile ¶
func (mr *MockOSMockRecorder) NewTxtOutFile(arg0 interface{}) *gomock.Call
NewTxtOutFile indicates an expected call of NewTxtOutFile.
func (*MockOSMockRecorder) Open ¶
func (mr *MockOSMockRecorder) Open(arg0 interface{}) *gomock.Call
Open indicates an expected call of Open.
func (*MockOSMockRecorder) OpenFile ¶
func (mr *MockOSMockRecorder) OpenFile(arg0, arg1, arg2 interface{}) *gomock.Call
OpenFile indicates an expected call of OpenFile.
func (*MockOSMockRecorder) ReadFile ¶
func (mr *MockOSMockRecorder) ReadFile(arg0 interface{}) *gomock.Call
ReadFile indicates an expected call of ReadFile.
func (*MockOSMockRecorder) Remove ¶
func (mr *MockOSMockRecorder) Remove(arg0 interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockOSMockRecorder) RemoveAll ¶
func (mr *MockOSMockRecorder) RemoveAll(arg0 interface{}) *gomock.Call
RemoveAll indicates an expected call of RemoveAll.
func (*MockOSMockRecorder) Rename ¶
func (mr *MockOSMockRecorder) Rename(arg0, arg1 interface{}) *gomock.Call
Rename indicates an expected call of Rename.
func (*MockOSMockRecorder) RmTempDir ¶
func (mr *MockOSMockRecorder) RmTempDir() *gomock.Call
RmTempDir indicates an expected call of RmTempDir.
func (*MockOSMockRecorder) SetOpenFilesLimit ¶
func (mr *MockOSMockRecorder) SetOpenFilesLimit(arg0 interface{}) *gomock.Call
SetOpenFilesLimit indicates an expected call of SetOpenFilesLimit.
func (*MockOSMockRecorder) Stat ¶
func (mr *MockOSMockRecorder) Stat(arg0 interface{}) *gomock.Call
Stat indicates an expected call of Stat.
type MockOutFile ¶
type MockOutFile struct {
// contains filtered or unexported fields
}
MockOutFile is a mock of OutFile interface.
func NewMockOutFile ¶
func NewMockOutFile(ctrl *gomock.Controller) *MockOutFile
NewMockOutFile creates a new mock instance.
func (*MockOutFile) EXPECT ¶
func (m *MockOutFile) EXPECT() *MockOutFileMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOutFile) ReferenceAttachment ¶
func (m *MockOutFile) ReferenceAttachment(arg0 string) error
ReferenceAttachment mocks base method.
func (*MockOutFile) WriteAttachment ¶
func (m *MockOutFile) WriteAttachment(arg0 string) (bool, error)
WriteAttachment mocks base method.
func (*MockOutFile) WriteMessage ¶
func (m *MockOutFile) WriteMessage(arg0 string) error
WriteMessage mocks base method.
type MockOutFileMockRecorder ¶
type MockOutFileMockRecorder struct {
// contains filtered or unexported fields
}
MockOutFileMockRecorder is the mock recorder for MockOutFile.
func (*MockOutFileMockRecorder) Flush ¶
func (mr *MockOutFileMockRecorder) Flush() *gomock.Call
Flush indicates an expected call of Flush.
func (*MockOutFileMockRecorder) Name ¶
func (mr *MockOutFileMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockOutFileMockRecorder) ReferenceAttachment ¶
func (mr *MockOutFileMockRecorder) ReferenceAttachment(arg0 interface{}) *gomock.Call
ReferenceAttachment indicates an expected call of ReferenceAttachment.
func (*MockOutFileMockRecorder) WriteAttachment ¶
func (mr *MockOutFileMockRecorder) WriteAttachment(arg0 interface{}) *gomock.Call
WriteAttachment indicates an expected call of WriteAttachment.
func (*MockOutFileMockRecorder) WriteMessage ¶
func (mr *MockOutFileMockRecorder) WriteMessage(arg0 interface{}) *gomock.Call
WriteMessage indicates an expected call of WriteMessage.