files

package
v0.201.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDbfsInterface

type MockDbfsInterface struct {
	mock.Mock
}

MockDbfsInterface is an autogenerated mock type for the DbfsInterface type

func NewMockDbfsInterface

func NewMockDbfsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockDbfsInterface

NewMockDbfsInterface creates a new instance of MockDbfsInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockDbfsInterface) AddBlock

func (_mock *MockDbfsInterface) AddBlock(ctx context.Context, request files.AddBlock) error

AddBlock provides a mock function for the type MockDbfsInterface

func (*MockDbfsInterface) Close

func (_mock *MockDbfsInterface) Close(ctx context.Context, request files.Close) error

Close provides a mock function for the type MockDbfsInterface

func (*MockDbfsInterface) CloseByHandle

func (_mock *MockDbfsInterface) CloseByHandle(ctx context.Context, handle int64) error

CloseByHandle provides a mock function for the type MockDbfsInterface

func (*MockDbfsInterface) Create

func (_mock *MockDbfsInterface) Create(ctx context.Context, request files.Create) (*files.CreateResponse, error)

Create provides a mock function for the type MockDbfsInterface

func (*MockDbfsInterface) Delete

func (_mock *MockDbfsInterface) Delete(ctx context.Context, request files.Delete) error

Delete provides a mock function for the type MockDbfsInterface

func (*MockDbfsInterface) EXPECT

func (*MockDbfsInterface) GetStatus

func (_mock *MockDbfsInterface) GetStatus(ctx context.Context, request files.GetStatusRequest) (*files.FileInfo, error)

GetStatus provides a mock function for the type MockDbfsInterface

func (*MockDbfsInterface) GetStatusByPath

func (_mock *MockDbfsInterface) GetStatusByPath(ctx context.Context, path string) (*files.FileInfo, error)

GetStatusByPath provides a mock function for the type MockDbfsInterface

func (*MockDbfsInterface) List

List provides a mock function for the type MockDbfsInterface

func (*MockDbfsInterface) ListAll

func (_mock *MockDbfsInterface) ListAll(ctx context.Context, request files.ListDbfsRequest) ([]files.FileInfo, error)

ListAll provides a mock function for the type MockDbfsInterface

func (*MockDbfsInterface) ListByPath

func (_mock *MockDbfsInterface) ListByPath(ctx context.Context, path string) (*files.ListStatusResponse, error)

ListByPath provides a mock function for the type MockDbfsInterface

func (*MockDbfsInterface) Mkdirs

func (_mock *MockDbfsInterface) Mkdirs(ctx context.Context, request files.MkDirs) error

Mkdirs provides a mock function for the type MockDbfsInterface

func (*MockDbfsInterface) MkdirsByPath

func (_mock *MockDbfsInterface) MkdirsByPath(ctx context.Context, path string) error

MkdirsByPath provides a mock function for the type MockDbfsInterface

func (*MockDbfsInterface) Move

func (_mock *MockDbfsInterface) Move(ctx context.Context, request files.Move) error

Move provides a mock function for the type MockDbfsInterface

func (*MockDbfsInterface) Open

func (_mock *MockDbfsInterface) Open(ctx context.Context, path string, mode files.FileMode) (files.Handle, error)

Open provides a mock function for the type MockDbfsInterface

func (*MockDbfsInterface) Put

func (_mock *MockDbfsInterface) Put(ctx context.Context, request files.Put) error

Put provides a mock function for the type MockDbfsInterface

func (*MockDbfsInterface) Read

Read provides a mock function for the type MockDbfsInterface

func (*MockDbfsInterface) ReadFile

func (_mock *MockDbfsInterface) ReadFile(ctx context.Context, name string) ([]byte, error)

ReadFile provides a mock function for the type MockDbfsInterface

func (*MockDbfsInterface) RecursiveList

func (_mock *MockDbfsInterface) RecursiveList(ctx context.Context, path string) ([]files.FileInfo, error)

RecursiveList provides a mock function for the type MockDbfsInterface

func (*MockDbfsInterface) WriteFile

func (_mock *MockDbfsInterface) WriteFile(ctx context.Context, name string, data []byte) error

WriteFile provides a mock function for the type MockDbfsInterface

type MockDbfsInterface_AddBlock_Call

