files

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDbfsInterface

type MockDbfsInterface struct {
	mock.Mock
}

MockDbfsInterface is an autogenerated mock type for the DbfsInterface type

func NewMockDbfsInterface

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

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

func (*MockDbfsInterface) AddBlock

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

AddBlock provides a mock function with given fields: ctx, request

func (*MockDbfsInterface) Close

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

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

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

Delete provides a mock function with given fields: ctx, request

func (*MockDbfsInterface) EXPECT

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

func (_m *MockDbfsInterface) Impl() files.DbfsService

Impl provides a mock function with given fields:

func (*MockDbfsInterface) List

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

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

Mkdirs provides a mock function with given fields: ctx, request

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

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

Move provides a mock function with given fields: ctx, request

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

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

Put provides a mock function with given fields: ctx, request

func (*MockDbfsInterface) Read

Read provides a mock function with given fields: ctx, request

func (*MockDbfsInterface) ReadFile

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

ReadFile provides a mock function with given fields: ctx, name

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

func (*MockDbfsInterface) WithImpl

WithImpl provides a mock function with given fields: impl

func (*MockDbfsInterface) WriteFile

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

WriteFile provides a mock function with given fields: ctx, name, data

type MockDbfsInterface_AddBlock_Call

type MockDbfsInterface_AddBlock_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_AddBlock_Call) Return

func (*MockDbfsInterface_AddBlock_Call) Run

func (*MockDbfsInterface_AddBlock_Call) RunAndReturn

type MockDbfsInterface_CloseByHandle_Call

type MockDbfsInterface_CloseByHandle_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_CloseByHandle_Call) Return

func (*MockDbfsInterface_CloseByHandle_Call) Run

func (*MockDbfsInterface_CloseByHandle_Call) RunAndReturn

type MockDbfsInterface_Close_Call

type MockDbfsInterface_Close_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_Close_Call) Return

func (*MockDbfsInterface_Close_Call) Run

func (*MockDbfsInterface_Close_Call) RunAndReturn

type MockDbfsInterface_Create_Call

type MockDbfsInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_Create_Call) Return

func (*MockDbfsInterface_Create_Call) Run

func (*MockDbfsInterface_Create_Call) RunAndReturn

type MockDbfsInterface_Delete_Call

type MockDbfsInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_Delete_Call) Return

func (*MockDbfsInterface_Delete_Call) Run

func (*MockDbfsInterface_Delete_Call) RunAndReturn

type MockDbfsInterface_Expecter

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

func (*MockDbfsInterface_Expecter) AddBlock

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

Impl is a helper method to define mock.On call

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

func (_e *MockDbfsInterface_Expecter) WithImpl(impl interface{}) *MockDbfsInterface_WithImpl_Call

WithImpl is a helper method to define mock.On call

  • impl files.DbfsService

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

type MockDbfsInterface_GetStatusByPath_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_GetStatusByPath_Call) Return

func (*MockDbfsInterface_GetStatusByPath_Call) Run

func (*MockDbfsInterface_GetStatusByPath_Call) RunAndReturn

type MockDbfsInterface_GetStatus_Call

type MockDbfsInterface_GetStatus_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_GetStatus_Call) Return

func (*MockDbfsInterface_GetStatus_Call) Run

func (*MockDbfsInterface_GetStatus_Call) RunAndReturn

type MockDbfsInterface_Impl_Call

type MockDbfsInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_Impl_Call) Return

func (*MockDbfsInterface_Impl_Call) Run

func (*MockDbfsInterface_Impl_Call) RunAndReturn

type MockDbfsInterface_ListAll_Call

type MockDbfsInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_ListAll_Call) Return

func (*MockDbfsInterface_ListAll_Call) Run

func (*MockDbfsInterface_ListAll_Call) RunAndReturn

type MockDbfsInterface_ListByPath_Call

type MockDbfsInterface_ListByPath_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_ListByPath_Call) Return

func (*MockDbfsInterface_ListByPath_Call) Run

func (*MockDbfsInterface_ListByPath_Call) RunAndReturn

type MockDbfsInterface_List_Call

type MockDbfsInterface_List_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_List_Call) Return

func (*MockDbfsInterface_List_Call) Run

func (*MockDbfsInterface_List_Call) RunAndReturn

type MockDbfsInterface_MkdirsByPath_Call

type MockDbfsInterface_MkdirsByPath_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_MkdirsByPath_Call) Return

func (*MockDbfsInterface_MkdirsByPath_Call) Run

func (*MockDbfsInterface_MkdirsByPath_Call) RunAndReturn

type MockDbfsInterface_Mkdirs_Call

type MockDbfsInterface_Mkdirs_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_Mkdirs_Call) Return

func (*MockDbfsInterface_Mkdirs_Call) Run

