 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasMinimumScopes ¶ added in v1.6.0
func Login ¶ added in v1.6.0
func Login(opts *LoginOptions) error
Types ¶
type GitCredentialFlow ¶ added in v1.6.0
type GitCredentialFlow struct {
	Executable string
	// contains filtered or unexported fields
}
    func (*GitCredentialFlow) Prompt ¶ added in v1.6.0
func (flow *GitCredentialFlow) Prompt(hostname string) error
func (*GitCredentialFlow) Scopes ¶ added in v1.6.0
func (flow *GitCredentialFlow) Scopes() []string
func (*GitCredentialFlow) Setup ¶ added in v1.6.0
func (flow *GitCredentialFlow) Setup(hostname, username, authToken string) error
func (*GitCredentialFlow) ShouldSetup ¶ added in v1.6.0
func (flow *GitCredentialFlow) ShouldSetup() bool
type LoginOptions ¶ added in v1.6.0
type MissingScopesError ¶ added in v1.6.0
type MissingScopesError struct {
	MissingScopes []string
}
    func (MissingScopesError) Error ¶ added in v1.6.0
func (e MissingScopesError) Error() string
 Click to show internal directories. 
   Click to hide internal directories.