Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: os (interfaces: FileInfo)
Generated by this command:
mockgen -destination internal/mocks/mock_os/mock_os.go os FileInfo
Package mock_os is a generated GoMock package.
Index ¶
- type MockFileInfo
- type MockFileInfoMockRecorder
- func (mr *MockFileInfoMockRecorder) IsDir() *gomock.Call
- func (mr *MockFileInfoMockRecorder) ModTime() *gomock.Call
- func (mr *MockFileInfoMockRecorder) Mode() *gomock.Call
- func (mr *MockFileInfoMockRecorder) Name() *gomock.Call
- func (mr *MockFileInfoMockRecorder) Size() *gomock.Call
- func (mr *MockFileInfoMockRecorder) Sys() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFileInfo ¶
type MockFileInfo struct {
// contains filtered or unexported fields
}
MockFileInfo is a mock of FileInfo interface.
func NewMockFileInfo ¶
func NewMockFileInfo(ctrl *gomock.Controller) *MockFileInfo
NewMockFileInfo creates a new mock instance.
func (*MockFileInfo) EXPECT ¶
func (m *MockFileInfo) EXPECT() *MockFileInfoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFileInfo) ModTime ¶
func (m *MockFileInfo) ModTime() time.Time
ModTime mocks base method.
type MockFileInfoMockRecorder ¶
type MockFileInfoMockRecorder struct {
// contains filtered or unexported fields
}
MockFileInfoMockRecorder is the mock recorder for MockFileInfo.
func (*MockFileInfoMockRecorder) IsDir ¶
func (mr *MockFileInfoMockRecorder) IsDir() *gomock.Call
IsDir indicates an expected call of IsDir.
func (*MockFileInfoMockRecorder) ModTime ¶
func (mr *MockFileInfoMockRecorder) ModTime() *gomock.Call
ModTime indicates an expected call of ModTime.
func (*MockFileInfoMockRecorder) Mode ¶
func (mr *MockFileInfoMockRecorder) Mode() *gomock.Call
Mode indicates an expected call of Mode.
func (*MockFileInfoMockRecorder) Name ¶
func (mr *MockFileInfoMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockFileInfoMockRecorder) Size ¶
func (mr *MockFileInfoMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size.
func (*MockFileInfoMockRecorder) Sys ¶
func (mr *MockFileInfoMockRecorder) Sys() *gomock.Call
Sys indicates an expected call of Sys.