authelia/internal/configuration
James Elliott a7e867a699
feat(configuration): replace viper with koanf (#2053)
This commit replaces github.com/spf13/viper with github.com/knadh/koanf. Koanf is very similar library to viper, with less dependencies and several quality of life differences. This also allows most config options to be defined by ENV. Lastly it also enables the use of split configuration files which can be configured by setting the --config flag multiple times.

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-08-03 19:55:21 +10:00
..
schema feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
test_resources feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
validator feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
config.template.yml feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
configuration_test.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
const.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
helpers_test.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
helpers.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
koanf_callbacks_test.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
koanf_callbacks.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
provider_test.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
provider.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
sources.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
template_test.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
template.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
types.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00