Documentation ¶
Index ¶
- type DriverFactory
- type FileStorageDriver
- func (_m *FileStorageDriver) Close() error
- func (_m *FileStorageDriver) CreateFileShare(ctx context.Context, fs *file.CreateFileShareRequest) (*file.CreateFileShareResponse, error)
- func (_m *FileStorageDriver) DeleteFileShare(ctx context.Context, in *file.DeleteFileShareRequest) (*file.DeleteFileShareResponse, error)
- func (_m *FileStorageDriver) GetFileShare(ctx context.Context, fs *file.GetFileShareRequest) (*file.GetFileShareResponse, error)
- func (_m *FileStorageDriver) ListFileShare(ctx context.Context, fs *file.ListFileShareRequest) (*file.ListFileShareResponse, error)
- func (_m *FileStorageDriver) UpdatefileShare(ctx context.Context, fs *file.UpdateFileShareRequest) (*file.UpdateFileShareResponse, error)
- type StorageDriver
- func (_m *StorageDriver) Close() error
- func (_m *StorageDriver) CreateFileShare(ctx context.Context, fs *file.CreateFileShareRequest) (*file.CreateFileShareResponse, error)
- func (_m *StorageDriver) DeleteFileShare(ctx context.Context, in *file.DeleteFileShareRequest) (*file.DeleteFileShareResponse, error)
- func (_m *StorageDriver) GetFileShare(ctx context.Context, fs *file.GetFileShareRequest) (*file.GetFileShareResponse, error)
- func (_m *StorageDriver) ListFileShare(ctx context.Context, fs *file.ListFileShareRequest) (*file.ListFileShareResponse, error)
- func (_m *StorageDriver) UpdatefileShare(ctx context.Context, fs *file.UpdateFileShareRequest) (*file.UpdateFileShareResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DriverFactory ¶
DriverFactory is an autogenerated mock type for the DriverFactory type
func (*DriverFactory) CreateFileStorageDriver ¶
func (_m *DriverFactory) CreateFileStorageDriver(_a0 *backend.BackendDetail) (driver.FileStorageDriver, error)
CreateFileStorageDriver provides a mock function with given fields: _a0
type FileStorageDriver ¶
FileStorageDriver is an autogenerated mock type for the FileStorageDriver type
func (*FileStorageDriver) Close ¶
func (_m *FileStorageDriver) Close() error
Close provides a mock function with given fields:
func (*FileStorageDriver) CreateFileShare ¶
func (_m *FileStorageDriver) CreateFileShare(ctx context.Context, fs *file.CreateFileShareRequest) (*file.CreateFileShareResponse, error)
CreateFileShare provides a mock function with given fields: ctx, fs
func (*FileStorageDriver) DeleteFileShare ¶
func (_m *FileStorageDriver) DeleteFileShare(ctx context.Context, in *file.DeleteFileShareRequest) (*file.DeleteFileShareResponse, error)
DeleteFileShare provides a mock function with given fields: ctx, in
func (*FileStorageDriver) GetFileShare ¶
func (_m *FileStorageDriver) GetFileShare(ctx context.Context, fs *file.GetFileShareRequest) (*file.GetFileShareResponse, error)
GetFileShare provides a mock function with given fields: ctx, fs
func (*FileStorageDriver) ListFileShare ¶
func (_m *FileStorageDriver) ListFileShare(ctx context.Context, fs *file.ListFileShareRequest) (*file.ListFileShareResponse, error)
ListFileShare provides a mock function with given fields: ctx, fs
func (*FileStorageDriver) UpdatefileShare ¶
func (_m *FileStorageDriver) UpdatefileShare(ctx context.Context, fs *file.UpdateFileShareRequest) (*file.UpdateFileShareResponse, error)
UpdatefileShare provides a mock function with given fields: ctx, fs
type StorageDriver ¶
StorageDriver is an autogenerated mock type for the StorageDriver type
func (*StorageDriver) Close ¶
func (_m *StorageDriver) Close() error
Close provides a mock function with given fields:
func (*StorageDriver) CreateFileShare ¶
func (_m *StorageDriver) CreateFileShare(ctx context.Context, fs *file.CreateFileShareRequest) (*file.CreateFileShareResponse, error)
CreateFileShare provides a mock function with given fields: ctx, fs
func (*StorageDriver) DeleteFileShare ¶
func (_m *StorageDriver) DeleteFileShare(ctx context.Context, in *file.DeleteFileShareRequest) (*file.DeleteFileShareResponse, error)
DeleteFileShare provides a mock function with given fields: ctx, in
func (*StorageDriver) GetFileShare ¶
func (_m *StorageDriver) GetFileShare(ctx context.Context, fs *file.GetFileShareRequest) (*file.GetFileShareResponse, error)
GetFileShare provides a mock function with given fields: ctx, fs
func (*StorageDriver) ListFileShare ¶
func (_m *StorageDriver) ListFileShare(ctx context.Context, fs *file.ListFileShareRequest) (*file.ListFileShareResponse, error)
ListFileShare provides a mock function with given fields: ctx, fs
func (*StorageDriver) UpdatefileShare ¶
func (_m *StorageDriver) UpdatefileShare(ctx context.Context, fs *file.UpdateFileShareRequest) (*file.UpdateFileShareResponse, error)
UpdatefileShare provides a mock function with given fields: ctx, fs