2022-06-14 12:41:29 -05:00
|
|
|
package dashboardsnapshots
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
)
|
|
|
|
|
2022-06-17 08:09:01 -05:00
|
|
|
//go:generate mockery --name Service --structname MockService --inpackage --filename service_mock.go
|
2022-06-14 12:41:29 -05:00
|
|
|
type Service interface {
|
2022-06-17 08:09:01 -05:00
|
|
|
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
|
2022-06-14 12:41:29 -05:00
|
|
|
}
|