mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -06:00
18867d6d78
* Service account: Ensure that you can revert only service accounts which you can access * Remove prettier messup with docs * Remove prettier messup with docs * Prettier run
14 lines
522 B
Go
14 lines
522 B
Go
package database
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var (
|
|
ErrServiceAccountAlreadyExists = errors.New("service account already exists")
|
|
ErrServiceAccountTokenNotFound = errors.New("service account token not found")
|
|
ErrInvalidTokenExpiration = errors.New("invalid SecondsToLive value")
|
|
ErrDuplicateToken = errors.New("service account token with given name already exists in the organization")
|
|
ErrServiceAccountAndTokenMismatch = errors.New("API token does not belong to the given service account")
|
|
)
|