rclone/fs/rc
Nick Craig-Wood 1fed2d910c config: make config file system pluggable
If you are using rclone a library you can decide to use the rclone
config file system or not by calling

    configfile.LoadConfig(ctx)

If you don't you will need to set `config.Data` to an implementation
of `config.Storage`.

Other changes
- change interface of config.FileGet to remove unused default
- remove MustValue from config.Storage interface
- change GetValue to return string or bool like elsewhere in rclone
- implement a default config file system which panics with helpful error
- implement getWithDefault to replace the removed MustValue
- don't embed goconfig.ConfigFile so we can change the methods
2021-03-11 17:29:26 +00:00
..
jobs rc: implement passing filter config with _filter parameter 2021-02-23 10:54:40 +00:00
js js: add experimental interface for integrating rclone into browsers 2020-08-10 17:32:21 +01:00
rcflags rcd: Add Prometheus metrics support - fixes #3858 2020-03-01 09:58:34 +00:00
rcserver config: make config file system pluggable 2021-03-11 17:29:26 +00:00
webgui plugins: Move plugins cache path initialization to initPluginsOrError. 2021-01-28 16:58:23 +00:00
cache_test.go test: Add context to mockfs.NewFs #3257 #4685 2020-11-09 18:05:54 +00:00
cache.go fs: Add context to NewFs #3257 #4685 2020-11-09 18:05:54 +00:00
config_test.go rc: add context to flag Reload function #4685 2020-11-27 17:28:42 +00:00
config.go rc: fix options/local to return the filter options 2021-02-23 10:33:03 +00:00
internal_test.go rc: fix core/command giving 500 internal error - fixes #4914 2021-01-10 16:34:46 +00:00
internal.go rc: fix core/command giving 500 internal error - fixes #4914 2021-01-10 16:34:46 +00:00
params_test.go fs/rc: add Copy method to rc.Params 2021-01-10 16:34:46 +00:00
params.go fs/rc: add Copy method to rc.Params 2021-01-10 16:34:46 +00:00
rc_test.go fs/rc: add more infrastructure to help writing rc functions 2018-11-02 17:32:20 +00:00
rc.go rcd: Add Prometheus metrics support - fixes #3858 2020-03-01 09:58:34 +00:00
registry.go rc: add NeedsResponse for rc calls 2020-08-17 17:09:31 +01:00