mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 01:32:13 +08:00
16 lines
497 B
Go
16 lines
497 B
Go
package annotationsimpl
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/grafana/grafana/pkg/services/annotations"
|
|
)
|
|
|
|
type store interface {
|
|
Add(ctx context.Context, item *annotations.Item) error
|
|
Update(ctx context.Context, item *annotations.Item) error
|
|
Get(ctx context.Context, query *annotations.ItemQuery) ([]*annotations.ItemDTO, error)
|
|
Delete(ctx context.Context, params *annotations.DeleteParams) error
|
|
GetTags(ctx context.Context, query *annotations.TagsQuery) (annotations.FindTagsResult, error)
|
|
}
|