Documentation
¶
Overview ¶
Package gitlab contains Gitlab specific [token.Provider]s.
Index ¶
Constants ¶
View Source
const ( TokenTypeJob = "job" TokenTypePAT = "pat" )
Contains the different types of tokens that can be retrieved.
Variables ¶
View Source
var Providers = []shared.Provider{ envProvider(), &GlabProvider{}, }
Providers is a list of providers that can be used to retrieve a token for Gitlab.
Functions ¶
This section is empty.
Types ¶
type GlabProvider ¶
type GlabProvider struct{}
GlabProvider implements the [token.Provider] interface using the Gitlab CLI (glab) to retrieve a token.
Click to show internal directories.
Click to hide internal directories.