Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackageRepositories ¶
type PackageRepositories struct { Package Repositories []Repository `json:"repositories"` }
PackageRepositories represents the repositories associated with a package
func (*PackageRepositories) AddRepositories ¶
func (pkg *PackageRepositories) AddRepositories(repos ...Repository)
AddRepositories adds repositories. It will ignore any repositories that are already associated with the package.
type Report ¶
type Report struct {
Results []Result `json:"results"`
}
Report details tally's findings
type Repository ¶
type Repository struct {
Name string `json:"name"`
}
Repository is a source code repository
type Result ¶
type Result struct { Repository Repository `json:"repository,omitempty"` Packages []Package `json:"packages,omitempty"` Result *models.ScorecardResult `json:"result,omitempty"` }
Result is the scorecard result for a repository, with any associated packages
Click to show internal directories.
Click to hide internal directories.