Documentation ¶
Overview ¶
Package mock_file is a generated GoMock package.
Index ¶
- type MockStorage
- func (m *MockStorage) Copy(arg0, arg1 string) (string, error)
- func (m *MockStorage) Delete(arg0, arg1 string) error
- func (m *MockStorage) DeleteByName(arg0 string) (bool, error)
- func (m *MockStorage) EXPECT() *MockStorageMockRecorder
- func (m *MockStorage) GetEtag(arg0, arg1 string) (string, error)
- func (m *MockStorage) GetFilepath(arg0, arg1 string) string
- func (m *MockStorage) Move(arg0, arg1 string) (string, error)
- type MockStorageMockRecorder
- func (mr *MockStorageMockRecorder) Copy(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) DeleteByName(arg0 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) GetEtag(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) GetFilepath(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) Move(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorage ¶
type MockStorage struct {
// contains filtered or unexported fields
}
MockStorage is a mock of Storage interface
func NewMockStorage ¶
func NewMockStorage(ctrl *gomock.Controller) *MockStorage
NewMockStorage creates a new mock instance
func (*MockStorage) Copy ¶
func (m *MockStorage) Copy(arg0, arg1 string) (string, error)
Copy mocks base method
func (*MockStorage) Delete ¶
func (m *MockStorage) Delete(arg0, arg1 string) error
Delete mocks base method
func (*MockStorage) DeleteByName ¶
func (m *MockStorage) DeleteByName(arg0 string) (bool, error)
DeleteByName mocks base method
func (*MockStorage) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStorage) GetEtag ¶
func (m *MockStorage) GetEtag(arg0, arg1 string) (string, error)
GetEtag mocks base method
func (*MockStorage) GetFilepath ¶
func (m *MockStorage) GetFilepath(arg0, arg1 string) string
GetFilepath mocks base method
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage
func (*MockStorageMockRecorder) Copy ¶
func (mr *MockStorageMockRecorder) Copy(arg0, arg1 interface{}) *gomock.Call
Copy indicates an expected call of Copy
func (*MockStorageMockRecorder) Delete ¶
func (mr *MockStorageMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockStorageMockRecorder) DeleteByName ¶
func (mr *MockStorageMockRecorder) DeleteByName(arg0 interface{}) *gomock.Call
DeleteByName indicates an expected call of DeleteByName
func (*MockStorageMockRecorder) GetEtag ¶
func (mr *MockStorageMockRecorder) GetEtag(arg0, arg1 interface{}) *gomock.Call
GetEtag indicates an expected call of GetEtag
func (*MockStorageMockRecorder) GetFilepath ¶
func (mr *MockStorageMockRecorder) GetFilepath(arg0, arg1 interface{}) *gomock.Call
GetFilepath indicates an expected call of GetFilepath
func (*MockStorageMockRecorder) Move ¶
func (mr *MockStorageMockRecorder) Move(arg0, arg1 interface{}) *gomock.Call
Move indicates an expected call of Move