type MockDbfsInterface_AddBlock_Call struct {
	*mock.Call
}

MockDbfsInterface_AddBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddBlock'

func (*MockDbfsInterface_AddBlock_Call) Return

func (*MockDbfsInterface_AddBlock_Call) Run

func (*MockDbfsInterface_AddBlock_Call) RunAndReturn

type MockDbfsInterface_CloseByHandle_Call

type MockDbfsInterface_CloseByHandle_Call struct {
	*mock.Call
}

MockDbfsInterface_CloseByHandle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseByHandle'

func (*MockDbfsInterface_CloseByHandle_Call) Return

func (*MockDbfsInterface_CloseByHandle_Call) Run

func (*MockDbfsInterface_CloseByHandle_Call) RunAndReturn

type MockDbfsInterface_Close_Call

type MockDbfsInterface_Close_Call struct {
	*mock.Call
}

MockDbfsInterface_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'

func (*MockDbfsInterface_Close_Call) Return

func (*MockDbfsInterface_Close_Call) Run

func (*MockDbfsInterface_Close_Call) RunAndReturn

func (_c *MockDbfsInterface_Close_Call) RunAndReturn(run func(ctx context.Context, request files.Close) error) *MockDbfsInterface_Close_Call

type MockDbfsInterface_Create_Call

type MockDbfsInterface_Create_Call struct {
	*mock.Call
}

MockDbfsInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'

func (*MockDbfsInterface_Create_Call) Return

func (*MockDbfsInterface_Create_Call) Run

func (*MockDbfsInterface_Create_Call) RunAndReturn

type MockDbfsInterface_Delete_Call

type MockDbfsInterface_Delete_Call struct {
	*mock.Call
}

MockDbfsInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'

func (*MockDbfsInterface_Delete_Call) Return

func (*MockDbfsInterface_Delete_Call) Run

func (*MockDbfsInterface_Delete_Call) RunAndReturn

type MockDbfsInterface_Expecter

type MockDbfsInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockDbfsInterface_Expecter) AddBlock

AddBlock is a helper method to define mock.On call

  • ctx context.Context
  • request files.AddBlock

func (*MockDbfsInterface_Expecter) Close

Close is a helper method to define mock.On call

  • ctx context.Context
  • request files.Close

func (*MockDbfsInterface_Expecter) CloseByHandle

CloseByHandle is a helper method to define mock.On call

  • ctx context.Context
  • handle int64

func (*MockDbfsInterface_Expecter) Create

Create is a helper method to define mock.On call

  • ctx context.Context
  • request files.Create

func (*MockDbfsInterface_Expecter) Delete

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request files.Delete

func (*MockDbfsInterface_Expecter) GetStatus

GetStatus is a helper method to define mock.On call

  • ctx context.Context
  • request files.GetStatusRequest

func (*MockDbfsInterface_Expecter) GetStatusByPath

GetStatusByPath is a helper method to define mock.On call

  • ctx context.Context
  • path string

func (*MockDbfsInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context
  • request files.ListDbfsRequest

func (*MockDbfsInterface_Expecter) ListAll

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request files.ListDbfsRequest

func (*MockDbfsInterface_Expecter) ListByPath

ListByPath is a helper method to define mock.On call

  • ctx context.Context
  • path string

func (*MockDbfsInterface_Expecter) Mkdirs

Mkdirs is a helper method to define mock.On call

  • ctx context.Context
  • request files.MkDirs

func (*MockDbfsInterface_Expecter) MkdirsByPath

MkdirsByPath is a helper method to define mock.On call

  • ctx context.Context
  • path string

func (*MockDbfsInterface_Expecter) Move

Move is a helper method to define mock.On call

  • ctx context.Context
  • request files.Move

func (*MockDbfsInterface_Expecter) Open

Open is a helper method to define mock.On call

  • ctx context.Context
  • path string
  • mode files.FileMode

func (*MockDbfsInterface_Expecter) Put

Put is a helper method to define mock.On call

  • ctx context.Context
  • request files.Put

func (*MockDbfsInterface_Expecter) Read

Read is a helper method to define mock.On call

  • ctx context.Context
  • request files.ReadDbfsRequest

func (*MockDbfsInterface_Expecter) ReadFile

ReadFile is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockDbfsInterface_Expecter) RecursiveList

