Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONReporter ¶ added in v0.0.3
type JSONReporter struct {
// contains filtered or unexported fields
}
JSONReporter reports violations in JSON format.
func NewJSONReporter ¶ added in v0.0.3
func NewJSONReporter(writer io.Writer) *JSONReporter
NewJSONReporter creates a new JSONReporter.
type SarifReporter ¶ added in v0.0.123
type SarifReporter struct {
// contains filtered or unexported fields
}
SarifReporter reports violations in SARIF format.
func NewSarifReporter ¶ added in v0.0.123
func NewSarifReporter(writer io.Writer, filename string) *SarifReporter
NewSarifReporter creates a new SarifReporter.
type TextReporter ¶
type TextReporter struct {
// contains filtered or unexported fields
}
TextReporter is a simple reporter that writes plain text to an io.Writer.
func NewTextReporter ¶
NewTextReporter creates a new TextReporter.
Click to show internal directories.
Click to hide internal directories.