Documentation ¶
Overview ¶
Package mock_fs is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockReadFileFS ¶
type MockReadFileFS struct {
// contains filtered or unexported fields
}
MockReadFileFS is a mock of the ReadFileFS interface in io/fs.
func NewMockReadFileFS ¶
func NewMockReadFileFS(ctrl *gomock.Controller) *MockReadFileFS
NewMockReadFileFS creates a new mock instance.
func (*MockReadFileFS) EXPECT ¶
func (m *MockReadFileFS) EXPECT() *MockReadFileFSMockRecorder
EXPECT returns a struct that allows setting up expectations.
func (*MockReadFileFS) NEW ¶
func (*MockReadFileFS) NEW(ctrl *gomock.Controller) *MockReadFileFS
NEW creates a MockReadFileFS. This method is used internally by ensure.
type MockReadFileFSMockRecorder ¶
type MockReadFileFSMockRecorder struct {
// contains filtered or unexported fields
}
MockReadFileFSMockRecorder is the mock recorder for MockReadFileFS.
func (*MockReadFileFSMockRecorder) Open ¶
func (mr *MockReadFileFSMockRecorder) Open(_name interface{}) *gomock.Call
Open sets up expectations for calls to Open. Calling this method multiple times allows expecting multiple calls to Open with a variety of parameters.
Inputs:
name string
Outputs:
fs.File error
func (*MockReadFileFSMockRecorder) ReadFile ¶
func (mr *MockReadFileFSMockRecorder) ReadFile(_name interface{}) *gomock.Call
ReadFile sets up expectations for calls to ReadFile. Calling this method multiple times allows expecting multiple calls to ReadFile with a variety of parameters.
Inputs:
name string
Outputs:
[]byte error