Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BranchOutput ¶
type Collector ¶
type Collector struct {
Name string `yaml:"name"`
Path string `yaml:"path"`
Parser string `yaml:"parser"`
Collectors []string `yaml:"collectors"`
}
Collector represents a single collect definition
type Output ¶
type Output struct {
Recommendations []*ProactionRecommendation `json:"recommendations,omitempty"`
Repos []*RepoOutput `json:"repos,omitempty"`
}
type ProactionRecommendation ¶
type RepoOutput ¶
type RepoOutput struct {
WorkflowInfo `json:",inline"`
ID int64 `json:"id"`
Owner string `json:"owner"`
Repo string `json:"repo"`
IsPublic bool `json:"isPublic"`
IsArchived bool `json:"isArchived"`
DefaultBranch string `json:"defaultBranch"`
IsFork bool `json:"isFork"`
Forks []string `json:"forks,omitempty"`
Parent string `json:"parent,omitempty"`
Head string `json:"head"`
// included when refInfo
Ref string `json:"ref"`
RefType string `json:"refType"`
// included in branches
Branches []BranchOutput `json:"branches,omitempty"`
// included in tags
Tags []TagOutput `json:"tags,omitempty"`
// included in commits
Commits []string `json:"commits,omitempty"`
}
type WorkflowInfo ¶
Click to show internal directories.
Click to hide internal directories.