Documentation
¶
Index ¶
Constants ¶
View Source
const ( Remote = true Local = false CredentialHelperCommand = "%s credentials %s" UnableToFetchError = err.ErrorF("Fetching from remote repository has failed: %v") UnableToCheckoutError = err.ErrorF("Unable to checkout reference %v: %v") )
View Source
const ( AnonymousAuthentication = iota UsernamePasswordAuthentication PrivateKeyAuthentication AzSpnAuthentication )
Authentication methods
View Source
const (
HttpUriFormat = "%s://%s%s"
)
View Source
const (
InvalidConfigurationObjectError = err.Error("expected GitConfig configuration object")
)
Variables ¶
This section is empty.
Functions ¶
func ServeCredentials ¶
func ServeCredentials(w we.ResponseWriter, r we.RequestScope) error
Types ¶
type Repository ¶ added in v0.0.9
type Repository struct {
// contains filtered or unexported fields
}
func (*Repository) Branches ¶ added in v0.0.9
func (r *Repository) Branches(remote bool) (branches []Branch, e error)
func (*Repository) ClearTTL ¶ added in v0.0.43
func (r *Repository) ClearTTL()
func (*Repository) Exec ¶ added in v0.0.9
func (r *Repository) Exec(parameters ...string) (*bytes.Buffer, error)
func (*Repository) Fetch ¶ added in v0.0.9
func (r *Repository) Fetch(label string) error
func (*Repository) Refresh ¶ added in v0.0.9
func (r *Repository) Refresh(label string) error
Click to show internal directories.
Click to hide internal directories.