@@ -6,130 +6,130 @@ description: >
6
6
Configuration for the storageprovider service
7
7
---
8
8
9
- # _ struct: eventconfig _
9
+ # _ struct: config _
10
10
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#L77 )
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#L65 )
13
13
{{< highlight toml >}}
14
14
[ grpc.services.storageprovider]
15
- nats_address = "address of the nats server "
15
+ driver = "localhome "
16
16
{{< /highlight >}}
17
17
{{% /dir %}}
18
18
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#L78 )
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#L66 )
21
21
{{< 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
+
24
27
{{< /highlight >}}
25
28
{{% /dir %}}
26
29
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#L79 )
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#L67 )
29
32
{{< highlight toml >}}
30
33
[ grpc.services.storageprovider]
31
- tls_insecure = Whether to verify the server TLS certificates.
34
+ data_server_url = " http://localhost/data "
32
35
{{< /highlight >}}
33
36
{{% /dir %}}
34
37
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#L80 )
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#L68 )
37
40
{{< highlight toml >}}
38
41
[ 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
40
43
{{< /highlight >}}
41
44
{{% /dir %}}
42
45
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#L81 )
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#L69 )
45
48
{{< highlight toml >}}
46
49
[ grpc.services.storageprovider]
47
- nats_enable_tls = events tls switch
50
+ available_checksums = nil
48
51
{{< /highlight >}}
49
52
{{% /dir %}}
50
53
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#L82 )
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#L70 )
53
56
{{< highlight toml >}}
54
57
[ grpc.services.storageprovider]
55
- nats_username = "event stream username "
58
+ custom_mimetypes_json = "nil "
56
59
{{< /highlight >}}
57
60
{{% /dir %}}
58
61
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#L83 )
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#L72 )
61
64
{{< highlight toml >}}
62
65
[ grpc.services.storageprovider]
63
- nats_password = "event stream password"
66
+ upload_expiration = 0
64
67
{{< /highlight >}}
65
68
{{% /dir %}}
66
69
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#L65 )
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#L73 )
71
72
{{< highlight toml >}}
72
73
[ grpc.services.storageprovider]
73
- driver = "localhome"
74
+ events = 0
74
75
{{< /highlight >}}
75
76
{{% /dir %}}
76
77
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#L66 )
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_
84
79
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#L77 )
82
+ {{< highlight toml >}}
83
+ [ grpc.services.storageprovider]
84
+ nats_address = "address of the nats server"
85
85
{{< /highlight >}}
86
86
{{% /dir %}}
87
87
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#L67 )
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#L78 )
90
90
{{< highlight toml >}}
91
91
[ grpc.services.storageprovider]
92
- data_server_url = "http://localhost/data "
92
+ nats_clusterid = "clusterid of the nats server "
93
93
{{< /highlight >}}
94
94
{{% /dir %}}
95
95
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#L68 )
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#L79 )
98
98
{{< highlight toml >}}
99
99
[ grpc.services.storageprovider]
100
- expose_data_server = false
100
+ tls_insecure = Whether to verify the server TLS certificates.
101
101
{{< /highlight >}}
102
102
{{% /dir %}}
103
103
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#L69 )
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#L80 )
106
106
{{< highlight toml >}}
107
107
[ grpc.services.storageprovider]
108
- available_checksums = nil
108
+ tls_root_ca_cert = "The root CA certificate used to validate the server's TLS certificate."
109
109
{{< /highlight >}}
110
110
{{% /dir %}}
111
111
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#L70 )
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#L81 )
114
114
{{< highlight toml >}}
115
115
[ grpc.services.storageprovider]
116
- custom_mimetypes_json = "nil"
116
+ nats_enable_tls = events tls switch
117
117
{{< /highlight >}}
118
118
{{% /dir %}}
119
119
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#L72 )
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#L82 )
122
122
{{< highlight toml >}}
123
123
[ grpc.services.storageprovider]
124
- upload_expiration = 0
124
+ nats_username = "event stream username"
125
125
{{< /highlight >}}
126
126
{{% /dir %}}
127
127
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#L73 )
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#L83 )
130
130
{{< highlight toml >}}
131
131
[ grpc.services.storageprovider]
132
- events = 0
132
+ nats_password = "event stream password"
133
133
{{< /highlight >}}
134
134
{{% /dir %}}
135
135
0 commit comments