Publicdasboards: Add annotations support (#56413)

adds annotations support for public dashboards
This commit is contained in:
owensmallwood
2022-10-18 19:48:20 -06:00
committed by GitHub
parent cc6245df8e
commit b2408dd7c5
21 changed files with 872 additions and 47 deletions
+1
View File
@@ -13,6 +13,7 @@ var (
ErrBaseTagLimitExceeded = errutil.NewBase(errutil.StatusBadRequest, "annotations.tag-limit-exceeded", errutil.WithPublicMessage("Tags length exceeds the maximum allowed."))
)
//go:generate mockery --name Repository --structname FakeAnnotationsRepo --inpackage --filename annotations_repository_mock.go
type Repository interface {
Save(ctx context.Context, item *Item) error
Update(ctx context.Context, item *Item) error