Documentation ¶
Index ¶
- type MockFile
- type MockOS
- func (_m *MockOS) Create(_param0 string) (oswrapper.File, error)
- func (_m *MockOS) EXPECT() *_MockOSRecorder
- func (_m *MockOS) IsNotExist(_param0 error) bool
- func (_m *MockOS) MkdirAll(_param0 string, _param1 os.FileMode) error
- func (_m *MockOS) OpenFile(_param0 string, _param1 int, _param2 os.FileMode) (oswrapper.File, error)
- func (_m *MockOS) RemoveAll(_param0 string) error
- func (_m *MockOS) Rename(_param0 string, _param1 string) error
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
}
Mock of File interface
func NewMockFile ¶
func NewMockFile(ctrl *gomock.Controller) *MockFile
Click to show internal directories.
Click to hide internal directories.