Documentation ¶
Overview ¶
Package mock_storage is a generated GoMock package.
Index ¶
- type MockStorageService
- func (m *MockStorageService) Delete(arg0, arg1 string) error
- func (m *MockStorageService) EXPECT() *MockStorageServiceMockRecorder
- func (m *MockStorageService) ListFiles(arg0 string) ([]*storage.FileInfo, error)
- func (m *MockStorageService) PreSignUrl(arg0, arg1 string, arg2 storage.Operation, arg3 uint32) (string, error)
- func (m *MockStorageService) Read(arg0, arg1 string) ([]byte, error)
- func (m *MockStorageService) Write(arg0, arg1 string, arg2 []byte) error
- type MockStorageServiceMockRecorder
- func (mr *MockStorageServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorageServiceMockRecorder) ListFiles(arg0 interface{}) *gomock.Call
- func (mr *MockStorageServiceMockRecorder) PreSignUrl(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockStorageServiceMockRecorder) Read(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorageServiceMockRecorder) Write(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorageService ¶
type MockStorageService struct {
// contains filtered or unexported fields
}
MockStorageService is a mock of StorageService interface.
func NewMockStorageService ¶
func NewMockStorageService(ctrl *gomock.Controller) *MockStorageService
NewMockStorageService creates a new mock instance.
func (*MockStorageService) Delete ¶
func (m *MockStorageService) Delete(arg0, arg1 string) error
Delete mocks base method.
func (*MockStorageService) EXPECT ¶
func (m *MockStorageService) EXPECT() *MockStorageServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorageService) ListFiles ¶
func (m *MockStorageService) ListFiles(arg0 string) ([]*storage.FileInfo, error)
ListFiles mocks base method.
func (*MockStorageService) PreSignUrl ¶
func (m *MockStorageService) PreSignUrl(arg0, arg1 string, arg2 storage.Operation, arg3 uint32) (string, error)
PreSignUrl mocks base method.
type MockStorageServiceMockRecorder ¶
type MockStorageServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageServiceMockRecorder is the mock recorder for MockStorageService.
func (*MockStorageServiceMockRecorder) Delete ¶
func (mr *MockStorageServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockStorageServiceMockRecorder) ListFiles ¶
func (mr *MockStorageServiceMockRecorder) ListFiles(arg0 interface{}) *gomock.Call
ListFiles indicates an expected call of ListFiles.
func (*MockStorageServiceMockRecorder) PreSignUrl ¶
func (mr *MockStorageServiceMockRecorder) PreSignUrl(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PreSignUrl indicates an expected call of PreSignUrl.
func (*MockStorageServiceMockRecorder) Read ¶
func (mr *MockStorageServiceMockRecorder) Read(arg0, arg1 interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockStorageServiceMockRecorder) Write ¶
func (mr *MockStorageServiceMockRecorder) Write(arg0, arg1, arg2 interface{}) *gomock.Call
Write indicates an expected call of Write.