Documentation
¶
Overview ¶
Package token contains functions for getting an authenticated token from a user's machine for a given VCS provider.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrNoToken ¶
type ErrNoToken []error
ErrNoToken is returned when no token is found in the configured credential providers.
func (ErrNoToken) Error ¶
func (errs ErrNoToken) Error() string
Error returns the error message for ErrNoToken.
func (ErrNoToken) Unwrap ¶
func (errs ErrNoToken) Unwrap() []error
Unwrap returns the errors that caused the ErrNoToken error.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
github
Package github implements [shared.Provider] for Github.
|
Package github implements [shared.Provider] for Github. |
|
gitlab
Package gitlab contains Gitlab specific [token.Provider]s.
|
Package gitlab contains Gitlab specific [token.Provider]s. |
|
shared
Package shared contains shared provider implementations.
|
Package shared contains shared provider implementations. |
Click to show internal directories.
Click to hide internal directories.