Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorage ¶
MockStorage is an autogenerated mock type for the Storage type
func NewMockStorage ¶
func NewMockStorage(t interface { mock.TestingT Cleanup(func()) }) *MockStorage
NewMockStorage creates a new instance of MockStorage. 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 (*MockStorage) EXPECT ¶
func (_m *MockStorage) EXPECT() *MockStorage_Expecter
type MockStorage_Expecter ¶
type MockStorage_Expecter struct {
// contains filtered or unexported fields
}
func (*MockStorage_Expecter) Save ¶
func (_e *MockStorage_Expecter) Save(path interface{}, fname interface{}, r interface{}) *MockStorage_Save_Call
Save is a helper method to define mock.On call
- path string
- fname string
- r io.Reader
type MockStorage_Save_Call ¶
MockStorage_Save_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Save'
func (*MockStorage_Save_Call) Return ¶
func (_c *MockStorage_Save_Call) Return(_a0 error) *MockStorage_Save_Call
func (*MockStorage_Save_Call) Run ¶
func (_c *MockStorage_Save_Call) Run(run func(path string, fname string, r io.Reader)) *MockStorage_Save_Call
func (*MockStorage_Save_Call) RunAndReturn ¶
func (_c *MockStorage_Save_Call) RunAndReturn(run func(string, string, io.Reader) error) *MockStorage_Save_Call
Click to show internal directories.
Click to hide internal directories.