Documentation ¶
Overview ¶
Package mock_afero is a generated GoMock package.
Index ¶
- type MockFile
- 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) ReadAt(arg0 []byte, arg1 int64) (int, error)
- func (m *MockFile) Readdir(arg0 int) ([]os.FileInfo, error)
- func (m *MockFile) Readdirnames(arg0 int) ([]string, error)
- func (m *MockFile) Seek(arg0 int64, arg1 int) (int64, error)
- func (m *MockFile) Stat() (os.FileInfo, error)
- func (m *MockFile) Sync() error
- func (m *MockFile) Truncate(arg0 int64) error
- func (m *MockFile) Write(arg0 []byte) (int, error)
- func (m *MockFile) WriteAt(arg0 []byte, arg1 int64) (int, error)
- func (m *MockFile) WriteString(arg0 string) (int, error)
- type MockFileMockRecorder
- func (mr *MockFileMockRecorder) Close() *gomock.Call
- func (mr *MockFileMockRecorder) Name() *gomock.Call
- func (mr *MockFileMockRecorder) Read(arg0 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) ReadAt(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) Readdir(arg0 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) Readdirnames(arg0 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) Seek(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) Stat() *gomock.Call
- func (mr *MockFileMockRecorder) Sync() *gomock.Call
- func (mr *MockFileMockRecorder) Truncate(arg0 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) Write(arg0 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) WriteAt(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) WriteString(arg0 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
func (*MockFile) Readdirnames ¶
Readdirnames mocks base method
type MockFileMockRecorder ¶
type MockFileMockRecorder struct {
// contains filtered or unexported fields
}
MockFileMockRecorder is the mock recorder for MockFile
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) Read ¶
func (mr *MockFileMockRecorder) Read(arg0 interface{}) *gomock.Call
Read indicates an expected call of Read
func (*MockFileMockRecorder) ReadAt ¶
func (mr *MockFileMockRecorder) ReadAt(arg0, arg1 interface{}) *gomock.Call
ReadAt indicates an expected call of ReadAt
func (*MockFileMockRecorder) Readdir ¶
func (mr *MockFileMockRecorder) Readdir(arg0 interface{}) *gomock.Call
Readdir indicates an expected call of Readdir
func (*MockFileMockRecorder) Readdirnames ¶
func (mr *MockFileMockRecorder) Readdirnames(arg0 interface{}) *gomock.Call
Readdirnames indicates an expected call of Readdirnames
func (*MockFileMockRecorder) Seek ¶
func (mr *MockFileMockRecorder) Seek(arg0, arg1 interface{}) *gomock.Call
Seek indicates an expected call of Seek
func (*MockFileMockRecorder) Stat ¶
func (mr *MockFileMockRecorder) Stat() *gomock.Call
Stat indicates an expected call of Stat
func (*MockFileMockRecorder) Sync ¶
func (mr *MockFileMockRecorder) Sync() *gomock.Call
Sync indicates an expected call of Sync
func (*MockFileMockRecorder) Truncate ¶
func (mr *MockFileMockRecorder) Truncate(arg0 interface{}) *gomock.Call
Truncate indicates an expected call of Truncate
func (*MockFileMockRecorder) Write ¶
func (mr *MockFileMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write
func (*MockFileMockRecorder) WriteAt ¶
func (mr *MockFileMockRecorder) WriteAt(arg0, arg1 interface{}) *gomock.Call
WriteAt indicates an expected call of WriteAt
func (*MockFileMockRecorder) WriteString ¶
func (mr *MockFileMockRecorder) WriteString(arg0 interface{}) *gomock.Call
WriteString indicates an expected call of WriteString