Documentation ¶
Overview ¶
Package mock_filemanager is a generated GoMock package.
Index ¶
- type MockFileManager
- func (m *MockFileManager) Delete(arg0 context.Context, arg1 []string) error
- func (m *MockFileManager) Download(arg0 context.Context, arg1 *os.File, arg2 string) error
- func (m *MockFileManager) EXPECT() *MockFileManagerMockRecorder
- func (m *MockFileManager) GetDownloadKeyFromFileLocation(arg0 string) string
- func (m *MockFileManager) GetObjectNameFromLocation(arg0 string) (string, error)
- func (m *MockFileManager) ListFilesWithPrefix(arg0 context.Context, arg1, arg2 string, arg3 int64) filemanager.ListSession
- func (m *MockFileManager) Prefix() string
- func (m *MockFileManager) SetTimeout(arg0 time.Duration)
- func (m *MockFileManager) Upload(arg0 context.Context, arg1 *os.File, arg2 ...string) (filemanager.UploadedFile, error)
- type MockFileManagerMockRecorder
- func (mr *MockFileManagerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileManagerMockRecorder) Download(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFileManagerMockRecorder) GetDownloadKeyFromFileLocation(arg0 interface{}) *gomock.Call
- func (mr *MockFileManagerMockRecorder) GetObjectNameFromLocation(arg0 interface{}) *gomock.Call
- func (mr *MockFileManagerMockRecorder) ListFilesWithPrefix(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockFileManagerMockRecorder) Prefix() *gomock.Call
- func (mr *MockFileManagerMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call
- func (mr *MockFileManagerMockRecorder) Upload(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFileManager ¶
type MockFileManager struct {
// contains filtered or unexported fields
}
MockFileManager is a mock of FileManager interface.
func NewMockFileManager ¶
func NewMockFileManager(ctrl *gomock.Controller) *MockFileManager
NewMockFileManager creates a new mock instance.
func (*MockFileManager) Delete ¶
func (m *MockFileManager) Delete(arg0 context.Context, arg1 []string) error
Delete mocks base method.
func (*MockFileManager) EXPECT ¶
func (m *MockFileManager) EXPECT() *MockFileManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFileManager) GetDownloadKeyFromFileLocation ¶
func (m *MockFileManager) GetDownloadKeyFromFileLocation(arg0 string) string
GetDownloadKeyFromFileLocation mocks base method.
func (*MockFileManager) GetObjectNameFromLocation ¶
func (m *MockFileManager) GetObjectNameFromLocation(arg0 string) (string, error)
GetObjectNameFromLocation mocks base method.
func (*MockFileManager) ListFilesWithPrefix ¶
func (m *MockFileManager) ListFilesWithPrefix(arg0 context.Context, arg1, arg2 string, arg3 int64) filemanager.ListSession
ListFilesWithPrefix mocks base method.
func (*MockFileManager) Prefix ¶
func (m *MockFileManager) Prefix() string
Prefix mocks base method.
func (*MockFileManager) SetTimeout ¶
func (m *MockFileManager) SetTimeout(arg0 time.Duration)
SetTimeout mocks base method.
func (*MockFileManager) Upload ¶
func (m *MockFileManager) Upload(arg0 context.Context, arg1 *os.File, arg2 ...string) (filemanager.UploadedFile, error)
Upload mocks base method.
type MockFileManagerMockRecorder ¶
type MockFileManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockFileManagerMockRecorder is the mock recorder for MockFileManager.
func (*MockFileManagerMockRecorder) Delete ¶
func (mr *MockFileManagerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockFileManagerMockRecorder) Download ¶
func (mr *MockFileManagerMockRecorder) Download(arg0, arg1, arg2 interface{}) *gomock.Call
Download indicates an expected call of Download.
func (*MockFileManagerMockRecorder) GetDownloadKeyFromFileLocation ¶
func (mr *MockFileManagerMockRecorder) GetDownloadKeyFromFileLocation(arg0 interface{}) *gomock.Call
GetDownloadKeyFromFileLocation indicates an expected call of GetDownloadKeyFromFileLocation.
func (*MockFileManagerMockRecorder) GetObjectNameFromLocation ¶
func (mr *MockFileManagerMockRecorder) GetObjectNameFromLocation(arg0 interface{}) *gomock.Call
GetObjectNameFromLocation indicates an expected call of GetObjectNameFromLocation.
func (*MockFileManagerMockRecorder) ListFilesWithPrefix ¶
func (mr *MockFileManagerMockRecorder) ListFilesWithPrefix(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ListFilesWithPrefix indicates an expected call of ListFilesWithPrefix.
func (*MockFileManagerMockRecorder) Prefix ¶
func (mr *MockFileManagerMockRecorder) Prefix() *gomock.Call
Prefix indicates an expected call of Prefix.
func (*MockFileManagerMockRecorder) SetTimeout ¶
func (mr *MockFileManagerMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call
SetTimeout indicates an expected call of SetTimeout.
func (*MockFileManagerMockRecorder) Upload ¶
func (mr *MockFileManagerMockRecorder) Upload(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Upload indicates an expected call of Upload.