grafana/pkg/services/folder/registry.go
2023-10-06 15:02:34 +02:00

14 lines
353 B
Go

package folder
import (
"context"
"github.com/grafana/grafana/pkg/services/auth/identity"
)
type RegistryService interface {
DeleteInFolder(ctx context.Context, orgID int64, folderUID string, user identity.Requester) error
CountInFolder(ctx context.Context, orgID int64, folderUID string, user identity.Requester) (int64, error)
Kind() string
}