Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blockers ¶
type Blockers struct { Repo map[OrgRepo][]Blocker `json:"repo,omitempty"` Branch map[OrgRepoBranch][]Blocker `json:"branch,omitempty"` }
Blockers holds maps of issues that are blocking various repos/branches.
func FindAll ¶
func FindAll(ghc githubClient, log *logrus.Entry, label string, orgRepoTokensByOrg map[string]string, splitQueryByOrg bool) (Blockers, error)
FindAll finds issues with label in the specified orgs/repos that should block tide.
func (Blockers) GetApplicable ¶
GetApplicable returns the subset of blockers applicable to the specified branch.
type Issue ¶
type Issue struct { Number githubql.Int Title githubql.String URL githubql.String Repository struct { Name githubql.String Owner struct { Login githubql.String } } }
Issue holds graphql response data about issues
type OrgRepoBranch ¶
type OrgRepoBranch struct {
Org, Repo, Branch string
}
Click to show internal directories.
Click to hide internal directories.