Documentation
¶
Index ¶
- Variables
- func CpeMeta(cpe sdk.CpeMeta) error
- func Danger(str string) error
- func Download(url string, filename string) error
- func Error(format string, args ...interface{}) error
- func FlagErrorWrap(err error) error
- func IndicesBrowse(indices []sdk.IndicesMeta, search string, action func(index string) error) error
- func IndicesList(indices []sdk.IndicesMeta, search string) error
- func IndicesRows(indices []sdk.IndicesMeta, search string) []table.Row
- func Info(str string)
- func Json(data interface{})
- func JsonFile(data interface{}, filename string) error
- func NewProgress(total int)
- func PurlMeta(purl sdk.PurlMeta) error
- func PurlVulns(vulns []sdk.PurlVulnerability) error
- func ScanResults(results []models.ScanResultVulnerabilities) error
- func Stat(label string, value string)
- func Success(str string)
- func TermHeight() int
- func TermWidth() int
- func UpdateProgress(value int)
- func Viewport(index string, data interface{})
- type FlagError
Constants ¶
This section is empty.
Variables ¶
View Source
var Emerald = lipgloss.NewStyle().Foreground(lipgloss.Color("#34d399"))
View Source
var Gray = lipgloss.NewStyle().Foreground(lipgloss.Color("#dddddd"))
View Source
var Pantone = lipgloss.NewStyle().Foreground(lipgloss.Color("#6667ab"))
View Source
var Red = lipgloss.NewStyle().Foreground(lipgloss.Color("#ff0000"))
View Source
var White = lipgloss.NewStyle().Foreground(lipgloss.Color("#ffffff"))
Functions ¶
func FlagErrorWrap ¶
FlagErrorWrap FlagError returns a new FlagError that wraps the specified error.
func IndicesBrowse ¶
func IndicesList ¶
func IndicesList(indices []sdk.IndicesMeta, search string) error
func IndicesRows ¶
func IndicesRows(indices []sdk.IndicesMeta, search string) []table.Row
func PurlVulns ¶
func PurlVulns(vulns []sdk.PurlVulnerability) error
func ScanResults ¶
func ScanResults(results []models.ScanResultVulnerabilities) error
func TermHeight ¶
func TermHeight() int
func UpdateProgress ¶
func UpdateProgress(value int)
Types ¶
Click to show internal directories.
Click to hide internal directories.