Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApprovedCandidate ¶
type ApprovedCandidate struct {
PullRequest ApprovedPullRequest `yaml:"pullRequest"`
}
type ApprovedCandidateList ¶
type ApprovedCandidateList struct {
Items []ApprovedCandidate `yaml:items`
}
ApprovedCandidateList represents a list of approved candidates This is used for parsing candidate list YAML, ignoring YAML comments.
type ApprovedPullRequest ¶
type Candidate ¶
type Candidate struct {
yaml.CommentedMapSlice `yaml:"pullRequest"`
Decision string `yaml:"-"`
DecisionReason string `yaml:"-"`
PMScore string `yaml:"-"`
Score float32 `yaml:"-"`
Description string `yaml:"-"`
PullRequestURL string `yaml:"-"`
BugNumber string `yaml:"-"`
Component string `yaml:"-"`
Severity string `yaml:"-"`
}
Candidate represents a single pull request that is candidate for approval. This type contain pullRequest field that is used to describe the candidate metadata (bug, severity, etc) as YAML comments.
type CandidateList ¶
type CandidateList struct {
Items []Candidate `yaml:"items"`
}
CandidateList represets a list of candidates to approve
Click to show internal directories.
Click to hide internal directories.