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