Documentation ¶
Overview ¶
Package mock_filemanager is a generated GoMock package.
Index ¶
- type MockFileManager
- func (m *MockFileManager) DeleteObjects(arg0 []string) error
- func (m *MockFileManager) Download(arg0 *os.File, arg1 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) Upload(arg0 *os.File, arg1 ...string) (filemanager.UploadOutput, error)
- type MockFileManagerFactory
- type MockFileManagerFactoryMockRecorder
- type MockFileManagerMockRecorder
- func (mr *MockFileManagerMockRecorder) DeleteObjects(arg0 interface{}) *gomock.Call
- func (mr *MockFileManagerMockRecorder) Download(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileManagerMockRecorder) GetDownloadKeyFromFileLocation(arg0 interface{}) *gomock.Call
- func (mr *MockFileManagerMockRecorder) GetObjectNameFromLocation(arg0 interface{}) *gomock.Call
- func (mr *MockFileManagerMockRecorder) Upload(arg0 interface{}, arg1 ...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 []string) error
DeleteObjects mocks base method
func (*MockFileManager) Download ¶
func (m *MockFileManager) Download(arg0 *os.File, arg1 string) error
Download 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) Upload ¶
func (m *MockFileManager) Upload(arg0 *os.File, arg1 ...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 interface{}) *gomock.Call
DeleteObjects indicates an expected call of DeleteObjects
func (*MockFileManagerMockRecorder) Download ¶
func (mr *MockFileManagerMockRecorder) Download(arg0, arg1 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) Upload ¶
func (mr *MockFileManagerMockRecorder) Upload(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Upload indicates an expected call of Upload