storageprovider

Package
github.com/cs3org/reva/v3/internal/grpc/services/storageprovider
Source
internal/grpc/services/storageprovider · Go reference

Enable it

Add this table to the revad configuration file:

[grpc.services.storageprovider]
# settings below
This package has no documentation yet. Add a package doc comment or a README.md in internal/grpc/services/storageprovider, then run make gen-doc.

Configuration

KeyTypeDefaultDescription
mount_pathstring"/"The path where the file system would be mounted. source
mount_idstring"00000000-0000-0000-0000-000000000000"The ID of the mounted file system. source
driverstring"localhome"The storage driver to be used. source
driversmap[string]map[string]any-source
expose_data_serverboolfalseif true the client will be able to upload/download directly to it source
available_checksumsmap[string]uint32map[string]uint32{…}List of available checksums. source
custom_mime_types_jsonstring-An optional mapping file with the list of supported custom file extensions and corresponding mime types. source
gatewaysvcstringshared gatewaysvcsource
provides_space_typestring-Defines which type of spaces this storage provider provides (e.g. home, project, …). source
space_depthint-Defines at which level spaces start. E.g. if spaces are located under ‘/eos/{space}’, this would be 2. Any number lower than the depth of the SP’s mount_path means only one space is provided by this StorageProvider. source