func (*MockDbfsInterface_Mkdirs_Call) RunAndReturn

type MockDbfsInterface_Move_Call

type MockDbfsInterface_Move_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_Move_Call) Return

func (*MockDbfsInterface_Move_Call) Run

func (*MockDbfsInterface_Move_Call) RunAndReturn

type MockDbfsInterface_Open_Call

type MockDbfsInterface_Open_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_Open_Call) Return

func (*MockDbfsInterface_Open_Call) Run

func (*MockDbfsInterface_Open_Call) RunAndReturn

type MockDbfsInterface_Put_Call

type MockDbfsInterface_Put_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_Put_Call) Return

func (*MockDbfsInterface_Put_Call) Run

func (*MockDbfsInterface_Put_Call) RunAndReturn

type MockDbfsInterface_ReadFile_Call

type MockDbfsInterface_ReadFile_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_ReadFile_Call) Return

func (*MockDbfsInterface_ReadFile_Call) Run

func (*MockDbfsInterface_ReadFile_Call) RunAndReturn

type MockDbfsInterface_Read_Call

type MockDbfsInterface_Read_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_Read_Call) Return

func (*MockDbfsInterface_Read_Call) Run

func (*MockDbfsInterface_Read_Call) RunAndReturn

type MockDbfsInterface_RecursiveList_Call

type MockDbfsInterface_RecursiveList_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_RecursiveList_Call) Return

func (*MockDbfsInterface_RecursiveList_Call) Run

func (*MockDbfsInterface_RecursiveList_Call) RunAndReturn

type MockDbfsInterface_WithImpl_Call

type MockDbfsInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_WithImpl_Call) Return

func (*MockDbfsInterface_WithImpl_Call) Run

func (*MockDbfsInterface_WithImpl_Call) RunAndReturn

type MockDbfsInterface_WriteFile_Call

type MockDbfsInterface_WriteFile_Call struct {
	*mock.Call
}

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

func (*MockDbfsInterface_WriteFile_Call) Return

func (*MockDbfsInterface_WriteFile_Call) Run

func (*MockDbfsInterface_WriteFile_Call) RunAndReturn

type MockFilesInterface

type MockFilesInterface struct {
	mock.Mock
}

MockFilesInterface is an autogenerated mock type for the FilesInterface type

func NewMockFilesInterface

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

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

func (*MockFilesInterface) CreateDirectory added in v0.31.0

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

CreateDirectory provides a mock function with given fields: ctx, request

