grafana/pkg/util
Alexander Zobnin 997105c20d
Config: Support JSON list syntax (#61288)
* Config: Separate lists either by spaces or by commas.

* Simplify space separation

* use separate function for the config strings

* Change behavior only if string contains quotes

* add test for invalid string

* Use JSON list syntax

* ignore leading spaces when process list

* Add notes about using JSON lists into the docs

* Fix typo

* Apply suggestions from code review

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-01-16 16:03:20 +03:00
..
cmd
cmputil
converter Loki/Prometheus: Change signature - return non-reference from ReadPrometheusStyleResult (#57209) 2023-01-13 09:00:39 +01:00
errutil
maputil
proxyutil Plugins: Forward user header (X-Grafana-User) in backend plugin requests (#58646) 2022-12-15 15:28:25 +01:00
retryer
ticker
xorm [Bug] Fix xorm dependency on yaml v2 2.2.3 (#61183) 2023-01-11 08:08:28 +00:00
contextutil.go
contextutil_test.go
encoding.go
encoding_test.go
encryption.go
encryption_test.go
filepath.go
filepath_test.go
ip_address.go
ip_address_test.go
json.go
math.go
md5.go
md5_test.go
reverse.go
reverse_test.go
shortid_generator.go
shortid_generator_test.go
split_email.go
split_email_test.go
strings.go Config: Support JSON list syntax (#61288) 2023-01-16 16:03:20 +03:00
strings_test.go Config: Support JSON list syntax (#61288) 2023-01-16 16:03:20 +03:00
url.go
url_test.go
validation.go
validation_test.go