RecursiveList is a helper method to define mock.On call

  • ctx context.Context
  • path string

func (*MockDbfsInterface_Expecter) WriteFile

func (_e *MockDbfsInterface_Expecter) WriteFile(ctx any, name any, data any) *MockDbfsInterface_WriteFile_Call

WriteFile is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • data []byte

type MockDbfsInterface_GetStatusByPath_Call

type MockDbfsInterface_GetStatusByPath_Call struct {
	*mock.Call
}

MockDbfsInterface_GetStatusByPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatusByPath'

func (*MockDbfsInterface_GetStatusByPath_Call) Return

func (*MockDbfsInterface_GetStatusByPath_Call) Run

func (*MockDbfsInterface_GetStatusByPath_Call) RunAndReturn

type MockDbfsInterface_GetStatus_Call

type MockDbfsInterface_GetStatus_Call struct {
	*mock.Call
}

MockDbfsInterface_GetStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatus'

func (*MockDbfsInterface_GetStatus_Call) Return

func (*MockDbfsInterface_GetStatus_Call) Run

func (*MockDbfsInterface_GetStatus_Call) RunAndReturn

type MockDbfsInterface_ListAll_Call

type MockDbfsInterface_ListAll_Call struct {
	*mock.Call
}

MockDbfsInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'

func (*MockDbfsInterface_ListAll_Call) Return

func (*MockDbfsInterface_ListAll_Call) Run

func (*MockDbfsInterface_ListAll_Call) RunAndReturn

type MockDbfsInterface_ListByPath_Call

type MockDbfsInterface_ListByPath_Call struct {
	*mock.Call
}

MockDbfsInterface_ListByPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListByPath'

func (*MockDbfsInterface_ListByPath_Call) Return

func (*MockDbfsInterface_ListByPath_Call) Run

func (*MockDbfsInterface_ListByPath_Call) RunAndReturn

type MockDbfsInterface_List_Call

type MockDbfsInterface_List_Call struct {
	*mock.Call
}

MockDbfsInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'

func (*MockDbfsInterface_List_Call) Return

func (*MockDbfsInterface_List_Call) Run

func (*MockDbfsInterface_List_Call) RunAndReturn

type MockDbfsInterface_MkdirsByPath_Call

type MockDbfsInterface_MkdirsByPath_Call struct {
	*mock.Call
}

MockDbfsInterface_MkdirsByPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MkdirsByPath'

func (*MockDbfsInterface_MkdirsByPath_Call) Return

func (*MockDbfsInterface_MkdirsByPath_Call) Run

func (*MockDbfsInterface_MkdirsByPath_Call) RunAndReturn

type MockDbfsInterface_Mkdirs_Call

type MockDbfsInterface_Mkdirs_Call struct {
	*mock.Call
}

MockDbfsInterface_Mkdirs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Mkdirs'

func (*MockDbfsInterface_Mkdirs_Call) Return

func (*MockDbfsInterface_Mkdirs_Call) Run

func (*MockDbfsInterface_Mkdirs_Call) RunAndReturn

type MockDbfsInterface_Move_Call

type MockDbfsInterface_Move_Call struct {
	*mock.Call
}

MockDbfsInterface_Move_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Move'

func (*MockDbfsInterface_Move_Call) Return

func (*MockDbfsInterface_Move_Call) Run

func (*MockDbfsInterface_Move_Call) RunAndReturn

func (_c *MockDbfsInterface_Move_Call) RunAndReturn(run func(ctx context.Context, request files.Move) error) *MockDbfsInterface_Move_Call

type MockDbfsInterface_Open_Call

type MockDbfsInterface_Open_Call struct {
	*mock.Call
}

MockDbfsInterface_Open_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Open'

func (*MockDbfsInterface_Open_Call) Return

func (*MockDbfsInterface_Open_Call) Run

func (*MockDbfsInterface_Open_Call) RunAndReturn

type MockDbfsInterface_Put_Call

type MockDbfsInterface_Put_Call struct {
	*mock.Call
}

MockDbfsInterface_Put_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Put'

func (*MockDbfsInterface_Put_Call) Return

func (*MockDbfsInterface_Put_Call) Run

func (*MockDbfsInterface_Put_Call) RunAndReturn

