Documentation ¶
Overview ¶
Package mock_oswrapper is a generated GoMock package.
Index ¶
- type MockFile
- type MockFileMockRecorder
- 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) OpenFile(arg0 string, arg1 int, arg2 os.FileMode) (oswrapper.File, 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) OpenFile(arg0, arg1, arg2 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 ¶
type MockFileMockRecorder struct {
// contains filtered or unexported fields
}
MockFileMockRecorder is the mock recorder for MockFile
func (*MockFileMockRecorder) Chmod ¶
func (mr *MockFileMockRecorder) Chmod(arg0 interface{}) *gomock.Call
Chmod indicates an expected call of Chmod
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) Sync ¶
func (mr *MockFileMockRecorder) Sync() *gomock.Call
Sync indicates an expected call of Sync
func (*MockFileMockRecorder) Write ¶
func (mr *MockFileMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write
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 ¶
type MockOSMockRecorder struct {
// contains filtered or unexported fields
}
MockOSMockRecorder is the mock recorder for MockOS
func (*MockOSMockRecorder) Create ¶
func (mr *MockOSMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockOSMockRecorder) IsNotExist ¶
func (mr *MockOSMockRecorder) IsNotExist(arg0 interface{}) *gomock.Call
IsNotExist indicates an expected call of IsNotExist
func (*MockOSMockRecorder) MkdirAll ¶
func (mr *MockOSMockRecorder) MkdirAll(arg0, arg1 interface{}) *gomock.Call
MkdirAll indicates an expected call of MkdirAll
func (*MockOSMockRecorder) OpenFile ¶
func (mr *MockOSMockRecorder) OpenFile(arg0, arg1, arg2 interface{}) *gomock.Call
OpenFile indicates an expected call of OpenFile
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