Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultFormatter ¶
type DefaultFormatter struct { }
func (DefaultFormatter) PrintTransgressions ¶
func (d DefaultFormatter) PrintTransgressions(transgressions []match.Transgression, redacted bool) (string, error)
type Formatter ¶
type Formatter interface {
PrintTransgressions([]match.Transgression, bool) (string, error)
}
func GetFormatter ¶
type JsonFormatter ¶
type JsonFormatter struct { }
func (JsonFormatter) PrintTransgressions ¶
func (j JsonFormatter) PrintTransgressions(transgressions []match.Transgression, redacted bool) (string, error)
type SarifFormatter ¶
type SarifFormatter struct { }
func (SarifFormatter) PrintTransgressions ¶
func (s SarifFormatter) PrintTransgressions(transgressions []match.Transgression, redacted bool) (string, error)
Click to show internal directories.
Click to hide internal directories.