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 belowThis 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
| Key | Type | Default | Description |
|---|---|---|---|
mount_path | string | "/" | The path where the file system would be mounted. source |
mount_id | string | "00000000-0000-0000-0000-000000000000" | The ID of the mounted file system. source |
driver | string | "localhome" | The storage driver to be used. source |
drivers | map[string]map[string]any | - | source |
expose_data_server | bool | false | if true the client will be able to upload/download directly to it source |
available_checksums | map[string]uint32 | map[string]uint32{…} | List of available checksums. source |
custom_mime_types_json | string | - | An optional mapping file with the list of supported custom file extensions and corresponding mime types. source |
gatewaysvc | string | shared gatewaysvc | source |
provides_space_type | string | - | Defines which type of spaces this storage provider provides (e.g. home, project, …). source |
space_depth | int | - | 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 |