grafana/pkg/schema/load
Dimitris Sotirakis 2e0dc835cf
Scuemata: Add test to validate devenv resources (#35810)
* Add test for devenv resources

* Refactor validation tests for grokkability

* Devenv dashboards error-tracking script

* Refactor to use cueerrors.Details()

* Further test refinement

* Close major elements of dashboard schema

* Centralize dashboard validation tests

General dashboard validation testing belongs in the load package.

* Better names for error context on glue CUE code

* Fixup validate-resource

Do only one of base or dist, and fix copied docs.

* Skip the devenv test

* Remove test for validateResources

* Fix shellcheck

* Backend linter

Co-authored-by: sam boyer <sdboyer@grafana.com>
2021-07-15 20:08:03 -04:00
..
testdata Scuemata: Checking json validity by enabling skipped tests (#34385) 2021-06-04 08:18:03 +02:00
common.go [Scuemeta] Fix cue schema load on windows (#35185) 2021-06-07 18:58:47 +08:00
constant_windows.go [Scuemeta] Fix cue schema load on windows (#35185) 2021-06-07 18:58:47 +08:00
constant.go [Scuemeta] Fix cue schema load on windows (#35185) 2021-06-07 18:58:47 +08:00
dashboard.go Scuemata: Add test to validate devenv resources (#35810) 2021-07-15 20:08:03 -04:00
generic.go Scuemata: Add test to validate devenv resources (#35810) 2021-07-15 20:08:03 -04:00
load_test.go Scuemata: Add test to validate devenv resources (#35810) 2021-07-15 20:08:03 -04:00
panel.go Scuemata: Add test to validate devenv resources (#35810) 2021-07-15 20:08:03 -04:00