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: include alerts, thumbnails, usage stats, and short urls (#51938) 2022-07-11 16:25:40 -07:00
export_anno.go Export: include alerts, thumbnails, usage stats, and short urls (#51938) 2022-07-11 16:25:40 -07:00
export_auth.go Export: include alerts, thumbnails, usage stats, and short urls (#51938) 2022-07-11 16:25:40 -07:00
export_dash_thumbs.go Export: include alerts, thumbnails, usage stats, and short urls (#51938) 2022-07-11 16:25:40 -07:00
export_dash.go Previews: datasource permissions (#52747) 2022-07-28 16:40:26 +04:00
export_ds.go Export: include alerts, thumbnails, usage stats, and short urls (#51938) 2022-07-11 16:25:40 -07:00
export_files.go Export: support stopping exports (#51769) 2022-07-07 11:02:01 -07:00
export_kv_store.go Export: support stopping exports (#51769) 2022-07-07 11:02:01 -07:00
export_live.go Export: include alerts, thumbnails, usage stats, and short urls (#51938) 2022-07-11 16:25:40 -07:00
export_plugins.go Export: Export plugin settings (#52129) 2022-07-13 12:36:14 -07:00
export_snapshots.go Export: include alerts, thumbnails, usage stats, and short urls (#51938) 2022-07-11 16:25:40 -07:00
export_sys_playlists.go Export: include alerts, thumbnails, usage stats, and short urls (#51938) 2022-07-11 16:25:40 -07:00
export_sys_preferences.go Export: support stopping exports (#51769) 2022-07-07 11:02:01 -07:00
export_sys_short_url.go Export: include alerts, thumbnails, usage stats, and short urls (#51938) 2022-07-11 16:25:40 -07:00
export_sys_stars.go Export: save all dashboards to git (#48233) 2022-07-05 10:54:07 -07:00
export_usage.go Export: include alerts, thumbnails, usage stats, and short urls (#51938) 2022-07-11 16:25:40 -07:00
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 Export: support stopping exports (#51769) 2022-07-07 11:02:01 -07:00
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