Documentation ¶
Index ¶
- type MockStorageInterface
- func (m *MockStorageInterface) DownloadFile(fileID string) (io.ReadSeeker, error)
- func (m *MockStorageInterface) DownloadImageFromID(fileID string) (string, error)
- func (m *MockStorageInterface) EXPECT() *MockStorageInterfaceMockRecorder
- func (m *MockStorageInterface) UploadFile(image io.ReadSeeker, fileID string) error
- func (m *MockStorageInterface) UploadTargetFile(filename, fileID string) error
- type MockStorageInterfaceMockRecorder
- func (mr *MockStorageInterfaceMockRecorder) DownloadFile(fileID interface{}) *gomock.Call
- func (mr *MockStorageInterfaceMockRecorder) DownloadImageFromID(fileID interface{}) *gomock.Call
- func (mr *MockStorageInterfaceMockRecorder) UploadFile(image, fileID interface{}) *gomock.Call
- func (mr *MockStorageInterfaceMockRecorder) UploadTargetFile(filename, fileID interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorageInterface ¶
type MockStorageInterface struct {
// contains filtered or unexported fields
}
MockStorageInterface is a mock of StorageInterface interface.
func NewMockStorageInterface ¶
func NewMockStorageInterface(ctrl *gomock.Controller) *MockStorageInterface
NewMockStorageInterface creates a new mock instance.
func (*MockStorageInterface) DownloadFile ¶
func (m *MockStorageInterface) DownloadFile(fileID string) (io.ReadSeeker, error)
DownloadFile mocksstorage base method.
func (*MockStorageInterface) DownloadImageFromID ¶
func (m *MockStorageInterface) DownloadImageFromID(fileID string) (string, error)
DownloadImageFromID mocksstorage base method.
func (*MockStorageInterface) EXPECT ¶
func (m *MockStorageInterface) EXPECT() *MockStorageInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorageInterface) UploadFile ¶
func (m *MockStorageInterface) UploadFile(image io.ReadSeeker, fileID string) error
UploadFile mocksstorage base method.
func (*MockStorageInterface) UploadTargetFile ¶
func (m *MockStorageInterface) UploadTargetFile(filename, fileID string) error
UploadTargetFile mocksstorage base method.
type MockStorageInterfaceMockRecorder ¶
type MockStorageInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageInterfaceMockRecorder is the mock recorder for MockStorageInterface.
func (*MockStorageInterfaceMockRecorder) DownloadFile ¶
func (mr *MockStorageInterfaceMockRecorder) DownloadFile(fileID interface{}) *gomock.Call
DownloadFile indicates an expected call of DownloadFile.
func (*MockStorageInterfaceMockRecorder) DownloadImageFromID ¶
func (mr *MockStorageInterfaceMockRecorder) DownloadImageFromID(fileID interface{}) *gomock.Call
DownloadImageFromID indicates an expected call of DownloadImageFromID.
func (*MockStorageInterfaceMockRecorder) UploadFile ¶
func (mr *MockStorageInterfaceMockRecorder) UploadFile(image, fileID interface{}) *gomock.Call
UploadFile indicates an expected call of UploadFile.
func (*MockStorageInterfaceMockRecorder) UploadTargetFile ¶
func (mr *MockStorageInterfaceMockRecorder) UploadTargetFile(filename, fileID interface{}) *gomock.Call
UploadTargetFile indicates an expected call of UploadTargetFile.