mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 00:25:46 -06:00
15 lines
528 B
Go
15 lines
528 B
Go
package dashverimpl
|
|
|
|
import (
|
|
"context"
|
|
|
|
dashver "github.com/grafana/grafana/pkg/services/dashboardversion"
|
|
)
|
|
|
|
type store interface {
|
|
Get(context.Context, *dashver.GetDashboardVersionQuery) (*dashver.DashboardVersion, error)
|
|
GetBatch(context.Context, *dashver.DeleteExpiredVersionsCommand, int, int) ([]interface{}, error)
|
|
DeleteBatch(context.Context, *dashver.DeleteExpiredVersionsCommand, []interface{}) (int64, error)
|
|
List(context.Context, *dashver.ListDashboardVersionsQuery) ([]*dashver.DashboardVersionDTO, error)
|
|
}
|