Versions in this module Expand all Collapse all v1 v1.0.0 Apr 28, 2022 Changes in this version + type Check interface + Info func() CheckInfo + Init func(ba gorpa.Application) error + RunCmp func(pkg *gorpa.Component) ([]Finding, error) + RunPkg func(pkg *gorpa.Package) ([]Finding, error) + func Checks() []Check + func ComponentCheck(name, desc string, chk func(pkg *gorpa.Component) ([]Finding, error)) Check + func PackageCheck(name, desc string, tpe gorpa.PackageType, ...) Check + type CheckInfo struct + AppliesToType *gorpa.PackageType + Description string + Name string + PackageCheck bool + type Finding struct + Check string + Component *gorpa.Component + Description string + Error bool + Package *gorpa.Package + func Run(application gorpa.Application, options ...RunOpt) ([]Finding, []error) + func (f Finding) MarshalJSON() ([]byte, error) + type RunOpt func(*runOptions) + func OnComponents(n StringSet) RunOpt + func OnPackages(n StringSet) RunOpt + func WithChecks(n []string) RunOpt + type StringSet map[string]struct