grafana/pkg/services/export
Artur Wierzbicki 18daa6754c
Previews: datasource permissions (#52747)
* Previews: datasource permissions

* lint

* simplify - force non-null `ds_uids`

* add `canBeDisabled` to search service

* add `IncludeThumbnailsWithEmptyDsUids`

* remove force refresh migration

* refactor main preview service

* add safeguard

* revert ticker interval

* update testdata

* fix test

* add mock search service

* add datasources lookup test

* update migration

* extract ds lookup to its own package to avoid cyclic imports

* lint

* fix dashbaord extract, use the real datasource lookup in tests. IS IT BULLETPROOF YET?!

* fix dashbaord extract, use the real datasource lookup in tests. IS IT BULLETPROOF YET?!

* remove stale log

* consistent casing

* pass context to `createServiceAccount`

* filter out the special grafana ds
2022-07-28 16:40:26 +04:00
..
commit_helper.go Export: include section count in status updates (#52368) 2022-07-18 11:03:08 -04:00
dummy_job.go Export: include section count in status updates (#52368) 2022-07-18 11:03:08 -04:00
export_alerts.go
export_anno.go
export_auth.go
export_dash_thumbs.go
export_dash.go Previews: datasource permissions (#52747) 2022-07-28 16:40:26 +04:00
export_ds.go
export_files.go
export_kv_store.go
export_live.go
export_plugins.go Export: Export plugin settings (#52129) 2022-07-13 12:36:14 -07:00
export_snapshots.go
export_sys_playlists.go
export_sys_preferences.go
export_sys_short_url.go
export_sys_stars.go
export_usage.go
git_export_job.go Export: include section count in status updates (#52368) 2022-07-18 11:03:08 -04:00
service.go Export: include section count in status updates (#52368) 2022-07-18 11:03:08 -04:00
stopped_job.go
stub.go Export: Export plugin settings (#52129) 2022-07-13 12:36:14 -07:00
types.go Export: include section count in status updates (#52368) 2022-07-18 11:03:08 -04:00