mock_filemanager

package
v1.8.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_filemanager is a generated GoMock package.

Index

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) Download

func (m *MockFileManager) Download(arg0 context.Context, arg1 *os.File, arg2 string) error

Download mocks base method.

func (*MockFileManager) EXPECT

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, arg2 string, arg3 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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFileManagerFactory) New

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, arg3 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL