Documentation ¶
Overview ¶
Package mock_utils is a generated GoMock package.
Index ¶
- type MockFileUtilsInterface
- func (m *MockFileUtilsInterface) EXPECT() *MockFileUtilsInterfaceMockRecorder
- func (m *MockFileUtilsInterface) MkDir(path string) error
- func (m *MockFileUtilsInterface) ReadFile(path string) ([]byte, error)
- func (m *MockFileUtilsInterface) UserHomeDir() (string, error)
- func (m *MockFileUtilsInterface) WriteFile(path string, contents []byte) error
- type MockFileUtilsInterfaceMockRecorder
- func (mr *MockFileUtilsInterfaceMockRecorder) MkDir(path interface{}) *gomock.Call
- func (mr *MockFileUtilsInterfaceMockRecorder) ReadFile(path interface{}) *gomock.Call
- func (mr *MockFileUtilsInterfaceMockRecorder) UserHomeDir() *gomock.Call
- func (mr *MockFileUtilsInterfaceMockRecorder) WriteFile(path, contents interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFileUtilsInterface ¶
type MockFileUtilsInterface struct {
// contains filtered or unexported fields
}
MockFileUtilsInterface is a mock of FileUtilsInterface interface.
func NewMockFileUtilsInterface ¶
func NewMockFileUtilsInterface(ctrl *gomock.Controller) *MockFileUtilsInterface
NewMockFileUtilsInterface creates a new mock instance.
func (*MockFileUtilsInterface) EXPECT ¶
func (m *MockFileUtilsInterface) EXPECT() *MockFileUtilsInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFileUtilsInterface) MkDir ¶
func (m *MockFileUtilsInterface) MkDir(path string) error
MkDir mocks base method.
func (*MockFileUtilsInterface) ReadFile ¶
func (m *MockFileUtilsInterface) ReadFile(path string) ([]byte, error)
ReadFile mocks base method.
func (*MockFileUtilsInterface) UserHomeDir ¶
func (m *MockFileUtilsInterface) UserHomeDir() (string, error)
UserHomeDir mocks base method.
type MockFileUtilsInterfaceMockRecorder ¶
type MockFileUtilsInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockFileUtilsInterfaceMockRecorder is the mock recorder for MockFileUtilsInterface.
func (*MockFileUtilsInterfaceMockRecorder) MkDir ¶
func (mr *MockFileUtilsInterfaceMockRecorder) MkDir(path interface{}) *gomock.Call
MkDir indicates an expected call of MkDir.
func (*MockFileUtilsInterfaceMockRecorder) ReadFile ¶
func (mr *MockFileUtilsInterfaceMockRecorder) ReadFile(path interface{}) *gomock.Call
ReadFile indicates an expected call of ReadFile.
func (*MockFileUtilsInterfaceMockRecorder) UserHomeDir ¶
func (mr *MockFileUtilsInterfaceMockRecorder) UserHomeDir() *gomock.Call
UserHomeDir indicates an expected call of UserHomeDir.
func (*MockFileUtilsInterfaceMockRecorder) WriteFile ¶
func (mr *MockFileUtilsInterfaceMockRecorder) WriteFile(path, contents interface{}) *gomock.Call
WriteFile indicates an expected call of WriteFile.
Click to show internal directories.
Click to hide internal directories.