Documentation
¶
Overview ¶
Package registry reads the repos a registry file names: which exist, who owns each, where each is checked out, and which provider hosts it.
Index ¶
Constants ¶
const ( GitHub = "github" Bitbucket = "bitbucket" )
The providers a repo can name. A file names its default, and an entry can override it.
Variables ¶
var Providers = []string{GitHub, Bitbucket}
Providers is every provider a registry may name.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct {
Name string
// Owner is the GitHub owner, or the Bitbucket project key.
Owner string
// Slug is owner/name, which identifies the repo on its provider. Two Bitbucket projects
// can each hold a repo of one name.
Slug string
Path string
Provider string
}
Repo is one active registry entry.