Documentation
¶
Index ¶
- type ScorecardResult
- func (r *ScorecardResult) AsCSV(showDetails bool, logLevel zapcore.Level, writer io.Writer) error
- func (r *ScorecardResult) AsJSON(showDetails bool, logLevel zapcore.Level, writer io.Writer) error
- func (r *ScorecardResult) AsString(showDetails bool, logLevel zapcore.Level, writer io.Writer) error
- func (r *ScorecardResult) AsString2(showDetails bool, logLevel zapcore.Level, writer io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScorecardResult ¶
type ScorecardResult struct {
Repo string
Date string
Checks []checker.CheckResult
Metadata []string
}
func RunScorecards ¶
func (*ScorecardResult) AsJSON ¶
AsJSON outputs the result in JSON format with a newline at the end. If called on []ScorecardResult will create NDJson formatted output.
Click to show internal directories.
Click to hide internal directories.