Documentation ¶
Overview ¶
Package mock_oswrapper is a generated GoMock package.
Index ¶
- type MockFile
- func (m *MockFile) Chmod(arg0 os.FileMode) error
- 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) Sync() error
- func (m *MockFile) Write(arg0 []byte) (int, error)
- func (m *MockFile) WriteAt(arg0 []byte, arg1 int64) (int, error)
- type MockFileMockRecorder
- func (mr *MockFileMockRecorder) Chmod(arg0 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) Close() *gomock.Call
- func (mr *MockFileMockRecorder) Name() *gomock.Call
- func (mr *MockFileMockRecorder) Read(arg0 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) Sync() *gomock.Call
- func (mr *MockFileMockRecorder) Write(arg0 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) WriteAt(arg0, arg1 interface{}) *gomock.Call
- type MockOS
- func (m *MockOS) Create(arg0 string) (oswrapper.File, error)
- func (m *MockOS) EXPECT() *MockOSMockRecorder
- func (m *MockOS) IsNotExist(arg0 error) bool
- func (m *MockOS) MkdirAll(arg0 string, arg1 os.FileMode) error
- func (m *MockOS) Open(arg0 string) (oswrapper.File, error)
- func (m *MockOS) OpenFile(arg0 string, arg1 int, arg2 os.FileMode) (oswrapper.File, error)
- func (m *MockOS) Remove(arg0 string) error
- func (m *MockOS) RemoveAll(arg0 string) error
- func (m *MockOS) Rename(arg0, arg1 string) error
- type MockOSMockRecorder
- func (mr *MockOSMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) IsNotExist(arg0 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) MkdirAll(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) Open(arg0 interface{}) *gomock.Call
- func (mr *MockOSMockRecorder) OpenFile(arg0, arg1, arg2 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
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
type MockFileMockRecorder ¶ added in v1.17.3
type MockFileMockRecorder struct {
// contains filtered or unexported fields
}
MockFileMockRecorder is the mock recorder for MockFile
func (*MockFileMockRecorder) Chmod ¶ added in v1.17.3
func (mr *MockFileMockRecorder) Chmod(arg0 interface{}) *gomock.Call
Chmod indicates an expected call of Chmod
func (*MockFileMockRecorder) Close ¶ added in v1.17.3
func (mr *MockFileMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockFileMockRecorder) Name ¶ added in v1.17.3
func (mr *MockFileMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockFileMockRecorder) Read ¶ added in v1.39.0
func (mr *MockFileMockRecorder) Read(arg0 interface{}) *gomock.Call
Read indicates an expected call of Read
func (*MockFileMockRecorder) Sync ¶ added in v1.17.3
func (mr *MockFileMockRecorder) Sync() *gomock.Call
Sync indicates an expected call of Sync
func (*MockFileMockRecorder) Write ¶ added in v1.17.3
func (mr *MockFileMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write
func (*MockFileMockRecorder) WriteAt ¶ added in v1.31.0
func (mr *MockFileMockRecorder) WriteAt(arg0, arg1 interface{}) *gomock.Call
WriteAt indicates an expected call of WriteAt
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) IsNotExist ¶
IsNotExist mocks base method
type MockOSMockRecorder ¶ added in v1.17.3
type MockOSMockRecorder struct {
// contains filtered or unexported fields
}
MockOSMockRecorder is the mock recorder for MockOS
func (*MockOSMockRecorder) Create ¶ added in v1.17.3
func (mr *MockOSMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockOSMockRecorder) IsNotExist ¶ added in v1.17.3
func (mr *MockOSMockRecorder) IsNotExist(arg0 interface{}) *gomock.Call
IsNotExist indicates an expected call of IsNotExist
func (*MockOSMockRecorder) MkdirAll ¶ added in v1.17.3
func (mr *MockOSMockRecorder) MkdirAll(arg0, arg1 interface{}) *gomock.Call
MkdirAll indicates an expected call of MkdirAll
func (*MockOSMockRecorder) Open ¶ added in v1.39.0
func (mr *MockOSMockRecorder) Open(arg0 interface{}) *gomock.Call
Open indicates an expected call of Open
func (*MockOSMockRecorder) OpenFile ¶ added in v1.17.3
func (mr *MockOSMockRecorder) OpenFile(arg0, arg1, arg2 interface{}) *gomock.Call
OpenFile indicates an expected call of OpenFile
func (*MockOSMockRecorder) Remove ¶ added in v1.34.0
func (mr *MockOSMockRecorder) Remove(arg0 interface{}) *gomock.Call
Remove indicates an expected call of Remove
func (*MockOSMockRecorder) RemoveAll ¶ added in v1.17.3
func (mr *MockOSMockRecorder) RemoveAll(arg0 interface{}) *gomock.Call
RemoveAll indicates an expected call of RemoveAll
func (*MockOSMockRecorder) Rename ¶ added in v1.17.3
func (mr *MockOSMockRecorder) Rename(arg0, arg1 interface{}) *gomock.Call
Rename indicates an expected call of Rename