@@ -26,25 +26,6 @@ type Config struct {
26
26
// QuotaNode for storing quota information
27
27
QuotaNode string `mapstructure:"quota_node"`
28
28
29
- // DefaultQuotaBytes sets the default maximum bytes available for a user
30
- DefaultQuotaBytes uint64 `mapstructure:"default_quota_bytes"`
31
-
32
- // DefaultSecondaryQuotaBytes sets the default maximum bytes available for a secondary user
33
- DefaultSecondaryQuotaBytes uint64 `mapstructure:"default_secondary_quota_bytes"`
34
-
35
- // DefaultQuotaFiles sets the default maximum files available for a user
36
- DefaultQuotaFiles uint64 `mapstructure:"default_quota_files"`
37
-
38
- // ShadowNamespace for storing shadow data
39
- ShadowNamespace string `mapstructure:"shadow_namespace"`
40
-
41
- // UploadsNamespace for storing upload data
42
- UploadsNamespace string `mapstructure:"uploads_namespace"`
43
-
44
- // ShareFolder defines the name of the folder in the
45
- // shadowed namespace. Ex: /eos/user/.shadow/h/hugo/MyShares
46
- ShareFolder string `mapstructure:"share_folder"`
47
-
48
29
// Location of the eos binary.
49
30
// Default is /usr/bin/eos.
50
31
EosBinary string `mapstructure:"eos_binary"`
@@ -149,9 +130,6 @@ type Config struct {
149
130
// revisions-related operations.
150
131
ImpersonateOwnerforRevisions bool `mapstructure:"impersonate_owner_for_revisions"`
151
132
152
- // Whether to enable the post create home hook
153
- EnablePostCreateHomeHook bool `mapstructure:"enable_post_create_home_hook"`
154
-
155
133
// HTTP connections to EOS: max number of idle conns
156
134
MaxIdleConns int `mapstructure:"max_idle_conns"`
157
135
@@ -177,8 +155,9 @@ type Config struct {
177
155
// Default is 3600
178
156
TokenExpiry int
179
157
180
- // Path of the script to run after an user home folder has been created
181
- OnPostCreateHomeHook string `mapstructure:"on_post_create_home_hook"`
158
+ // Path of the script to run in order to create a user home folder
159
+ // TODO(lopresti): to be replaced by a call to the Resource Lifecycle API being developed
160
+ CreateHomeHook string `mapstructure:"create_home_hook"`
182
161
183
162
// Maximum entries count a ListRecycle call may return: if exceeded, ListRecycle
184
163
// will return a BadRequest error
0 commit comments