Documentation
¶
Index ¶
- Variables
- func ClearScreen()
- 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) (string, 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 PurlInstance(purl packageurl.PackageURL) error
- func PurlMeta(purl sdk.PurlMeta) error
- func PurlVulns(vulns []sdk.PurlVulnerability) error
- func ScanResults(results []models.ScanResultVulnerabilities) error
- func SingleColumnResults(results []string, title string) error
- func Stat(label string, value string)
- func Success(str string)
- func TermHeight() int
- func TermWidth() int
- func TokensBrowse(tokens []sdk.TokenData) (string, error)
- func TokensList(tokens []sdk.TokenData) error
- func TokensRows(tokens []sdk.TokenData) []table.Row
- 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("#cccccc"))
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 ClearScreen ¶ added in v0.6.1
func ClearScreen()
func FlagErrorWrap ¶
FlagErrorWrap FlagError returns a new FlagError that wraps the specified error.
func IndicesBrowse ¶
func IndicesList ¶
func IndicesRows ¶
func PurlInstance ¶ added in v0.7.3
func PurlInstance(purl packageurl.PackageURL) error
func ScanResults ¶
func ScanResults(results []models.ScanResultVulnerabilities) error
func SingleColumnResults ¶ added in v0.5.1
func TermHeight ¶
func TermHeight() int
func TokensBrowse ¶ added in v0.6.1
func TokensList ¶ added in v0.6.1
func TokensList(tokens []sdk.TokenData) error
func TokensRows ¶ added in v0.6.1
func UpdateProgress ¶
func UpdateProgress(value int)
Types ¶
Click to show internal directories.
Click to hide internal directories.