Usagestats: Add interface for stats for user.Service and add Usagestats for case_insensitive_login (#66742)

* add interface for stats

* add user service to registry
This commit is contained in:
Eric Leijonmarck
2023-04-18 14:34:40 +01:00
committed by GitHub
parent 75fc678d8a
commit 6b8c77c70c
4 changed files with 22 additions and 0 deletions
+3
View File
@@ -2,9 +2,12 @@ package user
import (
"context"
"github.com/grafana/grafana/pkg/registry"
)
type Service interface {
registry.ProvidesUsageStats
Create(context.Context, *CreateUserCommand) (*User, error)
CreateServiceAccount(context.Context, *CreateUserCommand) (*User, error)
Delete(context.Context, *DeleteUserCommand) error