func (*MockFilesInterface) Delete

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

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 (*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

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

Impl provides a mock function with given fields:

func (*MockFilesInterface) ListDirectoryContents added in v0.31.0

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

func (*MockFilesInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockFilesInterface_CreateDirectory_Call added in v0.31.0

type MockFilesInterface_CreateDirectory_Call struct {
	*mock.Call
}

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

func (*MockFilesInterface_CreateDirectory_Call) Return added in v0.31.0

func (*MockFilesInterface_CreateDirectory_Call) Run added in v0.31.0

func (*MockFilesInterface_CreateDirectory_Call) RunAndReturn added in v0.31.0

type MockFilesInterface_DeleteByFilePath_Call

type MockFilesInterface_DeleteByFilePath_Call struct {
	*mock.Call
}

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

func (*MockFilesInterface_DeleteByFilePath_Call) Return

func (*MockFilesInterface_DeleteByFilePath_Call) Run

func (*MockFilesInterface_DeleteByFilePath_Call) RunAndReturn

type MockFilesInterface_DeleteDirectoryByDirectoryPath_Call added in v0.31.0

type MockFilesInterface_DeleteDirectoryByDirectoryPath_Call struct {
	*mock.Call
}

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

func (*MockFilesInterface_DeleteDirectoryByDirectoryPath_Call) Return added in v0.31.0

func (*MockFilesInterface_DeleteDirectoryByDirectoryPath_Call) Run added in v0.31.0

func (*MockFilesInterface_DeleteDirectoryByDirectoryPath_Call) RunAndReturn added in v0.31.0

type MockFilesInterface_DeleteDirectory_Call added in v0.31.0

type MockFilesInterface_DeleteDirectory_Call struct {
	*mock.Call
}

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

func (*MockFilesInterface_DeleteDirectory_Call) Return added in v0.31.0

func (*MockFilesInterface_DeleteDirectory_Call) Run added in v0.31.0

func (*MockFilesInterface_DeleteDirectory_Call) RunAndReturn added in v0.31.0

type MockFilesInterface_Delete_Call

type MockFilesInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockFilesInterface_Delete_Call) Return

func (*MockFilesInterface_Delete_Call) Run

func (*MockFilesInterface_Delete_Call) RunAndReturn

type MockFilesInterface_DownloadByFilePath_Call

type MockFilesInterface_DownloadByFilePath_Call struct {
	*mock.Call
}

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

func (*MockFilesInterface_DownloadByFilePath_Call) Return

func (*MockFilesInterface_DownloadByFilePath_Call) Run

func (*MockFilesInterface_DownloadByFilePath_Call) RunAndReturn

type MockFilesInterface_Download_Call

type MockFilesInterface_Download_Call struct {
	*mock.Call
}

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

func (*MockFilesInterface_Download_Call) Return

func (*MockFilesInterface_Download_Call) Run

func (*MockFilesInterface_Download_Call) RunAndReturn

type MockFilesInterface_Expecter

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

func (*MockFilesInterface_Expecter) CreateDirectory added in v0.31.0

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

Impl is a helper method to define mock.On call

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

func (*MockFilesInterface_Expecter) WithImpl

func (_e *MockFilesInterface_Expecter) WithImpl(impl interface{}) *MockFilesInterface_WithImpl_Call

WithImpl is a helper method to define mock.On call

  • impl files.FilesService

type MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call added in v0.32.0

type MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call struct {
	*mock.Call
}

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

func (*MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call) Return added in v0.32.0

func (*MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call) Run added in v0.32.0

func (*MockFilesInterface_GetDirectoryMetadataByDirectoryPath_Call) RunAndReturn added in v0.32.0

type MockFilesInterface_GetDirectoryMetadata_Call added in v0.32.0

type MockFilesInterface_GetDirectoryMetadata_Call struct {
	*mock.Call
}

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

func (*MockFilesInterface_GetDirectoryMetadata_Call) Return added in v0.32.0

func (*MockFilesInterface_GetDirectoryMetadata_Call) Run added in v0.32.0

func (*MockFilesInterface_GetDirectoryMetadata_Call) RunAndReturn added in v0.32.0

type MockFilesInterface_GetMetadataByFilePath_Call added in v0.32.0

type MockFilesInterface_GetMetadataByFilePath_Call struct {
	*mock.Call
}

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

func (*MockFilesInterface_GetMetadataByFilePath_Call) Return added in v0.32.0

func (*MockFilesInterface_GetMetadataByFilePath_Call) Run added in v0.32.0

func (*MockFilesInterface_GetMetadataByFilePath_Call) RunAndReturn added in v0.32.0

type MockFilesInterface_GetMetadata_Call added in v0.32.0

type MockFilesInterface_GetMetadata_Call struct {
	*mock.Call
}

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

func (*MockFilesInterface_GetMetadata_Call) Return added in v0.32.0

func (*MockFilesInterface_GetMetadata_Call) Run added in v0.32.0

func (*MockFilesInterface_GetMetadata_Call) RunAndReturn added in v0.32.0

type MockFilesInterface_Impl_Call

type MockFilesInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockFilesInterface_Impl_Call) Return

func (*MockFilesInterface_Impl_Call) Run

func (*MockFilesInterface_Impl_Call) RunAndReturn

type MockFilesInterface_ListDirectoryContentsAll_Call added in v0.31.0

type MockFilesInterface_ListDirectoryContentsAll_Call struct {
	*mock.Call
}

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

func (*MockFilesInterface_ListDirectoryContentsAll_Call) Return added in v0.31.0

func (*MockFilesInterface_ListDirectoryContentsAll_Call) Run added in v0.31.0

func (*MockFilesInterface_ListDirectoryContentsAll_Call) RunAndReturn added in v0.31.0

type MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call added in v0.31.0

type MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call struct {
	*mock.Call
}

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

func (*MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call) Return added in v0.31.0

func (*MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call) Run added in v0.31.0

func (*MockFilesInterface_ListDirectoryContentsByDirectoryPath_Call) RunAndReturn added in v0.31.0

type MockFilesInterface_ListDirectoryContents_Call added in v0.31.0

type MockFilesInterface_ListDirectoryContents_Call struct {
	*mock.Call
}

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

func (*MockFilesInterface_ListDirectoryContents_Call) Return added in v0.31.0

func (*MockFilesInterface_ListDirectoryContents_Call) Run added in v0.31.0

type MockFilesInterface_Upload_Call

type MockFilesInterface_Upload_Call struct {
	*mock.Call
}

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

func (*MockFilesInterface_Upload_Call) Return

func (*MockFilesInterface_Upload_Call) Run

func (*MockFilesInterface_Upload_Call) RunAndReturn

type MockFilesInterface_WithImpl_Call

type MockFilesInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockFilesInterface_WithImpl_Call) Return

func (*MockFilesInterface_WithImpl_Call) Run

func (*MockFilesInterface_WithImpl_Call) RunAndReturn

Jump to

Keyboard shortcuts

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