Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFiler ¶
MockFiler is an autogenerated mock type for the Filer type
func NewMockFiler ¶
NewMockFiler creates a new instance of MockFiler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockFiler) EXPECT ¶
func (_m *MockFiler) EXPECT() *MockFiler_Expecter
type MockFiler_Expecter ¶
type MockFiler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockFiler_Expecter) Stat ¶
func (_e *MockFiler_Expecter) Stat(name interface{}) *MockFiler_Stat_Call
Stat is a helper method to define mock.On call
- name string
type MockFiler_Stat_Call ¶
MockFiler_Stat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stat'
func (*MockFiler_Stat_Call) Return ¶
func (_c *MockFiler_Stat_Call) Return(_a0 fs.FileInfo, _a1 error) *MockFiler_Stat_Call
func (*MockFiler_Stat_Call) Run ¶
func (_c *MockFiler_Stat_Call) Run(run func(name string)) *MockFiler_Stat_Call
func (*MockFiler_Stat_Call) RunAndReturn ¶
func (_c *MockFiler_Stat_Call) RunAndReturn(run func(string) (fs.FileInfo, error)) *MockFiler_Stat_Call
Click to show internal directories.
Click to hide internal directories.