Documentation ¶
Index ¶
- Constants
- func Limit(s string, num int) string
- func OutputCSV(res []model.ScanImageResult) error
- func OutputJSON(res []model.ScanImageResult) error
- func OutputStdout(verbose bool, pkgType string, results []model.ScanImageResult) error
- func OutputStream(spend time.Duration, results []model.ScanImageResult, stdstream StdStream) error
- func Repeat(s string, num int) string
- type StdStream
Constants ¶
View Source
const ( JSON = "json" CSV = "csv" STDOUT = "stdout" )
Variables ¶
This section is empty.
Functions ¶
func OutputCSV ¶
func OutputCSV(res []model.ScanImageResult) error
func OutputJSON ¶
func OutputJSON(res []model.ScanImageResult) error
func OutputStdout ¶
func OutputStdout(verbose bool, pkgType string, results []model.ScanImageResult) error
func OutputStream ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.