func (_c *MockDbfsInterface_Put_Call) RunAndReturn(run func(ctx context.Context, request files.Put) error) *MockDbfsInterface_Put_Call

type MockDbfsInterface_ReadFile_Call

type MockDbfsInterface_ReadFile_Call struct {
	*mock.Call
}

MockDbfsInterface_ReadFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadFile'

func (*MockDbfsInterface_ReadFile_Call) Return

func (*MockDbfsInterface_ReadFile_Call) Run

func (*MockDbfsInterface_ReadFile_Call) RunAndReturn

type MockDbfsInterface_Read_Call

type MockDbfsInterface_Read_Call struct {
	*mock.Call
}

MockDbfsInterface_Read_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Read'

func (*MockDbfsInterface_Read_Call) Return

func (*MockDbfsInterface_Read_Call) Run

func (*MockDbfsInterface_Read_Call) RunAndReturn

type MockDbfsInterface_RecursiveList_Call

type MockDbfsInterface_RecursiveList_Call struct {
	*mock.Call
}

MockDbfsInterface_RecursiveList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecursiveList'

func (*MockDbfsInterface_RecursiveList_Call) Return

func (*MockDbfsInterface_RecursiveList_Call) Run

func (*MockDbfsInterface_RecursiveList_Call) RunAndReturn

type MockDbfsInterface_WriteFile_Call

type MockDbfsInterface_WriteFile_Call struct {
	*mock.Call
}

MockDbfsInterface_WriteFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteFile'

func (*MockDbfsInterface_WriteFile_Call) Return

func (*MockDbfsInterface_WriteFile_Call) Run

func (*MockDbfsInterface_WriteFile_Call) RunAndReturn

func (_c *MockDbfsInterface_WriteFile_Call) RunAndReturn(run func(ctx context.Context, name string, data []byte) error) *MockDbfsInterface_WriteFile_Call

type MockFilesInterface

type MockFilesInterface struct {
	mock.Mock
}

MockFilesInterface is an autogenerated mock type for the FilesInterface type

func NewMockFilesInterface

func NewMockFilesInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockFilesInterface

NewMockFilesInterface creates a new instance of MockFilesInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockFilesInterface) CreateDirectory added in v0.31.0

func (_mock *MockFilesInterface) CreateDirectory(ctx context.Context, request files.CreateDirectoryRequest) error

CreateDirectory provides a mock function for the type MockFilesInterface

func (*MockFilesInterface) Delete

func (_mock *MockFilesInterface) Delete(ctx context.Context, request files.DeleteFileRequest) error

Delete provides a mock function for the type MockFilesInterface

func (*MockFilesInterface) DeleteByFilePath

func (_mock *MockFilesInterface) DeleteByFilePath(ctx context.Context, filePath string) error

DeleteByFilePath provides a mock function for the type MockFilesInterface

func (*MockFilesInterface) DeleteDirectory added in v0.31.0

func (_mock *MockFilesInterface) DeleteDirectory(ctx context.Context, request files.DeleteDirectoryRequest) error

DeleteDirectory provides a mock function for the type MockFilesInterface

func (*MockFilesInterface) DeleteDirectoryByDirectoryPath added in v0.31.0

func (_mock *MockFilesInterface) DeleteDirectoryByDirectoryPath(ctx context.Context, directoryPath string) error

DeleteDirectoryByDirectoryPath provides a mock function for the type MockFilesInterface

func (*MockFilesInterface) Download

Download provides a mock function for the type MockFilesInterface

func (*MockFilesInterface) DownloadByFilePath

func (_mock *MockFilesInterface) DownloadByFilePath(ctx context.Context, filePath string) (*files.DownloadResponse, error)

DownloadByFilePath provides a mock function for the type MockFilesInterface

func (*MockFilesInterface) EXPECT

func (*MockFilesInterface) GetDirectoryMetadata added in v0.32.0

func (_mock *MockFilesInterface) GetDirectoryMetadata(ctx context.Context, request files.GetDirectoryMetadataRequest) error

GetDirectoryMetadata provides a mock function for the type MockFilesInterface

func (*MockFilesInterface) GetDirectoryMetadataByDirectoryPath added in v0.32.0

