Documentation ¶
Index ¶
- type MockDbfsInterface
- func (_m *MockDbfsInterface) AddBlock(ctx context.Context, request files.AddBlock) error
- func (_m *MockDbfsInterface) Close(ctx context.Context, request files.Close) error
- func (_m *MockDbfsInterface) CloseByHandle(ctx context.Context, handle int64) error
- func (_m *MockDbfsInterface) Create(ctx context.Context, request files.Create) (*files.CreateResponse, error)
- func (_m *MockDbfsInterface) Delete(ctx context.Context, request files.Delete) error
- func (_m *MockDbfsInterface) EXPECT() *MockDbfsInterface_Expecter
- func (_m *MockDbfsInterface) GetStatus(ctx context.Context, request files.GetStatusRequest) (*files.FileInfo, error)
- func (_m *MockDbfsInterface) GetStatusByPath(ctx context.Context, path string) (*files.FileInfo, error)
- func (_m *MockDbfsInterface) List(ctx context.Context, request files.ListDbfsRequest) listing.Iterator[files.FileInfo]
- func (_m *MockDbfsInterface) ListAll(ctx context.Context, request files.ListDbfsRequest) ([]files.FileInfo, error)
- func (_m *MockDbfsInterface) ListByPath(ctx context.Context, path string) (*files.ListStatusResponse, error)
- func (_m *MockDbfsInterface) Mkdirs(ctx context.Context, request files.MkDirs) error
- func (_m *MockDbfsInterface) MkdirsByPath(ctx context.Context, path string) error
- func (_m *MockDbfsInterface) Move(ctx context.Context, request files.Move) error
- func (_m *MockDbfsInterface) Open(ctx context.Context, path string, mode files.FileMode) (files.Handle, error)
- func (_m *MockDbfsInterface) Put(ctx context.Context, request files.Put) error
- func (_m *MockDbfsInterface) Read(ctx context.Context, request files.ReadDbfsRequest) (*files.ReadResponse, error)
- func (_m *MockDbfsInterface) ReadFile(ctx context.Context, name string) ([]byte, error)
- func (_m *MockDbfsInterface) RecursiveList(ctx context.Context, path string) ([]files.FileInfo, error)
- func (_m *MockDbfsInterface) WriteFile(ctx context.Context, name string, data []byte) error
- type MockDbfsInterface_AddBlock_Call
- func (_c *MockDbfsInterface_AddBlock_Call) Return(_a0 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(context.Context, files.AddBlock) error) *MockDbfsInterface_AddBlock_Call
- type MockDbfsInterface_CloseByHandle_Call
- func (_c *MockDbfsInterface_CloseByHandle_Call) Return(_a0 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(context.Context, int64) error) *MockDbfsInterface_CloseByHandle_Call
- type MockDbfsInterface_Close_Call
- func (_c *MockDbfsInterface_Close_Call) Return(_a0 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(context.Context, files.Close) error) *MockDbfsInterface_Close_Call
- type MockDbfsInterface_Create_Call
- func (_c *MockDbfsInterface_Create_Call) Return(_a0 *files.CreateResponse, _a1 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(run func(context.Context, files.Create) (*files.CreateResponse, error)) *MockDbfsInterface_Create_Call
- type MockDbfsInterface_Delete_Call
- func (_c *MockDbfsInterface_Delete_Call) Return(_a0 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(context.Context, files.Delete) error) *MockDbfsInterface_Delete_Call
- type MockDbfsInterface_Expecter
- func (_e *MockDbfsInterface_Expecter) AddBlock(ctx interface{}, request interface{}) *MockDbfsInterface_AddBlock_Call
- func (_e *MockDbfsInterface_Expecter) Close(ctx interface{}, request interface{}) *MockDbfsInterface_Close_Call
- func (_e *MockDbfsInterface_Expecter) CloseByHandle(ctx interface{}, handle interface{}) *MockDbfsInterface_CloseByHandle_Call
- func (_e *MockDbfsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockDbfsInterface_Create_Call
- func (_e *MockDbfsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockDbfsInterface_Delete_Call
- func (_e *MockDbfsInterface_Expecter) GetStatus(ctx interface{}, request interface{}) *MockDbfsInterface_GetStatus_Call
- func (_e *MockDbfsInterface_Expecter) GetStatusByPath(ctx interface{}, path interface{}) *MockDbfsInterface_GetStatusByPath_Call
- func (_e *MockDbfsInterface_Expecter) List(ctx interface{}, request interface{}) *MockDbfsInterface_List_Call
- func (_e *MockDbfsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockDbfsInterface_ListAll_Call
- func (_e *MockDbfsInterface_Expecter) ListByPath(ctx interface{}, path interface{}) *MockDbfsInterface_ListByPath_Call
- func (_e *MockDbfsInterface_Expecter) Mkdirs(ctx interface{}, request interface{}) *MockDbfsInterface_Mkdirs_Call
- func (_e *MockDbfsInterface_Expecter) MkdirsByPath(ctx interface{}, path interface{}) *MockDbfsInterface_MkdirsByPath_Call
- func (_e *MockDbfsInterface_Expecter) Move(ctx interface{}, request interface{}) *MockDbfsInterface_Move_Call
- func (_e *MockDbfsInterface_Expecter) Open(ctx interface{}, path interface{}, mode interface{}) *MockDbfsInterface_Open_Call
- func (_e *MockDbfsInterface_Expecter) Put(ctx interface{}, request interface{}) *MockDbfsInterface_Put_Call
- func (_e *MockDbfsInterface_Expecter) Read(ctx interface{}, request interface{}) *MockDbfsInterface_Read_Call
- func (_e *MockDbfsInterface_Expecter) ReadFile(ctx interface{}, name interface{}) *MockDbfsInterface_ReadFile_Call
- func (_e *MockDbfsInterface_Expecter) RecursiveList(ctx interface{}, path interface{}) *MockDbfsInterface_RecursiveList_Call
- func (_e *MockDbfsInterface_Expecter) WriteFile(ctx interface{}, name interface{}, data interface{}) *MockDbfsInterface_WriteFile_Call
- type MockDbfsInterface_GetStatusByPath_Call
- func (_c *MockDbfsInterface_GetStatusByPath_Call) Return(_a0 *files.FileInfo, _a1 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(context.Context, string) (*files.FileInfo, error)) *MockDbfsInterface_GetStatusByPath_Call
- type MockDbfsInterface_GetStatus_Call
- func (_c *MockDbfsInterface_GetStatus_Call) Return(_a0 *files.FileInfo, _a1 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(run func(context.Context, files.GetStatusRequest) (*files.FileInfo, error)) *MockDbfsInterface_GetStatus_Call
- type MockDbfsInterface_ListAll_Call
- func (_c *MockDbfsInterface_ListAll_Call) Return(_a0 []files.FileInfo, _a1 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(run func(context.Context, files.ListDbfsRequest) ([]files.FileInfo, error)) *MockDbfsInterface_ListAll_Call
- type MockDbfsInterface_ListByPath_Call
- func (_c *MockDbfsInterface_ListByPath_Call) Return(_a0 *files.ListStatusResponse, _a1 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(context.Context, string) (*files.ListStatusResponse, error)) *MockDbfsInterface_ListByPath_Call
- type MockDbfsInterface_List_Call
- func (_c *MockDbfsInterface_List_Call) Return(_a0 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(_a0 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(context.Context, string) error) *MockDbfsInterface_MkdirsByPath_Call
- type MockDbfsInterface_Mkdirs_Call
- func (_c *MockDbfsInterface_Mkdirs_Call) Return(_a0 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(context.Context, files.MkDirs) error) *MockDbfsInterface_Mkdirs_Call
- type MockDbfsInterface_Move_Call
- func (_c *MockDbfsInterface_Move_Call) Return(_a0 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(context.Context, files.Move) error) *MockDbfsInterface_Move_Call
- type MockDbfsInterface_Open_Call
- func (_c *MockDbfsInterface_Open_Call) Return(_a0 files.Handle, _a1 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(run func(context.Context, string, files.FileMode) (files.Handle, error)) *MockDbfsInterface_Open_Call
- type MockDbfsInterface_Put_Call
- func (_c *MockDbfsInterface_Put_Call) Return(_a0 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(context.Context, files.Put) error) *MockDbfsInterface_Put_Call
- type MockDbfsInterface_ReadFile_Call
- func (_c *MockDbfsInterface_ReadFile_Call) Return(_a0 []byte, _a1 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(context.Context, string) ([]byte, error)) *MockDbfsInterface_ReadFile_Call
- type MockDbfsInterface_Read_Call
- func (_c *MockDbfsInterface_Read_Call) Return(_a0 *files.ReadResponse, _a1 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(run func(context.Context, files.ReadDbfsRequest) (*files.ReadResponse, error)) *MockDbfsInterface_Read_Call
- type MockDbfsInterface_RecursiveList_Call
- func (_c *MockDbfsInterface_RecursiveList_Call) Return(_a0 []files.FileInfo, _a1 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(context.Context, string) ([]files.FileInfo, error)) *MockDbfsInterface_RecursiveList_Call
- type MockDbfsInterface_WriteFile_Call
- func (_c *MockDbfsInterface_WriteFile_Call) Return(_a0 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(context.Context, string, []byte) error) *MockDbfsInterface_WriteFile_Call
- type MockFilesInterface
- func (_m *MockFilesInterface) CreateDirectory(ctx context.Context, request files.CreateDirectoryRequest) error
- func (_m *MockFilesInterface) Delete(ctx context.Context, request files.DeleteFileRequest) error
- func (_m *MockFilesInterface) DeleteByFilePath(ctx context.Context, filePath string) error
- func (_m *MockFilesInterface) DeleteDirectory(ctx context.Context, request files.DeleteDirectoryRequest) error
- func (_m *MockFilesInterface) DeleteDirectoryByDirectoryPath(ctx context.Context, directoryPath string) error
- func (_m *MockFilesInterface) Download(ctx context.Context, request files.DownloadRequest) (*files.DownloadResponse, error)
- func (_m *MockFilesInterface) DownloadByFilePath(ctx context.Context, filePath string) (*files.DownloadResponse, error)
- func (_m *MockFilesInterface) EXPECT() *MockFilesInterface_Expecter
- func (_m *MockFilesInterface) GetDirectoryMetadata(ctx context.Context, request files.GetDirectoryMetadataRequest) error
- func (_m *MockFilesInterface) GetDirectoryMetadataByDirectoryPath(ctx context.Context, directoryPath string) error
- func (_m *MockFilesInterface) GetMetadata(ctx context.Context, request files.GetMetadataRequest) (*files.GetMetadataResponse, error)
- func (_m *MockFilesInterface) GetMetadataByFilePath(ctx context.Context, filePath string) (*files.GetMetadataResponse, error)
- func (_m *MockFilesInterface) ListDirectoryContents(ctx context.Context, request files.ListDirectoryContentsRequest) listing.Iterator[files.DirectoryEntry]
- func (_m *MockFilesInterface) ListDirectoryContentsAll(ctx context.Context, request files.ListDirectoryContentsRequest) ([]files.DirectoryEntry, error)
- func (_m *MockFilesInterface) ListDirectoryContentsByDirectoryPath(ctx context.Context, directoryPath string) (*files.ListDirectoryResponse, error)
- func (_m *MockFilesInterface) Upload(ctx context.Context, request files.UploadRequest) error
- type MockFilesInterface_CreateDirectory_Call
- func (_c *MockFilesInterface_CreateDirectory_Call) Return(_a0 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(context.Context, files.CreateDirectoryRequest) error) *MockFilesInterface_CreateDirectory_Call
- type MockFilesInterface_DeleteByFilePath_Call
- func (_c *MockFilesInterface_DeleteByFilePath_Call) Return(_a0 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(context.Context, string) error) *MockFilesInterface_DeleteByFilePath_Call
- type MockFilesInterface_DeleteDirectoryByDirectoryPath_Call
- func (_c *MockFilesInterface_DeleteDirectoryByDirectoryPath_Call) Return(_a0 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(context.Context, string) error) *MockFilesInterface_DeleteDirectoryByDirectoryPath_Call
- type MockFilesInterface_DeleteDirectory_Call
- func (_c *MockFilesInterface_DeleteDirectory_Call) Return(_a0 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(context.Context, files.DeleteDirectoryRequest) error) *MockFilesInterface_DeleteDirectory_Call
- type MockFilesInterface_Delete_Call
- func (_c *MockFilesInterface_Delete_Call) Return(_a0 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(context.Context, files.DeleteFileRequest) error) *MockFilesInterface_Delete_Call
- type MockFilesInterface_DownloadByFilePath_Call
- func (_c *MockFilesInterface_DownloadByFilePath_Call) Return(_a0 *files.DownloadResponse, _a1 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(run func(context.Context, string) (*files.DownloadResponse, error)) *MockFilesInterface_DownloadByFilePath_Call
- type MockFilesInterface_Download_Call
- func (_c *MockFilesInterface_Download_Call) Return(_a0 *files.DownloadResponse, _a1 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 interface{}, request interface{}) *MockFilesInterface_CreateDirectory_Call
- func (_e *MockFilesInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockFilesInterface_Delete_Call
- func (_e *MockFilesInterface_Expecter) DeleteByFilePath(ctx interface{}, filePath interface{}) *MockFilesInterface_DeleteByFilePath_Call
- func (_e *MockFilesInterface_Expecter) DeleteDirectory(ctx interface{}, request interface{}) *MockFilesInterface_DeleteDirectory_Call
- func (_e *MockFilesInterface_Expecter) DeleteDirectoryByDirectoryPath(ctx interface{}, directoryPath interface{}) *MockFilesInterface_DeleteDirectoryByDirectoryPath_Call
- func (_e *MockFilesInterface_Expecter) Download(ctx interface{}, request interface{}) *MockFilesInterface_Download_Call
- func (_e *MockFilesInterface_Expecter) DownloadByFilePath(ctx interface{}, filePath interface{}) *MockFilesInterface_DownloadByFilePath_Call
- func (_e *MockFilesInterface_Expecter) GetDirectoryMetadata(ctx interface{}, request interface{}) *MockFilesInterface_GetDirectoryMetadata_Call
- func (_e *MockFilesInterface_Expecter) GetDirectoryMetadataByDirectoryPath(ctx interface{}, directoryPath interface{}) *MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call
- func (_e *MockFilesInterface_Expecter) GetMetadata(ctx interface{}, request interface{}) *MockFilesInterface_GetMetadata_Call
- func (_e *MockFilesInterface_Expecter) GetMetadataByFilePath(ctx interface{}, filePath interface{}) *MockFilesInterface_GetMetadataByFilePath_Call
- func (_e *MockFilesInterface_Expecter) ListDirectoryContents(ctx interface{}, request interface{}) *MockFilesInterface_ListDirectoryContents_Call
- func (_e *MockFilesInterface_Expecter) ListDirectoryContentsAll(ctx interface{}, request interface{}) *MockFilesInterface_ListDirectoryContentsAll_Call
- func (_e *MockFilesInterface_Expecter) ListDirectoryContentsByDirectoryPath(ctx interface{}, directoryPath interface{}) *MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call
- func (_e *MockFilesInterface_Expecter) Upload(ctx interface{}, request interface{}) *MockFilesInterface_Upload_Call
- type MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call
- func (_c *MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call) Return(_a0 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(context.Context, string) error) *MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call
- type MockFilesInterface_GetDirectoryMetadata_Call
- func (_c *MockFilesInterface_GetDirectoryMetadata_Call) Return(_a0 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(context.Context, files.GetDirectoryMetadataRequest) error) *MockFilesInterface_GetDirectoryMetadata_Call
- type MockFilesInterface_GetMetadataByFilePath_Call
- func (_c *MockFilesInterface_GetMetadataByFilePath_Call) Return(_a0 *files.GetMetadataResponse, _a1 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(run func(context.Context, string) (*files.GetMetadataResponse, error)) *MockFilesInterface_GetMetadataByFilePath_Call
- type MockFilesInterface_GetMetadata_Call
- func (_c *MockFilesInterface_GetMetadata_Call) Return(_a0 *files.GetMetadataResponse, _a1 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(_a0 []files.DirectoryEntry, _a1 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(_a0 *files.ListDirectoryResponse, _a1 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(run func(context.Context, string) (*files.ListDirectoryResponse, error)) *MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call
- type MockFilesInterface_ListDirectoryContents_Call
- func (_c *MockFilesInterface_ListDirectoryContents_Call) Return(_a0 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(_a0 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(context.Context, 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 with given fields: ctx, request
func (*MockDbfsInterface) CloseByHandle ¶
func (_m *MockDbfsInterface) CloseByHandle(ctx context.Context, handle int64) error
CloseByHandle provides a mock function with given fields: ctx, handle
func (*MockDbfsInterface) Create ¶
func (_m *MockDbfsInterface) Create(ctx context.Context, request files.Create) (*files.CreateResponse, error)
Create provides a mock function with given fields: ctx, request
func (*MockDbfsInterface) EXPECT ¶
func (_m *MockDbfsInterface) EXPECT() *MockDbfsInterface_Expecter
func (*MockDbfsInterface) GetStatus ¶
func (_m *MockDbfsInterface) GetStatus(ctx context.Context, request files.GetStatusRequest) (*files.FileInfo, error)
GetStatus provides a mock function with given fields: ctx, request
func (*MockDbfsInterface) GetStatusByPath ¶
func (_m *MockDbfsInterface) GetStatusByPath(ctx context.Context, path string) (*files.FileInfo, error)
GetStatusByPath provides a mock function with given fields: ctx, path
func (*MockDbfsInterface) List ¶
func (_m *MockDbfsInterface) List(ctx context.Context, request files.ListDbfsRequest) listing.Iterator[files.FileInfo]
List provides a mock function with given fields: ctx, request
func (*MockDbfsInterface) ListAll ¶
func (_m *MockDbfsInterface) ListAll(ctx context.Context, request files.ListDbfsRequest) ([]files.FileInfo, error)
ListAll provides a mock function with given fields: ctx, request
func (*MockDbfsInterface) ListByPath ¶
func (_m *MockDbfsInterface) ListByPath(ctx context.Context, path string) (*files.ListStatusResponse, error)
ListByPath provides a mock function with given fields: ctx, path
func (*MockDbfsInterface) MkdirsByPath ¶
func (_m *MockDbfsInterface) MkdirsByPath(ctx context.Context, path string) error
MkdirsByPath provides a mock function with given fields: ctx, path
func (*MockDbfsInterface) Open ¶
func (_m *MockDbfsInterface) Open(ctx context.Context, path string, mode files.FileMode) (files.Handle, error)
Open provides a mock function with given fields: ctx, path, mode
func (*MockDbfsInterface) Read ¶
func (_m *MockDbfsInterface) Read(ctx context.Context, request files.ReadDbfsRequest) (*files.ReadResponse, error)
Read provides a mock function with given fields: ctx, request
func (*MockDbfsInterface) RecursiveList ¶
func (_m *MockDbfsInterface) RecursiveList(ctx context.Context, path string) ([]files.FileInfo, error)
RecursiveList provides a mock function with given fields: ctx, path
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(_a0 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(context.Context, 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(_a0 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(context.Context, 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(_a0 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(context.Context, 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(_a0 *files.CreateResponse, _a1 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(context.Context, 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(_a0 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(context.Context, 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 interface{}, request interface{}) *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 interface{}, request interface{}) *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 interface{}, handle interface{}) *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 interface{}, request interface{}) *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 interface{}, request interface{}) *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 interface{}, request interface{}) *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 interface{}, path interface{}) *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 interface{}, request interface{}) *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 interface{}, request interface{}) *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 interface{}, path interface{}) *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 interface{}, request interface{}) *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 interface{}, path interface{}) *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 interface{}, request interface{}) *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 interface{}, path interface{}, mode interface{}) *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 interface{}, request interface{}) *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 interface{}, request interface{}) *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 interface{}, name interface{}) *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 interface{}, path interface{}) *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 interface{}, name interface{}, data interface{}) *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(_a0 *files.FileInfo, _a1 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(context.Context, 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(_a0 *files.FileInfo, _a1 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(context.Context, 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(_a0 []files.FileInfo, _a1 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(context.Context, 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(_a0 *files.ListStatusResponse, _a1 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(context.Context, 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(_a0 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(context.Context, 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(_a0 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(context.Context, 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(_a0 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(context.Context, 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(_a0 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(context.Context, 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(_a0 files.Handle, _a1 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(context.Context, string, 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(_a0 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(context.Context, 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(_a0 []byte, _a1 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(context.Context, 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(_a0 *files.ReadResponse, _a1 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(context.Context, 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(_a0 []files.FileInfo, _a1 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(context.Context, 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(_a0 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(context.Context, string, []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 (_m *MockFilesInterface) CreateDirectory(ctx context.Context, request files.CreateDirectoryRequest) error
CreateDirectory provides a mock function with given fields: ctx, request
func (*MockFilesInterface) Delete ¶
func (_m *MockFilesInterface) Delete(ctx context.Context, request files.DeleteFileRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockFilesInterface) DeleteByFilePath ¶
func (_m *MockFilesInterface) DeleteByFilePath(ctx context.Context, filePath string) error
DeleteByFilePath provides a mock function with given fields: ctx, filePath
func (*MockFilesInterface) DeleteDirectory ¶ added in v0.31.0
func (_m *MockFilesInterface) DeleteDirectory(ctx context.Context, request files.DeleteDirectoryRequest) error
DeleteDirectory provides a mock function with given fields: ctx, request
func (*MockFilesInterface) DeleteDirectoryByDirectoryPath ¶ added in v0.31.0
func (_m *MockFilesInterface) DeleteDirectoryByDirectoryPath(ctx context.Context, directoryPath string) error
DeleteDirectoryByDirectoryPath provides a mock function with given fields: ctx, directoryPath
func (*MockFilesInterface) Download ¶
func (_m *MockFilesInterface) Download(ctx context.Context, request files.DownloadRequest) (*files.DownloadResponse, error)
Download provides a mock function with given fields: ctx, request
func (*MockFilesInterface) DownloadByFilePath ¶
func (_m *MockFilesInterface) DownloadByFilePath(ctx context.Context, filePath string) (*files.DownloadResponse, error)
DownloadByFilePath provides a mock function with given fields: ctx, filePath
func (*MockFilesInterface) EXPECT ¶
func (_m *MockFilesInterface) EXPECT() *MockFilesInterface_Expecter
func (*MockFilesInterface) GetDirectoryMetadata ¶ added in v0.32.0
func (_m *MockFilesInterface) GetDirectoryMetadata(ctx context.Context, request files.GetDirectoryMetadataRequest) error
GetDirectoryMetadata provides a mock function with given fields: ctx, request
func (*MockFilesInterface) GetDirectoryMetadataByDirectoryPath ¶ added in v0.32.0
func (_m *MockFilesInterface) GetDirectoryMetadataByDirectoryPath(ctx context.Context, directoryPath string) error
GetDirectoryMetadataByDirectoryPath provides a mock function with given fields: ctx, directoryPath
func (*MockFilesInterface) GetMetadata ¶ added in v0.32.0
func (_m *MockFilesInterface) GetMetadata(ctx context.Context, request files.GetMetadataRequest) (*files.GetMetadataResponse, error)
GetMetadata provides a mock function with given fields: ctx, request
func (*MockFilesInterface) GetMetadataByFilePath ¶ added in v0.32.0
func (_m *MockFilesInterface) GetMetadataByFilePath(ctx context.Context, filePath string) (*files.GetMetadataResponse, error)
GetMetadataByFilePath provides a mock function with given fields: ctx, filePath
func (*MockFilesInterface) ListDirectoryContents ¶ added in v0.31.0
func (_m *MockFilesInterface) ListDirectoryContents(ctx context.Context, request files.ListDirectoryContentsRequest) listing.Iterator[files.DirectoryEntry]
ListDirectoryContents provides a mock function with given fields: ctx, request
func (*MockFilesInterface) ListDirectoryContentsAll ¶ added in v0.31.0
func (_m *MockFilesInterface) ListDirectoryContentsAll(ctx context.Context, request files.ListDirectoryContentsRequest) ([]files.DirectoryEntry, error)
ListDirectoryContentsAll provides a mock function with given fields: ctx, request
func (*MockFilesInterface) ListDirectoryContentsByDirectoryPath ¶ added in v0.31.0
func (_m *MockFilesInterface) ListDirectoryContentsByDirectoryPath(ctx context.Context, directoryPath string) (*files.ListDirectoryResponse, error)
ListDirectoryContentsByDirectoryPath provides a mock function with given fields: ctx, directoryPath
func (*MockFilesInterface) Upload ¶
func (_m *MockFilesInterface) Upload(ctx context.Context, request files.UploadRequest) error
Upload provides a mock function with given fields: ctx, request
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(_a0 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(context.Context, 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(_a0 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(context.Context, 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(context.Context, 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(_a0 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(context.Context, 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(_a0 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(context.Context, 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(_a0 *files.DownloadResponse, _a1 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(context.Context, 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(_a0 *files.DownloadResponse, _a1 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(context.Context, 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 interface{}, request interface{}) *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 interface{}, request interface{}) *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 interface{}, filePath interface{}) *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 interface{}, request interface{}) *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 interface{}, directoryPath interface{}) *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 interface{}, request interface{}) *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 interface{}, filePath interface{}) *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 interface{}, request interface{}) *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 interface{}, directoryPath interface{}) *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 interface{}, request interface{}) *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 interface{}, filePath interface{}) *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 interface{}, request interface{}) *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 interface{}, request interface{}) *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 interface{}, directoryPath interface{}) *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 interface{}, request interface{}) *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(context.Context, 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(_a0 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(context.Context, 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(_a0 *files.GetMetadataResponse, _a1 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(context.Context, 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(_a0 *files.GetMetadataResponse, _a1 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(context.Context, 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(_a0 []files.DirectoryEntry, _a1 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(context.Context, 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) 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(context.Context, 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) 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(context.Context, 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(_a0 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(context.Context, files.UploadRequest) error) *MockFilesInterface_Upload_Call