Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidGitHubConfigURL = fmt.Errorf("invalid config URL, should point to an organization or repository")
Functions ¶
This section is empty.
Types ¶
type GitHubConfig ¶
type GitHubConfig struct {
Scope GitHubScope
Organization string
Repository string
URL string
}
func NewGitHubConfig ¶
func NewGitHubConfig(gitHubURL string) (*GitHubConfig, error)
type GitHubScope ¶
type GitHubScope int
const ( GitHubScopeUnknown GitHubScope = iota GitHubScopeOrganization GitHubScopeRepository )
Click to show internal directories.
Click to hide internal directories.