mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 10:03:33 -06:00
16 lines
547 B
Go
16 lines
547 B
Go
|
package dashboardsnapshots
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"github.com/grafana/grafana/pkg/models"
|
||
|
)
|
||
|
|
||
|
type Service interface {
|
||
|
CreateDashboardSnapshot(context.Context, *models.CreateDashboardSnapshotCommand) error
|
||
|
DeleteDashboardSnapshot(context.Context, *models.DeleteDashboardSnapshotCommand) error
|
||
|
DeleteExpiredSnapshots(context.Context, *models.DeleteExpiredSnapshotsCommand) error
|
||
|
GetDashboardSnapshot(context.Context, *models.GetDashboardSnapshotQuery) error
|
||
|
SearchDashboardSnapshots(context.Context, *models.GetDashboardSnapshotsQuery) error
|
||
|
}
|