func (_mock *MockFilesInterface) GetDirectoryMetadataByDirectoryPath(ctx context.Context, directoryPath string) error

GetDirectoryMetadataByDirectoryPath provides a mock function for the type MockFilesInterface

func (*MockFilesInterface) GetMetadata added in v0.32.0

GetMetadata provides a mock function for the type MockFilesInterface

func (*MockFilesInterface) GetMetadataByFilePath added in v0.32.0

func (_mock *MockFilesInterface) GetMetadataByFilePath(ctx context.Context, filePath string) (*files.GetMetadataResponse, error)

GetMetadataByFilePath provides a mock function for the type MockFilesInterface

func (*MockFilesInterface) ListDirectoryContents added in v0.31.0

ListDirectoryContents provides a mock function for the type MockFilesInterface

func (*MockFilesInterface) ListDirectoryContentsAll added in v0.31.0

func (_mock *MockFilesInterface) ListDirectoryContentsAll(ctx context.Context, request files.ListDirectoryContentsRequest) ([]files.DirectoryEntry, error)

ListDirectoryContentsAll provides a mock function for the type MockFilesInterface

func (*MockFilesInterface) ListDirectoryContentsByDirectoryPath added in v0.31.0

func (_mock *MockFilesInterface) ListDirectoryContentsByDirectoryPath(ctx context.Context, directoryPath string) (*files.ListDirectoryResponse, error)

ListDirectoryContentsByDirectoryPath provides a mock function for the type MockFilesInterface

func (*MockFilesInterface) Upload

func (_mock *MockFilesInterface) Upload(ctx context.Context, request files.UploadRequest) error

Upload provides a mock function for the type MockFilesInterface

type MockFilesInterface_CreateDirectory_Call added in v0.31.0

type MockFilesInterface_CreateDirectory_Call struct {
	*mock.Call
}

MockFilesInterface_CreateDirectory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDirectory'

func (*MockFilesInterface_CreateDirectory_Call) Return added in v0.31.0

func (*MockFilesInterface_CreateDirectory_Call) Run added in v0.31.0

func (*MockFilesInterface_CreateDirectory_Call) RunAndReturn added in v0.31.0

type MockFilesInterface_DeleteByFilePath_Call

type MockFilesInterface_DeleteByFilePath_Call struct {
	*mock.Call
}

MockFilesInterface_DeleteByFilePath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByFilePath'

func (*MockFilesInterface_DeleteByFilePath_Call) Return

func (*MockFilesInterface_DeleteByFilePath_Call) Run

func (*MockFilesInterface_DeleteByFilePath_Call) RunAndReturn

type MockFilesInterface_DeleteDirectoryByDirectoryPath_Call added in v0.31.0

type MockFilesInterface_DeleteDirectoryByDirectoryPath_Call struct {
	*mock.Call
}

MockFilesInterface_DeleteDirectoryByDirectoryPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDirectoryByDirectoryPath'

func (*MockFilesInterface_DeleteDirectoryByDirectoryPath_Call) Return added in v0.31.0

func (*MockFilesInterface_DeleteDirectoryByDirectoryPath_Call) Run added in v0.31.0

func (*MockFilesInterface_DeleteDirectoryByDirectoryPath_Call) RunAndReturn added in v0.31.0

type MockFilesInterface_DeleteDirectory_Call added in v0.31.0

type MockFilesInterface_DeleteDirectory_Call struct {
	*mock.Call
}

MockFilesInterface_DeleteDirectory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDirectory'

func (*MockFilesInterface_DeleteDirectory_Call) Return added in v0.31.0

func (*MockFilesInterface_DeleteDirectory_Call) Run added in v0.31.0

func (*MockFilesInterface_DeleteDirectory_Call) RunAndReturn added in v0.31.0

type MockFilesInterface_Delete_Call

type MockFilesInterface_Delete_Call struct {
	*mock.Call
}

MockFilesInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'

func (*MockFilesInterface_Delete_Call) Return

func (*MockFilesInterface_Delete_Call) Run

func (*MockFilesInterface_Delete_Call) RunAndReturn

type MockFilesInterface_DownloadByFilePath_Call

type MockFilesInterface_DownloadByFilePath_Call struct {
	*mock.Call
}

MockFilesInterface_DownloadByFilePath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadByFilePath'

