Documentation
¶
Index ¶
- type MockDbfsInterface
- func (_mock *MockDbfsInterface) AddBlock(ctx context.Context, request files.AddBlock) error
- func (_mock *MockDbfsInterface) Close(ctx context.Context, request files.Close) error
- func (_mock *MockDbfsInterface) CloseByHandle(ctx context.Context, handle int64) error
- func (_mock *MockDbfsInterface) Create(ctx context.Context, request files.Create) (*files.CreateResponse, error)
- func (_mock *MockDbfsInterface) Delete(ctx context.Context, request files.Delete) error
- func (_m *MockDbfsInterface) EXPECT() *MockDbfsInterface_Expecter
- func (_mock *MockDbfsInterface) GetStatus(ctx context.Context, request files.GetStatusRequest) (*files.FileInfo, error)
- func (_mock *MockDbfsInterface) GetStatusByPath(ctx context.Context, path string) (*files.FileInfo, error)
- func (_mock *MockDbfsInterface) List(ctx context.Context, request files.ListDbfsRequest) listing.Iterator[files.FileInfo]
- func (_mock *MockDbfsInterface) ListAll(ctx context.Context, request files.ListDbfsRequest) ([]files.FileInfo, error)
- func (_mock *MockDbfsInterface) ListByPath(ctx context.Context, path string) (*files.ListStatusResponse, error)
- func (_mock *MockDbfsInterface) Mkdirs(ctx context.Context, request files.MkDirs) error
- func (_mock *MockDbfsInterface) MkdirsByPath(ctx context.Context, path string) error
- func (_mock *MockDbfsInterface) Move(ctx context.Context, request files.Move) error
- func (_mock *MockDbfsInterface) Open(ctx context.Context, path string, mode files.FileMode) (files.Handle, error)
- func (_mock *MockDbfsInterface) Put(ctx context.Context, request files.Put) error
- func (_mock *MockDbfsInterface) Read(ctx context.Context, request files.ReadDbfsRequest) (*files.ReadResponse, error)
- func (_mock *MockDbfsInterface) ReadFile(ctx context.Context, name string) ([]byte, error)
- func (_mock *MockDbfsInterface) RecursiveList(ctx context.Context, path string) ([]files.FileInfo, error)
- func (_mock *MockDbfsInterface) WriteFile(ctx context.Context, name string, data []byte) error
- type MockDbfsInterface_AddBlock_Call
- func (_c *MockDbfsInterface_AddBlock_Call) Return(err error) *MockDbfsInterface_AddBlock_Call
- func (_c *MockDbfsInterface_AddBlock_Call) Run(run func(ctx context.Context, request files.AddBlock)) *MockDbfsInterface_AddBlock_Call
- func (_c *MockDbfsInterface_AddBlock_Call) RunAndReturn(run func(ctx context.Context, request files.AddBlock) error) *MockDbfsInterface_AddBlock_Call
- type MockDbfsInterface_CloseByHandle_Call
- func (_c *MockDbfsInterface_CloseByHandle_Call) Return(err error) *MockDbfsInterface_CloseByHandle_Call
- func (_c *MockDbfsInterface_CloseByHandle_Call) Run(run func(ctx context.Context, handle int64)) *MockDbfsInterface_CloseByHandle_Call
- func (_c *MockDbfsInterface_CloseByHandle_Call) RunAndReturn(run func(ctx context.Context, handle int64) error) *MockDbfsInterface_CloseByHandle_Call
- type MockDbfsInterface_Close_Call
- func (_c *MockDbfsInterface_Close_Call) Return(err error) *MockDbfsInterface_Close_Call
- func (_c *MockDbfsInterface_Close_Call) Run(run func(ctx context.Context, request files.Close)) *MockDbfsInterface_Close_Call
- func (_c *MockDbfsInterface_Close_Call) RunAndReturn(run func(ctx context.Context, request files.Close) error) *MockDbfsInterface_Close_Call
- type MockDbfsInterface_Create_Call
- func (_c *MockDbfsInterface_Create_Call) Return(createResponse *files.CreateResponse, err error) *MockDbfsInterface_Create_Call
- func (_c *MockDbfsInterface_Create_Call) Run(run func(ctx context.Context, request files.Create)) *MockDbfsInterface_Create_Call
- func (_c *MockDbfsInterface_Create_Call) RunAndReturn(...) *MockDbfsInterface_Create_Call
- type MockDbfsInterface_Delete_Call
- func (_c *MockDbfsInterface_Delete_Call) Return(err error) *MockDbfsInterface_Delete_Call
- func (_c *MockDbfsInterface_Delete_Call) Run(run func(ctx context.Context, request files.Delete)) *MockDbfsInterface_Delete_Call
- func (_c *MockDbfsInterface_Delete_Call) RunAndReturn(run func(ctx context.Context, request files.Delete) error) *MockDbfsInterface_Delete_Call
- type MockDbfsInterface_Expecter
- func (_e *MockDbfsInterface_Expecter) AddBlock(ctx any, request any) *MockDbfsInterface_AddBlock_Call
- func (_e *MockDbfsInterface_Expecter) Close(ctx any, request any) *MockDbfsInterface_Close_Call
- func (_e *MockDbfsInterface_Expecter) CloseByHandle(ctx any, handle any) *MockDbfsInterface_CloseByHandle_Call
- func (_e *MockDbfsInterface_Expecter) Create(ctx any, request any) *MockDbfsInterface_Create_Call
- func (_e *MockDbfsInterface_Expecter) Delete(ctx any, request any) *MockDbfsInterface_Delete_Call
- func (_e *MockDbfsInterface_Expecter) GetStatus(ctx any, request any) *MockDbfsInterface_GetStatus_Call
- func (_e *MockDbfsInterface_Expecter) GetStatusByPath(ctx any, path any) *MockDbfsInterface_GetStatusByPath_Call
- func (_e *MockDbfsInterface_Expecter) List(ctx any, request any) *MockDbfsInterface_List_Call
- func (_e *MockDbfsInterface_Expecter) ListAll(ctx any, request any) *MockDbfsInterface_ListAll_Call
- func (_e *MockDbfsInterface_Expecter) ListByPath(ctx any, path any) *MockDbfsInterface_ListByPath_Call
- func (_e *MockDbfsInterface_Expecter) Mkdirs(ctx any, request any) *MockDbfsInterface_Mkdirs_Call
- func (_e *MockDbfsInterface_Expecter) MkdirsByPath(ctx any, path any) *MockDbfsInterface_MkdirsByPath_Call
- func (_e *MockDbfsInterface_Expecter) Move(ctx any, request any) *MockDbfsInterface_Move_Call
- func (_e *MockDbfsInterface_Expecter) Open(ctx any, path any, mode any) *MockDbfsInterface_Open_Call
- func (_e *MockDbfsInterface_Expecter) Put(ctx any, request any) *MockDbfsInterface_Put_Call
- func (_e *MockDbfsInterface_Expecter) Read(ctx any, request any) *MockDbfsInterface_Read_Call
- func (_e *MockDbfsInterface_Expecter) ReadFile(ctx any, name any) *MockDbfsInterface_ReadFile_Call
- func (_e *MockDbfsInterface_Expecter) RecursiveList(ctx any, path any) *MockDbfsInterface_RecursiveList_Call
- func (_e *MockDbfsInterface_Expecter) WriteFile(ctx any, name any, data any) *MockDbfsInterface_WriteFile_Call
- type MockDbfsInterface_GetStatusByPath_Call
- func (_c *MockDbfsInterface_GetStatusByPath_Call) Return(fileInfo *files.FileInfo, err error) *MockDbfsInterface_GetStatusByPath_Call
- func (_c *MockDbfsInterface_GetStatusByPath_Call) Run(run func(ctx context.Context, path string)) *MockDbfsInterface_GetStatusByPath_Call
- func (_c *MockDbfsInterface_GetStatusByPath_Call) RunAndReturn(run func(ctx context.Context, path string) (*files.FileInfo, error)) *MockDbfsInterface_GetStatusByPath_Call
- type MockDbfsInterface_GetStatus_Call
- func (_c *MockDbfsInterface_GetStatus_Call) Return(fileInfo *files.FileInfo, err error) *MockDbfsInterface_GetStatus_Call
- func (_c *MockDbfsInterface_GetStatus_Call) Run(run func(ctx context.Context, request files.GetStatusRequest)) *MockDbfsInterface_GetStatus_Call
- func (_c *MockDbfsInterface_GetStatus_Call) RunAndReturn(...) *MockDbfsInterface_GetStatus_Call
- type MockDbfsInterface_ListAll_Call
- func (_c *MockDbfsInterface_ListAll_Call) Return(fileInfos []files.FileInfo, err error) *MockDbfsInterface_ListAll_Call
- func (_c *MockDbfsInterface_ListAll_Call) Run(run func(ctx context.Context, request files.ListDbfsRequest)) *MockDbfsInterface_ListAll_Call
- func (_c *MockDbfsInterface_ListAll_Call) RunAndReturn(...) *MockDbfsInterface_ListAll_Call
- type MockDbfsInterface_ListByPath_Call
- func (_c *MockDbfsInterface_ListByPath_Call) Return(listStatusResponse *files.ListStatusResponse, err error) *MockDbfsInterface_ListByPath_Call
- func (_c *MockDbfsInterface_ListByPath_Call) Run(run func(ctx context.Context, path string)) *MockDbfsInterface_ListByPath_Call
- func (_c *MockDbfsInterface_ListByPath_Call) RunAndReturn(run func(ctx context.Context, path string) (*files.ListStatusResponse, error)) *MockDbfsInterface_ListByPath_Call
- type MockDbfsInterface_List_Call
- func (_c *MockDbfsInterface_List_Call) Return(iterator listing.Iterator[files.FileInfo]) *MockDbfsInterface_List_Call
- func (_c *MockDbfsInterface_List_Call) Run(run func(ctx context.Context, request files.ListDbfsRequest)) *MockDbfsInterface_List_Call
- func (_c *MockDbfsInterface_List_Call) RunAndReturn(...) *MockDbfsInterface_List_Call
- type MockDbfsInterface_MkdirsByPath_Call
- func (_c *MockDbfsInterface_MkdirsByPath_Call) Return(err error) *MockDbfsInterface_MkdirsByPath_Call
- func (_c *MockDbfsInterface_MkdirsByPath_Call) Run(run func(ctx context.Context, path string)) *MockDbfsInterface_MkdirsByPath_Call
- func (_c *MockDbfsInterface_MkdirsByPath_Call) RunAndReturn(run func(ctx context.Context, path string) error) *MockDbfsInterface_MkdirsByPath_Call
- type MockDbfsInterface_Mkdirs_Call
- func (_c *MockDbfsInterface_Mkdirs_Call) Return(err error) *MockDbfsInterface_Mkdirs_Call
- func (_c *MockDbfsInterface_Mkdirs_Call) Run(run func(ctx context.Context, request files.MkDirs)) *MockDbfsInterface_Mkdirs_Call
- func (_c *MockDbfsInterface_Mkdirs_Call) RunAndReturn(run func(ctx context.Context, request files.MkDirs) error) *MockDbfsInterface_Mkdirs_Call
- type MockDbfsInterface_Move_Call
- func (_c *MockDbfsInterface_Move_Call) Return(err error) *MockDbfsInterface_Move_Call
- func (_c *MockDbfsInterface_Move_Call) Run(run func(ctx context.Context, request files.Move)) *MockDbfsInterface_Move_Call
- func (_c *MockDbfsInterface_Move_Call) RunAndReturn(run func(ctx context.Context, request files.Move) error) *MockDbfsInterface_Move_Call
- type MockDbfsInterface_Open_Call
- func (_c *MockDbfsInterface_Open_Call) Return(handle files.Handle, err error) *MockDbfsInterface_Open_Call
- func (_c *MockDbfsInterface_Open_Call) Run(run func(ctx context.Context, path string, mode files.FileMode)) *MockDbfsInterface_Open_Call
- func (_c *MockDbfsInterface_Open_Call) RunAndReturn(...) *MockDbfsInterface_Open_Call
- type MockDbfsInterface_Put_Call
- func (_c *MockDbfsInterface_Put_Call) Return(err error) *MockDbfsInterface_Put_Call
- func (_c *MockDbfsInterface_Put_Call) Run(run func(ctx context.Context, request files.Put)) *MockDbfsInterface_Put_Call
- func (_c *MockDbfsInterface_Put_Call) RunAndReturn(run func(ctx context.Context, request files.Put) error) *MockDbfsInterface_Put_Call
- type MockDbfsInterface_ReadFile_Call
- func (_c *MockDbfsInterface_ReadFile_Call) Return(bytes []byte, err error) *MockDbfsInterface_ReadFile_Call
- func (_c *MockDbfsInterface_ReadFile_Call) Run(run func(ctx context.Context, name string)) *MockDbfsInterface_ReadFile_Call
- func (_c *MockDbfsInterface_ReadFile_Call) RunAndReturn(run func(ctx context.Context, name string) ([]byte, error)) *MockDbfsInterface_ReadFile_Call
- type MockDbfsInterface_Read_Call
- func (_c *MockDbfsInterface_Read_Call) Return(readResponse *files.ReadResponse, err error) *MockDbfsInterface_Read_Call
- func (_c *MockDbfsInterface_Read_Call) Run(run func(ctx context.Context, request files.ReadDbfsRequest)) *MockDbfsInterface_Read_Call
- func (_c *MockDbfsInterface_Read_Call) RunAndReturn(...) *MockDbfsInterface_Read_Call
- type MockDbfsInterface_RecursiveList_Call
- func (_c *MockDbfsInterface_RecursiveList_Call) Return(fileInfos []files.FileInfo, err error) *MockDbfsInterface_RecursiveList_Call
- func (_c *MockDbfsInterface_RecursiveList_Call) Run(run func(ctx context.Context, path string)) *MockDbfsInterface_RecursiveList_Call
- func (_c *MockDbfsInterface_RecursiveList_Call) RunAndReturn(run func(ctx context.Context, path string) ([]files.FileInfo, error)) *MockDbfsInterface_RecursiveList_Call
- type MockDbfsInterface_WriteFile_Call
- func (_c *MockDbfsInterface_WriteFile_Call) Return(err error) *MockDbfsInterface_WriteFile_Call
- func (_c *MockDbfsInterface_WriteFile_Call) Run(run func(ctx context.Context, name string, data []byte)) *MockDbfsInterface_WriteFile_Call
- func (_c *MockDbfsInterface_WriteFile_Call) RunAndReturn(run func(ctx context.Context, name string, data []byte) error) *MockDbfsInterface_WriteFile_Call
- type MockFilesInterface
- func (_mock *MockFilesInterface) CreateDirectory(ctx context.Context, request files.CreateDirectoryRequest) error
- func (_mock *MockFilesInterface) Delete(ctx context.Context, request files.DeleteFileRequest) error
- func (_mock *MockFilesInterface) DeleteByFilePath(ctx context.Context, filePath string) error
- func (_mock *MockFilesInterface) DeleteDirectory(ctx context.Context, request files.DeleteDirectoryRequest) error
- func (_mock *MockFilesInterface) DeleteDirectoryByDirectoryPath(ctx context.Context, directoryPath string) error
- func (_mock *MockFilesInterface) Download(ctx context.Context, request files.DownloadRequest) (*files.DownloadResponse, error)
- func (_mock *MockFilesInterface) DownloadByFilePath(ctx context.Context, filePath string) (*files.DownloadResponse, error)
- func (_m *MockFilesInterface) EXPECT() *MockFilesInterface_Expecter
- func (_mock *MockFilesInterface) GetDirectoryMetadata(ctx context.Context, request files.GetDirectoryMetadataRequest) error
- func (_mock *MockFilesInterface) GetDirectoryMetadataByDirectoryPath(ctx context.Context, directoryPath string) error
- func (_mock *MockFilesInterface) GetMetadata(ctx context.Context, request files.GetMetadataRequest) (*files.GetMetadataResponse, error)
- func (_mock *MockFilesInterface) GetMetadataByFilePath(ctx context.Context, filePath string) (*files.GetMetadataResponse, error)
- func (_mock *MockFilesInterface) ListDirectoryContents(ctx context.Context, request files.ListDirectoryContentsRequest) listing.Iterator[files.DirectoryEntry]
- func (_mock *MockFilesInterface) ListDirectoryContentsAll(ctx context.Context, request files.ListDirectoryContentsRequest) ([]files.DirectoryEntry, error)
- func (_mock *MockFilesInterface) ListDirectoryContentsByDirectoryPath(ctx context.Context, directoryPath string) (*files.ListDirectoryResponse, error)
- func (_mock *MockFilesInterface) Upload(ctx context.Context, request files.UploadRequest) error
- type MockFilesInterface_CreateDirectory_Call
- func (_c *MockFilesInterface_CreateDirectory_Call) Return(err error) *MockFilesInterface_CreateDirectory_Call
- func (_c *MockFilesInterface_CreateDirectory_Call) Run(run func(ctx context.Context, request files.CreateDirectoryRequest)) *MockFilesInterface_CreateDirectory_Call
- func (_c *MockFilesInterface_CreateDirectory_Call) RunAndReturn(run func(ctx context.Context, request files.CreateDirectoryRequest) error) *MockFilesInterface_CreateDirectory_Call
- type MockFilesInterface_DeleteByFilePath_Call
- func (_c *MockFilesInterface_DeleteByFilePath_Call) Return(err error) *MockFilesInterface_DeleteByFilePath_Call
- func (_c *MockFilesInterface_DeleteByFilePath_Call) Run(run func(ctx context.Context, filePath string)) *MockFilesInterface_DeleteByFilePath_Call
- func (_c *MockFilesInterface_DeleteByFilePath_Call) RunAndReturn(run func(ctx context.Context, filePath string) error) *MockFilesInterface_DeleteByFilePath_Call
- type MockFilesInterface_DeleteDirectoryByDirectoryPath_Call
- func (_c *MockFilesInterface_DeleteDirectoryByDirectoryPath_Call) Return(err error) *MockFilesInterface_DeleteDirectoryByDirectoryPath_Call
- func (_c *MockFilesInterface_DeleteDirectoryByDirectoryPath_Call) Run(run func(ctx context.Context, directoryPath string)) *MockFilesInterface_DeleteDirectoryByDirectoryPath_Call
- func (_c *MockFilesInterface_DeleteDirectoryByDirectoryPath_Call) RunAndReturn(run func(ctx context.Context, directoryPath string) error) *MockFilesInterface_DeleteDirectoryByDirectoryPath_Call
- type MockFilesInterface_DeleteDirectory_Call
- func (_c *MockFilesInterface_DeleteDirectory_Call) Return(err error) *MockFilesInterface_DeleteDirectory_Call
- func (_c *MockFilesInterface_DeleteDirectory_Call) Run(run func(ctx context.Context, request files.DeleteDirectoryRequest)) *MockFilesInterface_DeleteDirectory_Call
- func (_c *MockFilesInterface_DeleteDirectory_Call) RunAndReturn(run func(ctx context.Context, request files.DeleteDirectoryRequest) error) *MockFilesInterface_DeleteDirectory_Call
- type MockFilesInterface_Delete_Call
- func (_c *MockFilesInterface_Delete_Call) Return(err error) *MockFilesInterface_Delete_Call
- func (_c *MockFilesInterface_Delete_Call) Run(run func(ctx context.Context, request files.DeleteFileRequest)) *MockFilesInterface_Delete_Call
- func (_c *MockFilesInterface_Delete_Call) RunAndReturn(run func(ctx context.Context, request files.DeleteFileRequest) error) *MockFilesInterface_Delete_Call
- type MockFilesInterface_DownloadByFilePath_Call
- func (_c *MockFilesInterface_DownloadByFilePath_Call) Return(downloadResponse *files.DownloadResponse, err error) *MockFilesInterface_DownloadByFilePath_Call
- func (_c *MockFilesInterface_DownloadByFilePath_Call) Run(run func(ctx context.Context, filePath string)) *MockFilesInterface_DownloadByFilePath_Call
- func (_c *MockFilesInterface_DownloadByFilePath_Call) RunAndReturn(...) *MockFilesInterface_DownloadByFilePath_Call
- type MockFilesInterface_Download_Call
- func (_c *MockFilesInterface_Download_Call) Return(downloadResponse *files.DownloadResponse, err error) *MockFilesInterface_Download_Call
- func (_c *MockFilesInterface_Download_Call) Run(run func(ctx context.Context, request files.DownloadRequest)) *MockFilesInterface_Download_Call
- func (_c *MockFilesInterface_Download_Call) RunAndReturn(...) *MockFilesInterface_Download_Call
- type MockFilesInterface_Expecter
- func (_e *MockFilesInterface_Expecter) CreateDirectory(ctx any, request any) *MockFilesInterface_CreateDirectory_Call
- func (_e *MockFilesInterface_Expecter) Delete(ctx any, request any) *MockFilesInterface_Delete_Call
- func (_e *MockFilesInterface_Expecter) DeleteByFilePath(ctx any, filePath any) *MockFilesInterface_DeleteByFilePath_Call
- func (_e *MockFilesInterface_Expecter) DeleteDirectory(ctx any, request any) *MockFilesInterface_DeleteDirectory_Call
- func (_e *MockFilesInterface_Expecter) DeleteDirectoryByDirectoryPath(ctx any, directoryPath any) *MockFilesInterface_DeleteDirectoryByDirectoryPath_Call
- func (_e *MockFilesInterface_Expecter) Download(ctx any, request any) *MockFilesInterface_Download_Call
- func (_e *MockFilesInterface_Expecter) DownloadByFilePath(ctx any, filePath any) *MockFilesInterface_DownloadByFilePath_Call
- func (_e *MockFilesInterface_Expecter) GetDirectoryMetadata(ctx any, request any) *MockFilesInterface_GetDirectoryMetadata_Call
- func (_e *MockFilesInterface_Expecter) GetDirectoryMetadataByDirectoryPath(ctx any, directoryPath any) *MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call
- func (_e *MockFilesInterface_Expecter) GetMetadata(ctx any, request any) *MockFilesInterface_GetMetadata_Call
- func (_e *MockFilesInterface_Expecter) GetMetadataByFilePath(ctx any, filePath any) *MockFilesInterface_GetMetadataByFilePath_Call
- func (_e *MockFilesInterface_Expecter) ListDirectoryContents(ctx any, request any) *MockFilesInterface_ListDirectoryContents_Call
- func (_e *MockFilesInterface_Expecter) ListDirectoryContentsAll(ctx any, request any) *MockFilesInterface_ListDirectoryContentsAll_Call
- func (_e *MockFilesInterface_Expecter) ListDirectoryContentsByDirectoryPath(ctx any, directoryPath any) *MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call
- func (_e *MockFilesInterface_Expecter) Upload(ctx any, request any) *MockFilesInterface_Upload_Call
- type MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call
- func (_c *MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call) Return(err error) *MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call
- func (_c *MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call) Run(run func(ctx context.Context, directoryPath string)) *MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call
- func (_c *MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call) RunAndReturn(run func(ctx context.Context, directoryPath string) error) *MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call
- type MockFilesInterface_GetDirectoryMetadata_Call
- func (_c *MockFilesInterface_GetDirectoryMetadata_Call) Return(err error) *MockFilesInterface_GetDirectoryMetadata_Call
- func (_c *MockFilesInterface_GetDirectoryMetadata_Call) Run(run func(ctx context.Context, request files.GetDirectoryMetadataRequest)) *MockFilesInterface_GetDirectoryMetadata_Call
- func (_c *MockFilesInterface_GetDirectoryMetadata_Call) RunAndReturn(run func(ctx context.Context, request files.GetDirectoryMetadataRequest) error) *MockFilesInterface_GetDirectoryMetadata_Call
- type MockFilesInterface_GetMetadataByFilePath_Call
- func (_c *MockFilesInterface_GetMetadataByFilePath_Call) Return(getMetadataResponse *files.GetMetadataResponse, err error) *MockFilesInterface_GetMetadataByFilePath_Call
- func (_c *MockFilesInterface_GetMetadataByFilePath_Call) Run(run func(ctx context.Context, filePath string)) *MockFilesInterface_GetMetadataByFilePath_Call
- func (_c *MockFilesInterface_GetMetadataByFilePath_Call) RunAndReturn(...) *MockFilesInterface_GetMetadataByFilePath_Call
- type MockFilesInterface_GetMetadata_Call
- func (_c *MockFilesInterface_GetMetadata_Call) Return(getMetadataResponse *files.GetMetadataResponse, err error) *MockFilesInterface_GetMetadata_Call
- func (_c *MockFilesInterface_GetMetadata_Call) Run(run func(ctx context.Context, request files.GetMetadataRequest)) *MockFilesInterface_GetMetadata_Call
- func (_c *MockFilesInterface_GetMetadata_Call) RunAndReturn(...) *MockFilesInterface_GetMetadata_Call
- type MockFilesInterface_ListDirectoryContentsAll_Call
- func (_c *MockFilesInterface_ListDirectoryContentsAll_Call) Return(directoryEntrys []files.DirectoryEntry, err error) *MockFilesInterface_ListDirectoryContentsAll_Call
- func (_c *MockFilesInterface_ListDirectoryContentsAll_Call) Run(run func(ctx context.Context, request files.ListDirectoryContentsRequest)) *MockFilesInterface_ListDirectoryContentsAll_Call
- func (_c *MockFilesInterface_ListDirectoryContentsAll_Call) RunAndReturn(...) *MockFilesInterface_ListDirectoryContentsAll_Call
- type MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call
- func (_c *MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call) Return(listDirectoryResponse *files.ListDirectoryResponse, err error) *MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call
- func (_c *MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call) Run(run func(ctx context.Context, directoryPath string)) *MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call
- func (_c *MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call) RunAndReturn(...) *MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call
- type MockFilesInterface_ListDirectoryContents_Call
- func (_c *MockFilesInterface_ListDirectoryContents_Call) Return(iterator listing.Iterator[files.DirectoryEntry]) *MockFilesInterface_ListDirectoryContents_Call
- func (_c *MockFilesInterface_ListDirectoryContents_Call) Run(run func(ctx context.Context, request files.ListDirectoryContentsRequest)) *MockFilesInterface_ListDirectoryContents_Call
- func (_c *MockFilesInterface_ListDirectoryContents_Call) RunAndReturn(...) *MockFilesInterface_ListDirectoryContents_Call
- type MockFilesInterface_Upload_Call
- func (_c *MockFilesInterface_Upload_Call) Return(err error) *MockFilesInterface_Upload_Call
- func (_c *MockFilesInterface_Upload_Call) Run(run func(ctx context.Context, request files.UploadRequest)) *MockFilesInterface_Upload_Call
- func (_c *MockFilesInterface_Upload_Call) RunAndReturn(run func(ctx context.Context, request files.UploadRequest) error) *MockFilesInterface_Upload_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDbfsInterface ¶
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 ¶
AddBlock 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) EXPECT ¶
func (_m *MockDbfsInterface) EXPECT() *MockDbfsInterface_Expecter
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 ¶
func (_mock *MockDbfsInterface) List(ctx context.Context, request files.ListDbfsRequest) listing.Iterator[files.FileInfo]
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) MkdirsByPath ¶
func (_mock *MockDbfsInterface) MkdirsByPath(ctx context.Context, path string) error
MkdirsByPath 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) Read ¶
func (_mock *MockDbfsInterface) Read(ctx context.Context, request files.ReadDbfsRequest) (*files.ReadResponse, error)
Read provides a mock function for the type MockDbfsInterface
func (*MockDbfsInterface) ReadFile ¶
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
type MockDbfsInterface_AddBlock_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 (_c *MockDbfsInterface_AddBlock_Call) Return(err error) *MockDbfsInterface_AddBlock_Call
func (*MockDbfsInterface_AddBlock_Call) Run ¶
func (_c *MockDbfsInterface_AddBlock_Call) Run(run func(ctx context.Context, request files.AddBlock)) *MockDbfsInterface_AddBlock_Call
func (*MockDbfsInterface_AddBlock_Call) RunAndReturn ¶
func (_c *MockDbfsInterface_AddBlock_Call) RunAndReturn(run func(ctx context.Context, request files.AddBlock) error) *MockDbfsInterface_AddBlock_Call
type MockDbfsInterface_CloseByHandle_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 (_c *MockDbfsInterface_CloseByHandle_Call) Return(err error) *MockDbfsInterface_CloseByHandle_Call
func (*MockDbfsInterface_CloseByHandle_Call) Run ¶
func (_c *MockDbfsInterface_CloseByHandle_Call) Run(run func(ctx context.Context, handle int64)) *MockDbfsInterface_CloseByHandle_Call
func (*MockDbfsInterface_CloseByHandle_Call) RunAndReturn ¶
func (_c *MockDbfsInterface_CloseByHandle_Call) RunAndReturn(run func(ctx context.Context, handle int64) error) *MockDbfsInterface_CloseByHandle_Call
type MockDbfsInterface_Close_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 (_c *MockDbfsInterface_Close_Call) Return(err error) *MockDbfsInterface_Close_Call
func (*MockDbfsInterface_Close_Call) Run ¶
func (_c *MockDbfsInterface_Close_Call) Run(run func(ctx context.Context, request files.Close)) *MockDbfsInterface_Close_Call
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 ¶
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 (_c *MockDbfsInterface_Create_Call) Return(createResponse *files.CreateResponse, err error) *MockDbfsInterface_Create_Call
func (*MockDbfsInterface_Create_Call) Run ¶
func (_c *MockDbfsInterface_Create_Call) Run(run func(ctx context.Context, request files.Create)) *MockDbfsInterface_Create_Call
func (*MockDbfsInterface_Create_Call) RunAndReturn ¶
func (_c *MockDbfsInterface_Create_Call) RunAndReturn(run func(ctx context.Context, request files.Create) (*files.CreateResponse, error)) *MockDbfsInterface_Create_Call
type MockDbfsInterface_Delete_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 (_c *MockDbfsInterface_Delete_Call) Return(err error) *MockDbfsInterface_Delete_Call
func (*MockDbfsInterface_Delete_Call) Run ¶
func (_c *MockDbfsInterface_Delete_Call) Run(run func(ctx context.Context, request files.Delete)) *MockDbfsInterface_Delete_Call
func (*MockDbfsInterface_Delete_Call) RunAndReturn ¶
func (_c *MockDbfsInterface_Delete_Call) RunAndReturn(run func(ctx context.Context, request files.Delete) error) *MockDbfsInterface_Delete_Call
type MockDbfsInterface_Expecter ¶
type MockDbfsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockDbfsInterface_Expecter) AddBlock ¶
func (_e *MockDbfsInterface_Expecter) AddBlock(ctx any, request any) *MockDbfsInterface_AddBlock_Call
AddBlock is a helper method to define mock.On call
- ctx context.Context
- request files.AddBlock
func (*MockDbfsInterface_Expecter) Close ¶
func (_e *MockDbfsInterface_Expecter) Close(ctx any, request any) *MockDbfsInterface_Close_Call
Close is a helper method to define mock.On call
- ctx context.Context
- request files.Close
func (*MockDbfsInterface_Expecter) CloseByHandle ¶
func (_e *MockDbfsInterface_Expecter) CloseByHandle(ctx any, handle any) *MockDbfsInterface_CloseByHandle_Call
CloseByHandle is a helper method to define mock.On call
- ctx context.Context
- handle int64
func (*MockDbfsInterface_Expecter) Create ¶
func (_e *MockDbfsInterface_Expecter) Create(ctx any, request any) *MockDbfsInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request files.Create
func (*MockDbfsInterface_Expecter) Delete ¶
func (_e *MockDbfsInterface_Expecter) Delete(ctx any, request any) *MockDbfsInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request files.Delete
func (*MockDbfsInterface_Expecter) GetStatus ¶
func (_e *MockDbfsInterface_Expecter) GetStatus(ctx any, request any) *MockDbfsInterface_GetStatus_Call
GetStatus is a helper method to define mock.On call
- ctx context.Context
- request files.GetStatusRequest
func (*MockDbfsInterface_Expecter) GetStatusByPath ¶
func (_e *MockDbfsInterface_Expecter) GetStatusByPath(ctx any, path any) *MockDbfsInterface_GetStatusByPath_Call
GetStatusByPath is a helper method to define mock.On call
- ctx context.Context
- path string
func (*MockDbfsInterface_Expecter) List ¶
func (_e *MockDbfsInterface_Expecter) List(ctx any, request any) *MockDbfsInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- request files.ListDbfsRequest
func (*MockDbfsInterface_Expecter) ListAll ¶
func (_e *MockDbfsInterface_Expecter) ListAll(ctx any, request any) *MockDbfsInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
- request files.ListDbfsRequest
func (*MockDbfsInterface_Expecter) ListByPath ¶
func (_e *MockDbfsInterface_Expecter) ListByPath(ctx any, path any) *MockDbfsInterface_ListByPath_Call
ListByPath is a helper method to define mock.On call
- ctx context.Context
- path string
func (*MockDbfsInterface_Expecter) Mkdirs ¶
func (_e *MockDbfsInterface_Expecter) Mkdirs(ctx any, request any) *MockDbfsInterface_Mkdirs_Call
Mkdirs is a helper method to define mock.On call
- ctx context.Context
- request files.MkDirs
func (*MockDbfsInterface_Expecter) MkdirsByPath ¶
func (_e *MockDbfsInterface_Expecter) MkdirsByPath(ctx any, path any) *MockDbfsInterface_MkdirsByPath_Call
MkdirsByPath is a helper method to define mock.On call
- ctx context.Context
- path string
func (*MockDbfsInterface_Expecter) Move ¶
func (_e *MockDbfsInterface_Expecter) Move(ctx any, request any) *MockDbfsInterface_Move_Call
Move is a helper method to define mock.On call
- ctx context.Context
- request files.Move
func (*MockDbfsInterface_Expecter) Open ¶
func (_e *MockDbfsInterface_Expecter) Open(ctx any, path any, mode any) *MockDbfsInterface_Open_Call
Open is a helper method to define mock.On call
- ctx context.Context
- path string
- mode files.FileMode
func (*MockDbfsInterface_Expecter) Put ¶
func (_e *MockDbfsInterface_Expecter) Put(ctx any, request any) *MockDbfsInterface_Put_Call
Put is a helper method to define mock.On call
- ctx context.Context
- request files.Put
func (*MockDbfsInterface_Expecter) Read ¶
func (_e *MockDbfsInterface_Expecter) Read(ctx any, request any) *MockDbfsInterface_Read_Call
Read is a helper method to define mock.On call
- ctx context.Context
- request files.ReadDbfsRequest
func (*MockDbfsInterface_Expecter) ReadFile ¶
func (_e *MockDbfsInterface_Expecter) ReadFile(ctx any, name any) *MockDbfsInterface_ReadFile_Call
ReadFile is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockDbfsInterface_Expecter) RecursiveList ¶
func (_e *MockDbfsInterface_Expecter) RecursiveList(ctx any, path any) *MockDbfsInterface_RecursiveList_Call
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 ¶
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 (_c *MockDbfsInterface_GetStatusByPath_Call) Return(fileInfo *files.FileInfo, err error) *MockDbfsInterface_GetStatusByPath_Call
func (*MockDbfsInterface_GetStatusByPath_Call) Run ¶
func (_c *MockDbfsInterface_GetStatusByPath_Call) Run(run func(ctx context.Context, path string)) *MockDbfsInterface_GetStatusByPath_Call
func (*MockDbfsInterface_GetStatusByPath_Call) RunAndReturn ¶
func (_c *MockDbfsInterface_GetStatusByPath_Call) RunAndReturn(run func(ctx context.Context, path string) (*files.FileInfo, error)) *MockDbfsInterface_GetStatusByPath_Call
type MockDbfsInterface_GetStatus_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 (_c *MockDbfsInterface_GetStatus_Call) Return(fileInfo *files.FileInfo, err error) *MockDbfsInterface_GetStatus_Call
func (*MockDbfsInterface_GetStatus_Call) Run ¶
func (_c *MockDbfsInterface_GetStatus_Call) Run(run func(ctx context.Context, request files.GetStatusRequest)) *MockDbfsInterface_GetStatus_Call
func (*MockDbfsInterface_GetStatus_Call) RunAndReturn ¶
func (_c *MockDbfsInterface_GetStatus_Call) RunAndReturn(run func(ctx context.Context, request files.GetStatusRequest) (*files.FileInfo, error)) *MockDbfsInterface_GetStatus_Call
type MockDbfsInterface_ListAll_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 (_c *MockDbfsInterface_ListAll_Call) Return(fileInfos []files.FileInfo, err error) *MockDbfsInterface_ListAll_Call
func (*MockDbfsInterface_ListAll_Call) Run ¶
func (_c *MockDbfsInterface_ListAll_Call) Run(run func(ctx context.Context, request files.ListDbfsRequest)) *MockDbfsInterface_ListAll_Call
func (*MockDbfsInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockDbfsInterface_ListAll_Call) RunAndReturn(run func(ctx context.Context, request files.ListDbfsRequest) ([]files.FileInfo, error)) *MockDbfsInterface_ListAll_Call
type MockDbfsInterface_ListByPath_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 (_c *MockDbfsInterface_ListByPath_Call) Return(listStatusResponse *files.ListStatusResponse, err error) *MockDbfsInterface_ListByPath_Call
func (*MockDbfsInterface_ListByPath_Call) Run ¶
func (_c *MockDbfsInterface_ListByPath_Call) Run(run func(ctx context.Context, path string)) *MockDbfsInterface_ListByPath_Call
func (*MockDbfsInterface_ListByPath_Call) RunAndReturn ¶
func (_c *MockDbfsInterface_ListByPath_Call) RunAndReturn(run func(ctx context.Context, path string) (*files.ListStatusResponse, error)) *MockDbfsInterface_ListByPath_Call
type MockDbfsInterface_List_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 (_c *MockDbfsInterface_List_Call) Return(iterator listing.Iterator[files.FileInfo]) *MockDbfsInterface_List_Call
func (*MockDbfsInterface_List_Call) Run ¶
func (_c *MockDbfsInterface_List_Call) Run(run func(ctx context.Context, request files.ListDbfsRequest)) *MockDbfsInterface_List_Call
func (*MockDbfsInterface_List_Call) RunAndReturn ¶
func (_c *MockDbfsInterface_List_Call) RunAndReturn(run func(ctx context.Context, request files.ListDbfsRequest) listing.Iterator[files.FileInfo]) *MockDbfsInterface_List_Call
type MockDbfsInterface_MkdirsByPath_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 (_c *MockDbfsInterface_MkdirsByPath_Call) Return(err error) *MockDbfsInterface_MkdirsByPath_Call
func (*MockDbfsInterface_MkdirsByPath_Call) Run ¶
func (_c *MockDbfsInterface_MkdirsByPath_Call) Run(run func(ctx context.Context, path string)) *MockDbfsInterface_MkdirsByPath_Call
func (*MockDbfsInterface_MkdirsByPath_Call) RunAndReturn ¶
func (_c *MockDbfsInterface_MkdirsByPath_Call) RunAndReturn(run func(ctx context.Context, path string) error) *MockDbfsInterface_MkdirsByPath_Call
type MockDbfsInterface_Mkdirs_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 (_c *MockDbfsInterface_Mkdirs_Call) Return(err error) *MockDbfsInterface_Mkdirs_Call
func (*MockDbfsInterface_Mkdirs_Call) Run ¶
func (_c *MockDbfsInterface_Mkdirs_Call) Run(run func(ctx context.Context, request files.MkDirs)) *MockDbfsInterface_Mkdirs_Call
func (*MockDbfsInterface_Mkdirs_Call) RunAndReturn ¶
func (_c *MockDbfsInterface_Mkdirs_Call) RunAndReturn(run func(ctx context.Context, request files.MkDirs) error) *MockDbfsInterface_Mkdirs_Call
type MockDbfsInterface_Move_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 (_c *MockDbfsInterface_Move_Call) Return(err error) *MockDbfsInterface_Move_Call
func (*MockDbfsInterface_Move_Call) Run ¶
func (_c *MockDbfsInterface_Move_Call) Run(run func(ctx context.Context, request files.Move)) *MockDbfsInterface_Move_Call
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 ¶
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 (_c *MockDbfsInterface_Open_Call) Return(handle files.Handle, err error) *MockDbfsInterface_Open_Call
func (*MockDbfsInterface_Open_Call) Run ¶
func (_c *MockDbfsInterface_Open_Call) Run(run func(ctx context.Context, path string, mode files.FileMode)) *MockDbfsInterface_Open_Call
func (*MockDbfsInterface_Open_Call) RunAndReturn ¶
func (_c *MockDbfsInterface_Open_Call) RunAndReturn(run func(ctx context.Context, path string, mode files.FileMode) (files.Handle, error)) *MockDbfsInterface_Open_Call
type MockDbfsInterface_Put_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 (_c *MockDbfsInterface_Put_Call) Return(err error) *MockDbfsInterface_Put_Call
func (*MockDbfsInterface_Put_Call) Run ¶
func (_c *MockDbfsInterface_Put_Call) Run(run func(ctx context.Context, request files.Put)) *MockDbfsInterface_Put_Call
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 ¶
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 (_c *MockDbfsInterface_ReadFile_Call) Return(bytes []byte, err error) *MockDbfsInterface_ReadFile_Call
func (*MockDbfsInterface_ReadFile_Call) Run ¶
func (_c *MockDbfsInterface_ReadFile_Call) Run(run func(ctx context.Context, name string)) *MockDbfsInterface_ReadFile_Call
func (*MockDbfsInterface_ReadFile_Call) RunAndReturn ¶
func (_c *MockDbfsInterface_ReadFile_Call) RunAndReturn(run func(ctx context.Context, name string) ([]byte, error)) *MockDbfsInterface_ReadFile_Call
type MockDbfsInterface_Read_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 (_c *MockDbfsInterface_Read_Call) Return(readResponse *files.ReadResponse, err error) *MockDbfsInterface_Read_Call
func (*MockDbfsInterface_Read_Call) Run ¶
func (_c *MockDbfsInterface_Read_Call) Run(run func(ctx context.Context, request files.ReadDbfsRequest)) *MockDbfsInterface_Read_Call
func (*MockDbfsInterface_Read_Call) RunAndReturn ¶
func (_c *MockDbfsInterface_Read_Call) RunAndReturn(run func(ctx context.Context, request files.ReadDbfsRequest) (*files.ReadResponse, error)) *MockDbfsInterface_Read_Call
type MockDbfsInterface_RecursiveList_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 (_c *MockDbfsInterface_RecursiveList_Call) Return(fileInfos []files.FileInfo, err error) *MockDbfsInterface_RecursiveList_Call
func (*MockDbfsInterface_RecursiveList_Call) Run ¶
func (_c *MockDbfsInterface_RecursiveList_Call) Run(run func(ctx context.Context, path string)) *MockDbfsInterface_RecursiveList_Call
func (*MockDbfsInterface_RecursiveList_Call) RunAndReturn ¶
func (_c *MockDbfsInterface_RecursiveList_Call) RunAndReturn(run func(ctx context.Context, path string) ([]files.FileInfo, error)) *MockDbfsInterface_RecursiveList_Call
type MockDbfsInterface_WriteFile_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 (_c *MockDbfsInterface_WriteFile_Call) Return(err error) *MockDbfsInterface_WriteFile_Call
func (*MockDbfsInterface_WriteFile_Call) Run ¶
func (_c *MockDbfsInterface_WriteFile_Call) Run(run func(ctx context.Context, name string, data []byte)) *MockDbfsInterface_WriteFile_Call
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 ¶
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 ¶
func (_mock *MockFilesInterface) Download(ctx context.Context, request files.DownloadRequest) (*files.DownloadResponse, error)
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 (_m *MockFilesInterface) EXPECT() *MockFilesInterface_Expecter
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
func (_mock *MockFilesInterface) GetMetadata(ctx context.Context, request files.GetMetadataRequest) (*files.GetMetadataResponse, error)
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
func (_mock *MockFilesInterface) ListDirectoryContents(ctx context.Context, request files.ListDirectoryContentsRequest) listing.Iterator[files.DirectoryEntry]
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
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 (_c *MockFilesInterface_CreateDirectory_Call) Return(err error) *MockFilesInterface_CreateDirectory_Call
func (*MockFilesInterface_CreateDirectory_Call) Run ¶ added in v0.31.0
func (_c *MockFilesInterface_CreateDirectory_Call) Run(run func(ctx context.Context, request files.CreateDirectoryRequest)) *MockFilesInterface_CreateDirectory_Call
func (*MockFilesInterface_CreateDirectory_Call) RunAndReturn ¶ added in v0.31.0
func (_c *MockFilesInterface_CreateDirectory_Call) RunAndReturn(run func(ctx context.Context, request files.CreateDirectoryRequest) error) *MockFilesInterface_CreateDirectory_Call
type MockFilesInterface_DeleteByFilePath_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 (_c *MockFilesInterface_DeleteByFilePath_Call) Return(err error) *MockFilesInterface_DeleteByFilePath_Call
func (*MockFilesInterface_DeleteByFilePath_Call) Run ¶
func (_c *MockFilesInterface_DeleteByFilePath_Call) Run(run func(ctx context.Context, filePath string)) *MockFilesInterface_DeleteByFilePath_Call
func (*MockFilesInterface_DeleteByFilePath_Call) RunAndReturn ¶
func (_c *MockFilesInterface_DeleteByFilePath_Call) RunAndReturn(run func(ctx context.Context, filePath string) error) *MockFilesInterface_DeleteByFilePath_Call
type MockFilesInterface_DeleteDirectoryByDirectoryPath_Call ¶ added in v0.31.0
MockFilesInterface_DeleteDirectoryByDirectoryPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDirectoryByDirectoryPath'
func (*MockFilesInterface_DeleteDirectoryByDirectoryPath_Call) Run ¶ added in v0.31.0
func (_c *MockFilesInterface_DeleteDirectoryByDirectoryPath_Call) Run(run func(ctx context.Context, directoryPath string)) *MockFilesInterface_DeleteDirectoryByDirectoryPath_Call
func (*MockFilesInterface_DeleteDirectoryByDirectoryPath_Call) RunAndReturn ¶ added in v0.31.0
func (_c *MockFilesInterface_DeleteDirectoryByDirectoryPath_Call) RunAndReturn(run func(ctx context.Context, directoryPath string) error) *MockFilesInterface_DeleteDirectoryByDirectoryPath_Call
type MockFilesInterface_DeleteDirectory_Call ¶ added in v0.31.0
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 (_c *MockFilesInterface_DeleteDirectory_Call) Return(err error) *MockFilesInterface_DeleteDirectory_Call
func (*MockFilesInterface_DeleteDirectory_Call) Run ¶ added in v0.31.0
func (_c *MockFilesInterface_DeleteDirectory_Call) Run(run func(ctx context.Context, request files.DeleteDirectoryRequest)) *MockFilesInterface_DeleteDirectory_Call
func (*MockFilesInterface_DeleteDirectory_Call) RunAndReturn ¶ added in v0.31.0
func (_c *MockFilesInterface_DeleteDirectory_Call) RunAndReturn(run func(ctx context.Context, request files.DeleteDirectoryRequest) error) *MockFilesInterface_DeleteDirectory_Call
type MockFilesInterface_Delete_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 (_c *MockFilesInterface_Delete_Call) Return(err error) *MockFilesInterface_Delete_Call
func (*MockFilesInterface_Delete_Call) Run ¶
func (_c *MockFilesInterface_Delete_Call) Run(run func(ctx context.Context, request files.DeleteFileRequest)) *MockFilesInterface_Delete_Call
func (*MockFilesInterface_Delete_Call) RunAndReturn ¶
func (_c *MockFilesInterface_Delete_Call) RunAndReturn(run func(ctx context.Context, request files.DeleteFileRequest) error) *MockFilesInterface_Delete_Call
type MockFilesInterface_DownloadByFilePath_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 (_c *MockFilesInterface_DownloadByFilePath_Call) Return(downloadResponse *files.DownloadResponse, err error) *MockFilesInterface_DownloadByFilePath_Call
func (*MockFilesInterface_DownloadByFilePath_Call) Run ¶
func (_c *MockFilesInterface_DownloadByFilePath_Call) Run(run func(ctx context.Context, filePath string)) *MockFilesInterface_DownloadByFilePath_Call
func (*MockFilesInterface_DownloadByFilePath_Call) RunAndReturn ¶
func (_c *MockFilesInterface_DownloadByFilePath_Call) RunAndReturn(run func(ctx context.Context, filePath string) (*files.DownloadResponse, error)) *MockFilesInterface_DownloadByFilePath_Call
type MockFilesInterface_Download_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 (_c *MockFilesInterface_Download_Call) Return(downloadResponse *files.DownloadResponse, err error) *MockFilesInterface_Download_Call
func (*MockFilesInterface_Download_Call) Run ¶
func (_c *MockFilesInterface_Download_Call) Run(run func(ctx context.Context, request files.DownloadRequest)) *MockFilesInterface_Download_Call
func (*MockFilesInterface_Download_Call) RunAndReturn ¶
func (_c *MockFilesInterface_Download_Call) RunAndReturn(run func(ctx context.Context, request files.DownloadRequest) (*files.DownloadResponse, error)) *MockFilesInterface_Download_Call
type MockFilesInterface_Expecter ¶
type MockFilesInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockFilesInterface_Expecter) CreateDirectory ¶ added in v0.31.0
func (_e *MockFilesInterface_Expecter) CreateDirectory(ctx any, request any) *MockFilesInterface_CreateDirectory_Call
CreateDirectory is a helper method to define mock.On call
- ctx context.Context
- request files.CreateDirectoryRequest
func (*MockFilesInterface_Expecter) Delete ¶
func (_e *MockFilesInterface_Expecter) Delete(ctx any, request any) *MockFilesInterface_Delete_Call
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
func (_e *MockFilesInterface_Expecter) DeleteDirectory(ctx any, request any) *MockFilesInterface_DeleteDirectory_Call
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 ¶
func (_e *MockFilesInterface_Expecter) Download(ctx any, request any) *MockFilesInterface_Download_Call
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
func (_e *MockFilesInterface_Expecter) GetMetadata(ctx any, request any) *MockFilesInterface_GetMetadata_Call
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 ¶
func (_e *MockFilesInterface_Expecter) Upload(ctx any, request any) *MockFilesInterface_Upload_Call
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
MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDirectoryMetadataByDirectoryPath'
func (*MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call) Run ¶ added in v0.32.0
func (_c *MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call) Run(run func(ctx context.Context, directoryPath string)) *MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call
func (*MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call) RunAndReturn ¶ added in v0.32.0
func (_c *MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call) RunAndReturn(run func(ctx context.Context, directoryPath string) error) *MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call
type MockFilesInterface_GetDirectoryMetadata_Call ¶ added in v0.32.0
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 (_c *MockFilesInterface_GetDirectoryMetadata_Call) Return(err error) *MockFilesInterface_GetDirectoryMetadata_Call
func (*MockFilesInterface_GetDirectoryMetadata_Call) Run ¶ added in v0.32.0
func (_c *MockFilesInterface_GetDirectoryMetadata_Call) Run(run func(ctx context.Context, request files.GetDirectoryMetadataRequest)) *MockFilesInterface_GetDirectoryMetadata_Call
func (*MockFilesInterface_GetDirectoryMetadata_Call) RunAndReturn ¶ added in v0.32.0
func (_c *MockFilesInterface_GetDirectoryMetadata_Call) RunAndReturn(run func(ctx context.Context, request files.GetDirectoryMetadataRequest) error) *MockFilesInterface_GetDirectoryMetadata_Call
type MockFilesInterface_GetMetadataByFilePath_Call ¶ added in v0.32.0
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 (_c *MockFilesInterface_GetMetadataByFilePath_Call) Return(getMetadataResponse *files.GetMetadataResponse, err error) *MockFilesInterface_GetMetadataByFilePath_Call
func (*MockFilesInterface_GetMetadataByFilePath_Call) Run ¶ added in v0.32.0
func (_c *MockFilesInterface_GetMetadataByFilePath_Call) Run(run func(ctx context.Context, filePath string)) *MockFilesInterface_GetMetadataByFilePath_Call
func (*MockFilesInterface_GetMetadataByFilePath_Call) RunAndReturn ¶ added in v0.32.0
func (_c *MockFilesInterface_GetMetadataByFilePath_Call) RunAndReturn(run func(ctx context.Context, filePath string) (*files.GetMetadataResponse, error)) *MockFilesInterface_GetMetadataByFilePath_Call
type MockFilesInterface_GetMetadata_Call ¶ added in v0.32.0
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 (_c *MockFilesInterface_GetMetadata_Call) Return(getMetadataResponse *files.GetMetadataResponse, err error) *MockFilesInterface_GetMetadata_Call
func (*MockFilesInterface_GetMetadata_Call) Run ¶ added in v0.32.0
func (_c *MockFilesInterface_GetMetadata_Call) Run(run func(ctx context.Context, request files.GetMetadataRequest)) *MockFilesInterface_GetMetadata_Call
func (*MockFilesInterface_GetMetadata_Call) RunAndReturn ¶ added in v0.32.0
func (_c *MockFilesInterface_GetMetadata_Call) RunAndReturn(run func(ctx context.Context, request files.GetMetadataRequest) (*files.GetMetadataResponse, error)) *MockFilesInterface_GetMetadata_Call
type MockFilesInterface_ListDirectoryContentsAll_Call ¶ added in v0.31.0
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 (_c *MockFilesInterface_ListDirectoryContentsAll_Call) Return(directoryEntrys []files.DirectoryEntry, err error) *MockFilesInterface_ListDirectoryContentsAll_Call
func (*MockFilesInterface_ListDirectoryContentsAll_Call) Run ¶ added in v0.31.0
func (_c *MockFilesInterface_ListDirectoryContentsAll_Call) Run(run func(ctx context.Context, request files.ListDirectoryContentsRequest)) *MockFilesInterface_ListDirectoryContentsAll_Call
func (*MockFilesInterface_ListDirectoryContentsAll_Call) RunAndReturn ¶ added in v0.31.0
func (_c *MockFilesInterface_ListDirectoryContentsAll_Call) RunAndReturn(run func(ctx context.Context, request files.ListDirectoryContentsRequest) ([]files.DirectoryEntry, error)) *MockFilesInterface_ListDirectoryContentsAll_Call
type MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call ¶ added in v0.31.0
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 (_c *MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call) Return(listDirectoryResponse *files.ListDirectoryResponse, err error) *MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call
func (*MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call) Run ¶ added in v0.31.0
func (_c *MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call) Run(run func(ctx context.Context, directoryPath string)) *MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call
func (*MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call) RunAndReturn ¶ added in v0.31.0
func (_c *MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call) RunAndReturn(run func(ctx context.Context, directoryPath string) (*files.ListDirectoryResponse, error)) *MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call
type MockFilesInterface_ListDirectoryContents_Call ¶ added in v0.31.0
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 (_c *MockFilesInterface_ListDirectoryContents_Call) Return(iterator listing.Iterator[files.DirectoryEntry]) *MockFilesInterface_ListDirectoryContents_Call
func (*MockFilesInterface_ListDirectoryContents_Call) Run ¶ added in v0.31.0
func (_c *MockFilesInterface_ListDirectoryContents_Call) Run(run func(ctx context.Context, request files.ListDirectoryContentsRequest)) *MockFilesInterface_ListDirectoryContents_Call
func (*MockFilesInterface_ListDirectoryContents_Call) RunAndReturn ¶ added in v0.31.0
func (_c *MockFilesInterface_ListDirectoryContents_Call) RunAndReturn(run func(ctx context.Context, request files.ListDirectoryContentsRequest) listing.Iterator[files.DirectoryEntry]) *MockFilesInterface_ListDirectoryContents_Call
type MockFilesInterface_Upload_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 (_c *MockFilesInterface_Upload_Call) Return(err error) *MockFilesInterface_Upload_Call
func (*MockFilesInterface_Upload_Call) Run ¶
func (_c *MockFilesInterface_Upload_Call) Run(run func(ctx context.Context, request files.UploadRequest)) *MockFilesInterface_Upload_Call
func (*MockFilesInterface_Upload_Call) RunAndReturn ¶
func (_c *MockFilesInterface_Upload_Call) RunAndReturn(run func(ctx context.Context, request files.UploadRequest) error) *MockFilesInterface_Upload_Call