@@ -6,130 +6,130 @@ description: >
66 Configuration for the storageprovider service
77---
88
9- # _ struct: eventconfig _
9+ # _ struct: config _
1010
11- {{% dir name="nats_address " type="string" default="address of the nats server " %}}
12- [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L76 )
11+ {{% dir name="driver " type="string" default="localhome " %}}
12+ The storage driver to be used. [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L64 )
1313{{< highlight toml >}}
1414[ grpc.services.storageprovider]
15- nats_address = "address of the nats server "
15+ driver = "localhome "
1616{{< /highlight >}}
1717{{% /dir %}}
1818
19- {{% dir name="nats_clusterid " type="string" default="clusterid of the nats server " %}}
20- [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L77 )
19+ {{% dir name="drivers " type="map [ string] map [ string ] interface{} " default="localhome " %}}
20+ [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L65 )
2121{{< highlight toml >}}
22- [ grpc.services.storageprovider]
23- nats_clusterid = "clusterid of the nats server"
22+ [ grpc.services.storageprovider.drivers.localhome]
23+ root = "/var/tmp/reva/"
24+ share_folder = "/MyShares"
25+ user_layout = "{{.Username}}"
26+
2427{{< /highlight >}}
2528{{% /dir %}}
2629
27- {{% dir name="tls_insecure " type="bool " default=Whether to verify the server TLS certificates. %}}
28- [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L78 )
30+ {{% dir name="data_server_url " type="string " default=" http://localhost/data " %}}
31+ The URL for the data server. [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L66 )
2932{{< highlight toml >}}
3033[ grpc.services.storageprovider]
31- tls_insecure = Whether to verify the server TLS certificates.
34+ data_server_url = " http://localhost/data "
3235{{< /highlight >}}
3336{{% /dir %}}
3437
35- {{% dir name="tls_root_ca_cert " type="string " default="The root CA certificate used to validate the server's TLS certificate." %}}
36- [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L79 )
38+ {{% dir name="expose_data_server " type="bool " default=false %}}
39+ Whether to expose data server. [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L67 )
3740{{< highlight toml >}}
3841[ grpc.services.storageprovider]
39- tls_root_ca_cert = "The root CA certificate used to validate the server's TLS certificate."
42+ expose_data_server = false
4043{{< /highlight >}}
4144{{% /dir %}}
4245
43- {{% dir name="nats_enable_tls " type="bool " default=events tls switch %}}
44- [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L80 )
46+ {{% dir name="available_checksums " type="map [ string ] uint32 " default=nil %}}
47+ List of available checksums. [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L68 )
4548{{< highlight toml >}}
4649[ grpc.services.storageprovider]
47- nats_enable_tls = events tls switch
50+ available_checksums = nil
4851{{< /highlight >}}
4952{{% /dir %}}
5053
51- {{% dir name="nats_username " type="string" default="event stream username " %}}
52- [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L81 )
54+ {{% dir name="custom_mimetypes_json " type="string" default="nil " %}}
55+ An optional mapping file with the list of supported custom file extensions and corresponding mime types. [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L69 )
5356{{< highlight toml >}}
5457[ grpc.services.storageprovider]
55- nats_username = "event stream username "
58+ custom_mimetypes_json = "nil "
5659{{< /highlight >}}
5760{{% /dir %}}
5861
59- {{% dir name="nats_password " type="string " default="event stream password" %}}
60- [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L82 )
62+ {{% dir name="upload_expiration " type="int64 " default=0 %}}
63+ Duration for how long uploads will be valid. [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L71 )
6164{{< highlight toml >}}
6265[ grpc.services.storageprovider]
63- nats_password = "event stream password"
66+ upload_expiration = 0
6467{{< /highlight >}}
6568{{% /dir %}}
6669
67- # _ struct: config_
68-
69- {{% dir name="driver" type="string" default="localhome" %}}
70- The storage driver to be used. [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L64 )
70+ {{% dir name="events" type="eventconfig" default=0 %}}
71+ Event stream configuration [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L72 )
7172{{< highlight toml >}}
7273[ grpc.services.storageprovider]
73- driver = "localhome"
74+ events = 0
7475{{< /highlight >}}
7576{{% /dir %}}
7677
77- {{% dir name="drivers" type="map[ string] map[ string] interface{}" default="localhome" %}}
78- [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L65 )
79- {{< highlight toml >}}
80- [ grpc.services.storageprovider.drivers.localhome]
81- root = "/var/tmp/reva/"
82- share_folder = "/MyShares"
83- user_layout = "{{.Username}}"
78+ # _ struct: eventconfig_
8479
80+ {{% dir name="nats_address" type="string" default="address of the nats server" %}}
81+ [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L76 )
82+ {{< highlight toml >}}
83+ [ grpc.services.storageprovider]
84+ nats_address = "address of the nats server"
8585{{< /highlight >}}
8686{{% /dir %}}
8787
88- {{% dir name="data_server_url " type="string" default="http://localhost/data " %}}
89- The URL for the data server. [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L66 )
88+ {{% dir name="nats_clusterid " type="string" default="clusterid of the nats server " %}}
89+ [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L77 )
9090{{< highlight toml >}}
9191[ grpc.services.storageprovider]
92- data_server_url = "http://localhost/data "
92+ nats_clusterid = "clusterid of the nats server "
9393{{< /highlight >}}
9494{{% /dir %}}
9595
96- {{% dir name="expose_data_server " type="bool" default=false %}}
97- Whether to expose data server. [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L67 )
96+ {{% dir name="tls_insecure " type="bool" default=Whether to verify the server TLS certificates. %}}
97+ [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L78 )
9898{{< highlight toml >}}
9999[ grpc.services.storageprovider]
100- expose_data_server = false
100+ tls_insecure = Whether to verify the server TLS certificates.
101101{{< /highlight >}}
102102{{% /dir %}}
103103
104- {{% dir name="available_checksums " type="map [ string] uint32 " default=nil %}}
105- List of available checksums. [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L68 )
104+ {{% dir name="tls_root_ca_cert " type="string" default="The root CA certificate used to validate the server's TLS certificate." %}}
105+ [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L79 )
106106{{< highlight toml >}}
107107[ grpc.services.storageprovider]
108- available_checksums = nil
108+ tls_root_ca_cert = "The root CA certificate used to validate the server's TLS certificate."
109109{{< /highlight >}}
110110{{% /dir %}}
111111
112- {{% dir name="custom_mimetypes_json " type="string " default="nil" %}}
113- An optional mapping file with the list of supported custom file extensions and corresponding mime types. [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L69 )
112+ {{% dir name="nats_enable_tls " type="bool " default=events tls switch %}}
113+ [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L80 )
114114{{< highlight toml >}}
115115[ grpc.services.storageprovider]
116- custom_mimetypes_json = "nil"
116+ nats_enable_tls = events tls switch
117117{{< /highlight >}}
118118{{% /dir %}}
119119
120- {{% dir name="upload_expiration " type="int64 " default=0 %}}
121- Duration for how long uploads will be valid. [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L71 )
120+ {{% dir name="nats_username " type="string " default="event stream username" %}}
121+ [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L81 )
122122{{< highlight toml >}}
123123[ grpc.services.storageprovider]
124- upload_expiration = 0
124+ nats_username = "event stream username"
125125{{< /highlight >}}
126126{{% /dir %}}
127127
128- {{% dir name="events " type="eventconfig " default=0 %}}
129- Event stream configuration [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L72 )
128+ {{% dir name="nats_password " type="string " default="event stream password" %}}
129+ [[ Ref]] ( https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L82 )
130130{{< highlight toml >}}
131131[ grpc.services.storageprovider]
132- events = 0
132+ nats_password = "event stream password"
133133{{< /highlight >}}
134134{{% /dir %}}
135135
0 commit comments