mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 11:44:26 -06:00
f69c9bd704
* Split Delete expired dashboard version store * Add method to fakes * Fix lint * Fix lint 2 * Use split store method in cleanup * Add tests * Remove DeleteExpiredVersions from sqlstore * Fix lint * Fix integration tests
11 lines
230 B
Go
11 lines
230 B
Go
package dashver
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Service interface {
|
|
Get(ctx context.Context, query *GetDashboardVersionQuery) (*DashboardVersion, error)
|
|
DeleteExpired(ctx context.Context, cmd *DeleteExpiredVersionsCommand) error
|
|
}
|