mock_filemanager

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 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) Delete

func (m *MockFileManager) Delete(arg0 context.Context, arg1 []string) error

Delete 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) 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.

Jump to

Keyboard shortcuts

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