mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 21:19:28 -06:00
72f934de01
* backend/dashboard snapshots: refactor leftover models and mocks * Move all dashboard snapshot-related models into the dashboardsnapshotservice package * Remove leftover dashboard-related mocks from the mockstore
14 lines
468 B
Go
14 lines
468 B
Go
package dashboardsnapshots
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Store interface {
|
|
CreateDashboardSnapshot(context.Context, *CreateDashboardSnapshotCommand) error
|
|
DeleteDashboardSnapshot(context.Context, *DeleteDashboardSnapshotCommand) error
|
|
DeleteExpiredSnapshots(context.Context, *DeleteExpiredSnapshotsCommand) error
|
|
GetDashboardSnapshot(context.Context, *GetDashboardSnapshotQuery) error
|
|
SearchDashboardSnapshots(context.Context, *GetDashboardSnapshotsQuery) error
|
|
}
|