func (*MockFilesInterface_DownloadByFilePath_Call) Return

func (*MockFilesInterface_DownloadByFilePath_Call) Run

func (*MockFilesInterface_DownloadByFilePath_Call) RunAndReturn

type MockFilesInterface_Download_Call

type MockFilesInterface_Download_Call struct {
	*mock.Call
}

MockFilesInterface_Download_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Download'

func (*MockFilesInterface_Download_Call) Return

func (*MockFilesInterface_Download_Call) Run

func (*MockFilesInterface_Download_Call) RunAndReturn

type MockFilesInterface_Expecter

type MockFilesInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockFilesInterface_Expecter) CreateDirectory added in v0.31.0

CreateDirectory is a helper method to define mock.On call

  • ctx context.Context
  • request files.CreateDirectoryRequest

func (*MockFilesInterface_Expecter) Delete

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request files.DeleteFileRequest

func (*MockFilesInterface_Expecter) DeleteByFilePath

func (_e *MockFilesInterface_Expecter) DeleteByFilePath(ctx any, filePath any) *MockFilesInterface_DeleteByFilePath_Call

DeleteByFilePath is a helper method to define mock.On call

  • ctx context.Context
  • filePath string

func (*MockFilesInterface_Expecter) DeleteDirectory added in v0.31.0

DeleteDirectory is a helper method to define mock.On call

  • ctx context.Context
  • request files.DeleteDirectoryRequest

func (*MockFilesInterface_Expecter) DeleteDirectoryByDirectoryPath added in v0.31.0

func (_e *MockFilesInterface_Expecter) DeleteDirectoryByDirectoryPath(ctx any, directoryPath any) *MockFilesInterface_DeleteDirectoryByDirectoryPath_Call

DeleteDirectoryByDirectoryPath is a helper method to define mock.On call

  • ctx context.Context
  • directoryPath string

func (*MockFilesInterface_Expecter) Download

Download is a helper method to define mock.On call

  • ctx context.Context
  • request files.DownloadRequest

func (*MockFilesInterface_Expecter) DownloadByFilePath

func (_e *MockFilesInterface_Expecter) DownloadByFilePath(ctx any, filePath any) *MockFilesInterface_DownloadByFilePath_Call

DownloadByFilePath is a helper method to define mock.On call

  • ctx context.Context
  • filePath string

func (*MockFilesInterface_Expecter) GetDirectoryMetadata added in v0.32.0

func (_e *MockFilesInterface_Expecter) GetDirectoryMetadata(ctx any, request any) *MockFilesInterface_GetDirectoryMetadata_Call

GetDirectoryMetadata is a helper method to define mock.On call

  • ctx context.Context
  • request files.GetDirectoryMetadataRequest

func (*MockFilesInterface_Expecter) GetDirectoryMetadataByDirectoryPath added in v0.32.0

func (_e *MockFilesInterface_Expecter) GetDirectoryMetadataByDirectoryPath(ctx any, directoryPath any) *MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call

GetDirectoryMetadataByDirectoryPath is a helper method to define mock.On call

  • ctx context.Context
  • directoryPath string

func (*MockFilesInterface_Expecter) GetMetadata added in v0.32.0

GetMetadata is a helper method to define mock.On call

  • ctx context.Context
  • request files.GetMetadataRequest

func (*MockFilesInterface_Expecter) GetMetadataByFilePath added in v0.32.0

func (_e *MockFilesInterface_Expecter) GetMetadataByFilePath(ctx any, filePath any) *MockFilesInterface_GetMetadataByFilePath_Call

GetMetadataByFilePath is a helper method to define mock.On call

  • ctx context.Context
  • filePath string

func (*MockFilesInterface_Expecter) ListDirectoryContents added in v0.31.0

func (_e *MockFilesInterface_Expecter) ListDirectoryContents(ctx any, request any) *MockFilesInterface_ListDirectoryContents_Call

ListDirectoryContents is a helper method to define mock.On call

  • ctx context.Context
  • request files.ListDirectoryContentsRequest

func (*MockFilesInterface_Expecter) ListDirectoryContentsAll added in v0.31.0

func (_e *MockFilesInterface_Expecter) ListDirectoryContentsAll(ctx any, request any) *MockFilesInterface_ListDirectoryContentsAll_Call

