mock_opsys

package
v2.4.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mock_opsys is a generated GoMock package.

Package mock_opsys is a generated GoMock package.

Index

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) Chmod

func (m *MockOS) Chmod(arg0 string, arg1 fs.FileMode) error

Chmod mocks base method.

func (*MockOS) Chown

func (m *MockOS) Chown(arg0 string, arg1, arg2 int) error

Chown mocks base method.

func (*MockOS) Chtimes

func (m *MockOS) Chtimes(arg0 string, arg1, arg2 time.Time) error

Chtimes mocks base method.

func (*MockOS) CopyFile

func (m *MockOS) CopyFile(arg0, arg1 string, arg2 bool) (string, error)

CopyFile mocks base method.

func (*MockOS) Create

func (m *MockOS) Create(arg0 string) (afero.File, error)

Create mocks base method.

func (*MockOS) EXPECT

func (m *MockOS) EXPECT() *MockOSMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockOS) FileAccess

func (m *MockOS) FileAccess(arg0 string) error

FileAccess mocks base method.

func (*MockOS) FileExist

func (m *MockOS) FileExist(arg0 string) (bool, error)

FileExist mocks base method.

func (*MockOS) GetContactMap

func (m *MockOS) GetContactMap(arg0 string) (map[string]*vcard.Card, error)

GetContactMap mocks base method.

func (*MockOS) GetMacOSVersion

func (m *MockOS) GetMacOSVersion() (*semver.Version, error)

GetMacOSVersion mocks base method.

func (*MockOS) GetOpenFilesLimit

func (m *MockOS) GetOpenFilesLimit() int

GetOpenFilesLimit mocks base method.

func (*MockOS) HEIC2JPG

func (m *MockOS) HEIC2JPG(arg0 string) (string, error)

HEIC2JPG mocks base method.

func (*MockOS) Mkdir

func (m *MockOS) Mkdir(arg0 string, arg1 fs.FileMode) error

Mkdir mocks base method.

func (*MockOS) MkdirAll

func (m *MockOS) MkdirAll(arg0 string, arg1 fs.FileMode) error

MkdirAll mocks base method.

func (*MockOS) Name

func (m *MockOS) Name() string

Name mocks base method.

func (*MockOS) NewPDFOutFile

func (m *MockOS) NewPDFOutFile(arg0 afero.File, arg1 pdfgen.PDFGenerator, arg2 bool) opsys.OutFile

NewPDFOutFile mocks base method.

func (*MockOS) NewTxtOutFile

func (m *MockOS) NewTxtOutFile(arg0 afero.File) opsys.OutFile

NewTxtOutFile mocks base method.

func (*MockOS) Open

func (m *MockOS) Open(arg0 string) (afero.File, error)

Open mocks base method.

func (*MockOS) OpenFile

func (m *MockOS) OpenFile(arg0 string, arg1 int, arg2 fs.FileMode) (afero.File, error)

OpenFile mocks base method.

func (*MockOS) ReadFile

func (m *MockOS) ReadFile(arg0 string) (string, error)

ReadFile mocks base method.

func (*MockOS) Remove

func (m *MockOS) Remove(arg0 string) error

Remove mocks base method.

func (*MockOS) RemoveAll

func (m *MockOS) RemoveAll(arg0 string) error

RemoveAll mocks base method.

func (*MockOS) Rename

func (m *MockOS) Rename(arg0, arg1 string) error

Rename mocks base method.

func (*MockOS) RmTempDir

func (m *MockOS) RmTempDir() error

RmTempDir mocks base method.

func (*MockOS) SetOpenFilesLimit

func (m *MockOS) SetOpenFilesLimit(arg0 int) error

SetOpenFilesLimit mocks base method.

func (*MockOS) Stat

func (m *MockOS) Stat(arg0 string) (fs.FileInfo, error)

Stat 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) Flush

func (m *MockOutFile) Flush() (int, error)

Flush mocks base method.

func (*MockOutFile) Name

func (m *MockOutFile) Name() string

Name mocks base method.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL