Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrForbidden = errors.Error("forbidden") ErrNotFound = errors.Error("not found") ErrTokenNotFound = errors.Error("token not found") ErrTokenCreationFailed = errors.Error("token could not be created") ErrTokenRotationFailed = errors.Error("token could not be rotated") ErrTokenRevocationFailed = errors.Error("token could not be revoked") ErrLicenseRequired = errors.Error("enterprise license is required") )
View Source
const ( TypePersonal = "personal" TypeProject = "project" TypeGroup = "group" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitLab ¶
type GitLab struct {
// contains filtered or unexported fields
}
GitLab implements the application TokenSource for GitLab tokens.
func NewGitLabSource ¶
func (*GitLab) CreateToken ¶
type GitLabOption ¶
type GitLabOption func(*GitLab)
func WithDryRun ¶
func WithDryRun(dryRun bool) GitLabOption
Click to show internal directories.
Click to hide internal directories.