Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type FullFile
- type MockFullFile
- func (m *MockFullFile) Close() error
- func (m *MockFullFile) EXPECT() *MockFullFileMockRecorder
- func (m *MockFullFile) Read(arg0 []byte) (int, error)
- func (m *MockFullFile) ReadAt(p []byte, off int64) (int, error)
- func (m *MockFullFile) Seek(offset int64, whence int) (int64, error)
- func (m *MockFullFile) Stat() (fs.FileInfo, error)
- func (m *MockFullFile) Truncate(size int64) error
- func (m *MockFullFile) Write(p []byte) (int, error)
- func (m *MockFullFile) WriteAt(p []byte, off int64) (int, error)
- type MockFullFileMockRecorder
- func (mr *MockFullFileMockRecorder) Close() *gomock.Call
- func (mr *MockFullFileMockRecorder) Read(arg0 any) *gomock.Call
- func (mr *MockFullFileMockRecorder) ReadAt(p, off any) *gomock.Call
- func (mr *MockFullFileMockRecorder) Seek(offset, whence any) *gomock.Call
- func (mr *MockFullFileMockRecorder) Stat() *gomock.Call
- func (mr *MockFullFileMockRecorder) Truncate(size any) *gomock.Call
- func (mr *MockFullFileMockRecorder) Write(p any) *gomock.Call
- func (mr *MockFullFileMockRecorder) WriteAt(p, off any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FullFile ¶
FullFile is a helper interface for mock generation. It combines fsx.File with io.ReaderAt, io.WriterAt, and io.Seeker.
type MockFullFile ¶
type MockFullFile struct {
// contains filtered or unexported fields
}
MockFullFile is a mock of FullFile interface.
func NewMockFullFile ¶
func NewMockFullFile(ctrl *gomock.Controller) *MockFullFile
NewMockFullFile creates a new mock instance.
func (*MockFullFile) EXPECT ¶
func (m *MockFullFile) EXPECT() *MockFullFileMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFullFile) Read ¶
func (m *MockFullFile) Read(arg0 []byte) (int, error)
Read mocks base method.
func (*MockFullFile) ReadAt ¶
func (m *MockFullFile) ReadAt(p []byte, off int64) (int, error)
ReadAt mocks base method.
func (*MockFullFile) Seek ¶
func (m *MockFullFile) Seek(offset int64, whence int) (int64, error)
Seek mocks base method.
func (*MockFullFile) Stat ¶
func (m *MockFullFile) Stat() (fs.FileInfo, error)
Stat mocks base method.
func (*MockFullFile) Truncate ¶
func (m *MockFullFile) Truncate(size int64) error
Truncate mocks base method.
type MockFullFileMockRecorder ¶
type MockFullFileMockRecorder struct {
// contains filtered or unexported fields
}
MockFullFileMockRecorder is the mock recorder for MockFullFile.
func (*MockFullFileMockRecorder) Close ¶
func (mr *MockFullFileMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockFullFileMockRecorder) Read ¶
func (mr *MockFullFileMockRecorder) Read(arg0 any) *gomock.Call
Read indicates an expected call of Read.
func (*MockFullFileMockRecorder) ReadAt ¶
func (mr *MockFullFileMockRecorder) ReadAt(p, off any) *gomock.Call
ReadAt indicates an expected call of ReadAt.
func (*MockFullFileMockRecorder) Seek ¶
func (mr *MockFullFileMockRecorder) Seek(offset, whence any) *gomock.Call
Seek indicates an expected call of Seek.
func (*MockFullFileMockRecorder) Stat ¶
func (mr *MockFullFileMockRecorder) Stat() *gomock.Call
Stat indicates an expected call of Stat.
func (*MockFullFileMockRecorder) Truncate ¶
func (mr *MockFullFileMockRecorder) Truncate(size any) *gomock.Call
Truncate indicates an expected call of Truncate.