Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockFileSystem
- func (m *MockFileSystem) Create(arg0 string) (io.WriteCloser, error)
- func (m *MockFileSystem) EXPECT() *MockFileSystemMockRecorder
- func (m *MockFileSystem) Open(arg0 string) (io.ReadCloser, error)
- func (m *MockFileSystem) Remove(arg0 string) error
- func (m *MockFileSystem) Stat(arg0 string) (os.FileInfo, error)
- type MockFileSystemMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFileSystem ¶
type MockFileSystem struct {
// contains filtered or unexported fields
}
MockFileSystem is a mock of FileSystem interface
func NewMockFileSystem ¶
func NewMockFileSystem(ctrl *gomock.Controller) *MockFileSystem
NewMockFileSystem creates a new mock instance
func (*MockFileSystem) Create ¶
func (m *MockFileSystem) Create(arg0 string) (io.WriteCloser, error)
Create mocks base method
func (*MockFileSystem) EXPECT ¶
func (m *MockFileSystem) EXPECT() *MockFileSystemMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFileSystem) Open ¶
func (m *MockFileSystem) Open(arg0 string) (io.ReadCloser, error)
Open mocks base method
func (*MockFileSystem) Remove ¶
func (m *MockFileSystem) Remove(arg0 string) error
Remove mocks base method
type MockFileSystemMockRecorder ¶
type MockFileSystemMockRecorder struct {
// contains filtered or unexported fields
}
MockFileSystemMockRecorder is the mock recorder for MockFileSystem
func (*MockFileSystemMockRecorder) Create ¶
func (mr *MockFileSystemMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockFileSystemMockRecorder) Open ¶
func (mr *MockFileSystemMockRecorder) Open(arg0 interface{}) *gomock.Call
Open indicates an expected call of Open
func (*MockFileSystemMockRecorder) Remove ¶
func (mr *MockFileSystemMockRecorder) Remove(arg0 interface{}) *gomock.Call
Remove indicates an expected call of Remove
func (*MockFileSystemMockRecorder) Stat ¶
func (mr *MockFileSystemMockRecorder) Stat(arg0 interface{}) *gomock.Call
Stat indicates an expected call of Stat
Click to show internal directories.
Click to hide internal directories.