Documentation ¶
Overview ¶
Package mock_filemanager is a generated GoMock package.
Index ¶
- type MockFileManager
- func (m *MockFileManager) DeleteObjects(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) GetConfiguredPrefix() string
- func (m *MockFileManager) GetDownloadKeyFromFileLocation(arg0 string) string
- func (m *MockFileManager) GetObjectNameFromLocation(arg0 string) (string, error)
- func (m *MockFileManager) ListFilesWithPrefix(arg0 context.Context, arg1 string, arg2 int64) ([]*filemanager.FileObject, error)
- func (m *MockFileManager) SetTimeout(arg0 *time.Duration)
- func (m *MockFileManager) Upload(arg0 context.Context, arg1 *os.File, arg2 ...string) (filemanager.UploadOutput, error)
- type MockFileManagerFactory
- type MockFileManagerFactoryMockRecorder
- type MockFileManagerMockRecorder
- func (mr *MockFileManagerMockRecorder) DeleteObjects(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileManagerMockRecorder) Download(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFileManagerMockRecorder) GetConfiguredPrefix() *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 interface{}) *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) DeleteObjects ¶
func (m *MockFileManager) DeleteObjects(arg0 context.Context, arg1 []string) error
DeleteObjects 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) GetConfiguredPrefix ¶
func (m *MockFileManager) GetConfiguredPrefix() string
GetConfiguredPrefix mocks base method.
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 string, arg2 int64) ([]*filemanager.FileObject, error)
ListFilesWithPrefix 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.UploadOutput, error)
Upload mocks base method.
type MockFileManagerFactory ¶
type MockFileManagerFactory struct {
// contains filtered or unexported fields
}
MockFileManagerFactory is a mock of FileManagerFactory interface.
func NewMockFileManagerFactory ¶
func NewMockFileManagerFactory(ctrl *gomock.Controller) *MockFileManagerFactory
NewMockFileManagerFactory creates a new mock instance.
func (*MockFileManagerFactory) EXPECT ¶
func (m *MockFileManagerFactory) EXPECT() *MockFileManagerFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFileManagerFactory) New ¶
func (m *MockFileManagerFactory) New(arg0 *filemanager.SettingsT) (filemanager.FileManager, error)
New mocks base method.
type MockFileManagerFactoryMockRecorder ¶
type MockFileManagerFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockFileManagerFactoryMockRecorder is the mock recorder for MockFileManagerFactory.
func (*MockFileManagerFactoryMockRecorder) New ¶
func (mr *MockFileManagerFactoryMockRecorder) New(arg0 interface{}) *gomock.Call
New indicates an expected call of New.
type MockFileManagerMockRecorder ¶
type MockFileManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockFileManagerMockRecorder is the mock recorder for MockFileManager.
func (*MockFileManagerMockRecorder) DeleteObjects ¶
func (mr *MockFileManagerMockRecorder) DeleteObjects(arg0, arg1 interface{}) *gomock.Call
DeleteObjects indicates an expected call of DeleteObjects.
func (*MockFileManagerMockRecorder) Download ¶
func (mr *MockFileManagerMockRecorder) Download(arg0, arg1, arg2 interface{}) *gomock.Call
Download indicates an expected call of Download.
func (*MockFileManagerMockRecorder) GetConfiguredPrefix ¶
func (mr *MockFileManagerMockRecorder) GetConfiguredPrefix() *gomock.Call
GetConfiguredPrefix indicates an expected call of GetConfiguredPrefix.
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 interface{}) *gomock.Call
ListFilesWithPrefix indicates an expected call of ListFilesWithPrefix.
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.