mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 20:54:22 -06:00
bdf50f3dd2
* Split GetDashboarVersions method * Add sqlstore dialect and tests * Fix signature of PAtchPreference * Add GetDialect to sqlstore and remove GetDashboardVersions * Add GetDialect to db interface * Implement List * add deleted test function * Remove GetDialect from sqlstore interface * Remove deleted method from mock * Refactor test
12 lines
296 B
Go
12 lines
296 B
Go
package dashver
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Service interface {
|
|
Get(context.Context, *GetDashboardVersionQuery) (*DashboardVersion, error)
|
|
DeleteExpired(context.Context, *DeleteExpiredVersionsCommand) error
|
|
List(context.Context, *ListDashboardVersionsQuery) ([]*DashboardVersionDTO, error)
|
|
}
|