Documentation
¶
Overview ¶
Package scope turns the configured sources into the people, teams and repositories the inventory follows, and the searches that find them.
Index ¶
Constants ¶
const MaxQueryLen = 250
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
People []string `json:"people"`
Teams []string `json:"teams"`
Repos []string `json:"repos"`
Watch []string `json:"watch"`
}
Config is the scope [plugins.github.scope] configures.
type Resolved ¶
type Resolved struct {
People []string // sorted, lower-case, unique: scope people plus team members
Teams []string
// MyTeams are the teams of Teams the viewer belongs to.
MyTeams []string
Repos []string // sorted, unique; the slow sweep appends discovered ones
Watch []string
Viewer string
}
func (Resolved) ClosedQueries ¶
ClosedQueries find the pull requests of the area and of the scope repositories closed or merged since the given instant.
func (Resolved) DiscoveryQueries ¶
DiscoveryQueries find where the area opened pull requests since the given instant, any state.