Documentation ¶
Overview ¶
Package filesystem is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFile ¶
type MockFile struct { MockName string MockSize int64 MockMode fs.FileMode MockModTime time.Time MockIsDir bool MockSys interface{} }
MockFile is an implementation of fs.File for unit testing.
type MockReader ¶
type MockReader struct {
// contains filtered or unexported fields
}
MockReader is a mock of Reader interface.
func NewMockReader ¶
func NewMockReader(ctrl *gomock.Controller) *MockReader
NewMockReader creates a new mock instance.
func (*MockReader) EXPECT ¶
func (m *MockReader) EXPECT() *MockReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockReaderMockRecorder ¶
type MockReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockReaderMockRecorder is the mock recorder for MockReader.
func (*MockReaderMockRecorder) ReadDir ¶
func (mr *MockReaderMockRecorder) ReadDir(dirname interface{}) *gomock.Call
ReadDir indicates an expected call of ReadDir.
Click to show internal directories.
Click to hide internal directories.