Documentation ¶
Index ¶
- func MustSetupGitHub(cfg *core.Configuration)
- type GitHub
- func (gh *GitHub) CreatePR(title, body, repoDir string) error
- func (gh *GitHub) GetCodeOwners() (owners OwnerMap, err error)
- func (gh *GitHub) ListBranches(maxAge int) error
- func (gh *GitHub) ListCodeOwners() (core.Ownership, error)
- func (gh *GitHub) ListReviewers() (reviewers Reviewers, err error)
- func (gh *GitHub) OpenCommit(m *core.Manifest, commit *core.GitCommit) error
- func (gh *GitHub) OpenCompareBranchPage(m *core.Manifest) error
- func (gh *GitHub) OpenCompareCommitsPage(m *core.Manifest, commit *core.GitCommit, ref string) error
- func (gh *GitHub) OpenPR(m *core.Manifest, pr string) error
- func (gh *GitHub) OpenPage(m *core.Manifest, p ...string) error
- func (gh *GitHub) PopulateOwners(m *core.Manifest) error
- func (gh *GitHub) SearchIssues(issueType, role string, closed, openAll bool) error
- type OwnerMap
- type Reviewers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustSetupGitHub ¶
func MustSetupGitHub(cfg *core.Configuration)
Types ¶
type GitHub ¶
type GitHub struct {
// contains filtered or unexported fields
}
func MustInitGitHub ¶
func MustInitGitHub(cfg *core.Configuration) *GitHub
func (*GitHub) GetCodeOwners ¶
func (*GitHub) ListBranches ¶
func (*GitHub) ListReviewers ¶
func (*GitHub) OpenCommit ¶
func (*GitHub) OpenCompareBranchPage ¶
func (*GitHub) OpenCompareCommitsPage ¶
Click to show internal directories.
Click to hide internal directories.