Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicGitAuthenticator ¶
func (*BasicGitAuthenticator) IsAvailable ¶
func (t *BasicGitAuthenticator) IsAvailable() bool
func (*BasicGitAuthenticator) ResolveAuth ¶
func (t *BasicGitAuthenticator) ResolveAuth() (*http.BasicAuth, error)
type GitAuthenticator ¶
type GitHubAuthenticator ¶
type GitHubAuthenticator struct { AppID string AppInstallationID string PrivateKey string // contains filtered or unexported fields }
func (*GitHubAuthenticator) IsAvailable ¶
func (g *GitHubAuthenticator) IsAvailable() bool
func (*GitHubAuthenticator) ResolveAuth ¶
func (g *GitHubAuthenticator) ResolveAuth() (*githttp.BasicAuth, error)
type TokenGitAuthenticator ¶
type TokenGitAuthenticator struct {
Token string
}
func (*TokenGitAuthenticator) IsAvailable ¶
func (t *TokenGitAuthenticator) IsAvailable() bool
func (*TokenGitAuthenticator) ResolveAuth ¶
func (t *TokenGitAuthenticator) ResolveAuth() (*http.BasicAuth, error)
Click to show internal directories.
Click to hide internal directories.