├── .github ├── CODEOWNERS └── workflows │ └── golang-build.yaml ├── LICENSE ├── README.md ├── configstore.go ├── configstore_test.go ├── defaultstore.go ├── error.go ├── filter.go ├── go.mod ├── go.sum ├── item.go ├── list.go ├── provider_file_test.go ├── provider_filetree.go ├── provider_filetree_test.go ├── providers.go ├── store.go └── tests └── fixtures ├── fileprovider ├── test.json └── test.yaml ├── filetreeprovider ├── bar │ ├── barbaz │ │ └── foo │ ├── biz │ └── buz ├── baz └── foo ├── filetreeprovider2 ├── database │ ├── dev │ │ ├── buz │ │ └── fiz │ └── prod │ │ └── foo └── foo └── filetreeprovider3 ├── bar ├── foo ├── link_to_filetreeprovider2 └── link_to_foo /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @rbeuque74 @loopfz @fsamin @wI2L -------------------------------------------------------------------------------- /.github/workflows/golang-build.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovh/configstore/HEAD/.github/workflows/golang-build.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovh/configstore/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovh/configstore/HEAD/README.md -------------------------------------------------------------------------------- /configstore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovh/configstore/HEAD/configstore.go -------------------------------------------------------------------------------- /configstore_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovh/configstore/HEAD/configstore_test.go -------------------------------------------------------------------------------- /defaultstore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovh/configstore/HEAD/defaultstore.go -------------------------------------------------------------------------------- /error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovh/configstore/HEAD/error.go -------------------------------------------------------------------------------- /filter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovh/configstore/HEAD/filter.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovh/configstore/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovh/configstore/HEAD/go.sum -------------------------------------------------------------------------------- /item.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovh/configstore/HEAD/item.go -------------------------------------------------------------------------------- /list.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovh/configstore/HEAD/list.go -------------------------------------------------------------------------------- /provider_file_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovh/configstore/HEAD/provider_file_test.go -------------------------------------------------------------------------------- /provider_filetree.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovh/configstore/HEAD/provider_filetree.go -------------------------------------------------------------------------------- /provider_filetree_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovh/configstore/HEAD/provider_filetree_test.go -------------------------------------------------------------------------------- /providers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovh/configstore/HEAD/providers.go -------------------------------------------------------------------------------- /store.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovh/configstore/HEAD/store.go -------------------------------------------------------------------------------- /tests/fixtures/fileprovider/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovh/configstore/HEAD/tests/fixtures/fileprovider/test.json -------------------------------------------------------------------------------- /tests/fixtures/fileprovider/test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovh/configstore/HEAD/tests/fixtures/fileprovider/test.yaml -------------------------------------------------------------------------------- /tests/fixtures/filetreeprovider/bar/barbaz/foo: -------------------------------------------------------------------------------- 1 | baz_foo_value -------------------------------------------------------------------------------- /tests/fixtures/filetreeprovider/bar/biz: -------------------------------------------------------------------------------- 1 | biz value -------------------------------------------------------------------------------- /tests/fixtures/filetreeprovider/bar/buz: -------------------------------------------------------------------------------- 1 | buz value -------------------------------------------------------------------------------- /tests/fixtures/filetreeprovider/baz: -------------------------------------------------------------------------------- 1 | baz value -------------------------------------------------------------------------------- /tests/fixtures/filetreeprovider/foo: -------------------------------------------------------------------------------- 1 | foo value -------------------------------------------------------------------------------- /tests/fixtures/filetreeprovider2/database/dev/buz: -------------------------------------------------------------------------------- 1 | buz value -------------------------------------------------------------------------------- /tests/fixtures/filetreeprovider2/database/dev/fiz: -------------------------------------------------------------------------------- 1 | fiz value -------------------------------------------------------------------------------- /tests/fixtures/filetreeprovider2/database/prod/foo: -------------------------------------------------------------------------------- 1 | prod foo value -------------------------------------------------------------------------------- /tests/fixtures/filetreeprovider2/foo: -------------------------------------------------------------------------------- 1 | foo value -------------------------------------------------------------------------------- /tests/fixtures/filetreeprovider3/bar: -------------------------------------------------------------------------------- 1 | bar value -------------------------------------------------------------------------------- /tests/fixtures/filetreeprovider3/foo: -------------------------------------------------------------------------------- 1 | foo value -------------------------------------------------------------------------------- /tests/fixtures/filetreeprovider3/link_to_filetreeprovider2: -------------------------------------------------------------------------------- 1 | ../filetreeprovider2 -------------------------------------------------------------------------------- /tests/fixtures/filetreeprovider3/link_to_foo: -------------------------------------------------------------------------------- 1 | foo --------------------------------------------------------------------------------