grafana/pkg/services/provisioning/dashboards
Andrej Ocenas 42b745a098
Provisioning: Add API endpoint to reload provisioning configs (#16579)
* Add api to reaload provisioning

* Refactor and simplify the polling code

* Add test for the provisioning service

* Fix provider initialization and move some code to file reader

* Simplify the code and move initialization

* Remove unused code

* Update comment

* Add comment

* Change error messages

* Add DashboardProvisionerFactory type

* Update imports

* Use new assert lib

* Use mutext for synchronizing the reloading

* Fix typo

Co-Authored-By: aocenas <mr.ocenas@gmail.com>

* Add docs about the new api
2019-04-25 09:06:44 +02:00
..
testdata Provisioning: Interpolate env vars in provisioning files (#16499) 2019-04-24 15:39:47 +02:00
config_reader_test.go Provisioning: Interpolate env vars in provisioning files (#16499) 2019-04-24 15:39:47 +02:00
config_reader.go Provisioning: Support FolderUid in Dashboard Provisioning Config (#16559) 2019-04-24 08:57:42 +02:00
dashboard_mock.go Provisioning: Add API endpoint to reload provisioning configs (#16579) 2019-04-25 09:06:44 +02:00
dashboard.go Provisioning: Add API endpoint to reload provisioning configs (#16579) 2019-04-25 09:06:44 +02:00
file_reader_linux_test.go fix reader linux test 2018-09-20 13:42:56 +02:00
file_reader_test.go Provisioning: Do not allow deletion of provisioned dashboards (#16211) 2019-04-10 13:29:10 +02:00
file_reader.go Provisioning: Add API endpoint to reload provisioning configs (#16579) 2019-04-25 09:06:44 +02:00
types.go Provisioning: Interpolate env vars in provisioning files (#16499) 2019-04-24 15:39:47 +02:00