Documentation
¶
Index ¶
- func LookupBranch(name string) (string, error)
- func LookupReviewers(name string) []string
- func ParseRepo(repo string) (host, project, name string)
- func RepoPath(repo string) string
- func RepoURL(repo string) string
- func ValidateBranch(repo string, ch chan<- string) error
- func ValidateRequiredConfig(opts ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LookupBranch ¶
LookupBranch returns the target branch for the given repository
func LookupReviewers ¶
LookupReviewers returns the list of reviewers for the given repository
func ValidateBranch ¶
ValidateBranch returns an error if the current git branch is the source branch
func ValidateRequiredConfig ¶
ValidateRequiredConfig checks viper and returns an error if a key isn't set
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.