ListDirectoryContentsAll is a helper method to define mock.On call

  • ctx context.Context
  • request files.ListDirectoryContentsRequest

func (*MockFilesInterface_Expecter) ListDirectoryContentsByDirectoryPath added in v0.31.0

func (_e *MockFilesInterface_Expecter) ListDirectoryContentsByDirectoryPath(ctx any, directoryPath any) *MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call

ListDirectoryContentsByDirectoryPath is a helper method to define mock.On call

  • ctx context.Context
  • directoryPath string

func (*MockFilesInterface_Expecter) Upload

Upload is a helper method to define mock.On call

  • ctx context.Context
  • request files.UploadRequest

type MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call added in v0.32.0

type MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call struct {
	*mock.Call
}

MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDirectoryMetadataByDirectoryPath'

func (*MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call) Return added in v0.32.0

func (*MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call) Run added in v0.32.0

func (*MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call) RunAndReturn added in v0.32.0

type MockFilesInterface_GetDirectoryMetadata_Call added in v0.32.0

type MockFilesInterface_GetDirectoryMetadata_Call struct {
	*mock.Call
}

MockFilesInterface_GetDirectoryMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDirectoryMetadata'

func (*MockFilesInterface_GetDirectoryMetadata_Call) Return added in v0.32.0

func (*MockFilesInterface_GetDirectoryMetadata_Call) Run added in v0.32.0

func (*MockFilesInterface_GetDirectoryMetadata_Call) RunAndReturn added in v0.32.0

type MockFilesInterface_GetMetadataByFilePath_Call added in v0.32.0

type MockFilesInterface_GetMetadataByFilePath_Call struct {
	*mock.Call
}

MockFilesInterface_GetMetadataByFilePath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMetadataByFilePath'

func (*MockFilesInterface_GetMetadataByFilePath_Call) Return added in v0.32.0

func (*MockFilesInterface_GetMetadataByFilePath_Call) Run added in v0.32.0

func (*MockFilesInterface_GetMetadataByFilePath_Call) RunAndReturn added in v0.32.0

type MockFilesInterface_GetMetadata_Call added in v0.32.0

type MockFilesInterface_GetMetadata_Call struct {
	*mock.Call
}

MockFilesInterface_GetMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMetadata'

func (*MockFilesInterface_GetMetadata_Call) Return added in v0.32.0

func (*MockFilesInterface_GetMetadata_Call) Run added in v0.32.0

func (*MockFilesInterface_GetMetadata_Call) RunAndReturn added in v0.32.0

type MockFilesInterface_ListDirectoryContentsAll_Call added in v0.31.0

type MockFilesInterface_ListDirectoryContentsAll_Call struct {
	*mock.Call
}

MockFilesInterface_ListDirectoryContentsAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDirectoryContentsAll'

func (*MockFilesInterface_ListDirectoryContentsAll_Call) Return added in v0.31.0

func (*MockFilesInterface_ListDirectoryContentsAll_Call) Run added in v0.31.0

func (*MockFilesInterface_ListDirectoryContentsAll_Call) RunAndReturn added in v0.31.0

type MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call added in v0.31.0

type MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call struct {
	*mock.Call
}

MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDirectoryContentsByDirectoryPath'

func (*MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call) Return added in v0.31.0

func (*MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call) Run added in v0.31.0

func (*MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call) RunAndReturn added in v0.31.0

type MockFilesInterface_ListDirectoryContents_Call added in v0.31.0

type MockFilesInterface_ListDirectoryContents_Call struct {
	*mock.Call
}

MockFilesInterface_ListDirectoryContents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDirectoryContents'

func (*MockFilesInterface_ListDirectoryContents_Call) Return added in v0.31.0

func (*MockFilesInterface_ListDirectoryContents_Call) Run added in v0.31.0

func (*MockFilesInterface_ListDirectoryContents_Call) RunAndReturn added in v0.31.0

type MockFilesInterface_Upload_Call

type MockFilesInterface_Upload_Call struct {
	*mock.Call
}

MockFilesInterface_Upload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Upload'

func (*MockFilesInterface_Upload_Call) Return

func (*MockFilesInterface_Upload_Call) Run

func (*MockFilesInterface_Upload_Call) RunAndReturn

Jump to

Keyboard shortcuts

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