Documentation ¶
Index ¶
Constants ¶
View Source
const ( LISTMARK = "*" COLON = ":" SPACE = " " TAB = " " NEWLINE = "\n" )
Variables ¶
View Source
var AlertLabels = map[int]string{ types.InfoLevel: "INFO", types.WarnLevel: "WARN", types.FatalLevel: "FATAL", types.PassLevel: "PASS", types.SkipLevel: "SKIP", types.IgnoreLevel: "IGNORE", }
Functions ¶
This section is empty.
Types ¶
type JsonDetail ¶
type JsonOutputFormat ¶
type JsonOutputFormat struct { ImageName string `json:"image,omitempty"` Summary JsonSummary `json:"summary"` Details []*JsonDetail `json:"details"` }
type JsonSummary ¶
type JsonWriter ¶
func (JsonWriter) Write ¶
func (jw JsonWriter) Write(assessMap types.AssessmentMap) (abend bool, err error)
type ListWriter ¶
func (ListWriter) Write ¶
func (lw ListWriter) Write(assessMap types.AssessmentMap) (abend bool, err error)
type SarifWriter ¶ added in v0.3.14
func (SarifWriter) Write ¶ added in v0.3.14
func (sw SarifWriter) Write(assessMap types.AssessmentMap) (abend bool, err error)
Click to show internal directories.
Click to hide internal directories.