Documentation
¶
Overview ¶
Package identity resolves live git-host identities and refreshes config caches.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CredentialSource ¶
type CredentialSource string
CredentialSource identifies which configured credential was used.
const ( // SourceGit means the profile's git credentials provide the posting identity. SourceGit CredentialSource = "git" // SourceReviewer means reviewer_credentials provide the posting identity. SourceReviewer CredentialSource = "reviewer_credentials" )
type ProfileResult ¶
type ProfileResult struct {
Profile string
CredentialSource CredentialSource
Host string
Identity gitprovider.Identity
PreviousIdentityCache string
IdentityCacheUpdated bool
}
ProfileResult describes one refreshed profile identity.
Click to show internal directories.
Click to hide internal directories.