rework PR

This commit is contained in:
A.Unger
2020-05-28 20:55:47 +02:00
parent f92a2f30e9
commit f5d1bca473
12 changed files with 878 additions and 148 deletions
+12
View File
@@ -21,6 +21,7 @@ type Gateway struct {
CommitShareToStorageGrant bool
CommitShareToStorageRef bool
ShareFolder string
LinkGrants string
DisableHomeCreationOnLogin bool
// include the home folder config for the storage registry
// HomeProvider is the path in the global namespace that the static storage registry uses to determine the home storage
@@ -79,6 +80,16 @@ type StoragePort struct {
TempFolder string
}
// PublicStorage configures a public storage provider
type PublicStorage struct {
StoragePort
PublicShareProviderAddr string
StorageProviderAddr string
UserProviderAddr string
MountID string
}
// StorageConfig combines all available storage driver configuration parts.
type StorageConfig struct {
EOS DriverEOS
@@ -238,6 +249,7 @@ type Reva struct {
StorageWNDData StoragePort
StorageCustom StoragePort
StorageCustomData StoragePort
StoragePublicLink PublicStorage
// Configs can be used to configure the reva instance.
// Services and Ports will be ignored if this is used
Configs map[string]interface{}