Documentation
¶
Index ¶
- func ProgressBarFinish(bar ProgressBar)
- func RenderDetectionCVEs(execution *core.Execution, cves []*core.CVE)
- func RenderDetectionResults(detection *core.Detection, err error)
- type ProgressBar
- type UiDetectionVertex
- func (vertex *UiDetectionVertex) RenderExcludedLine(excludedVersions []*semver.Version)
- func (vertex *UiDetectionVertex) RenderHeader()
- func (vertex *UiDetectionVertex) RenderMatchingLine(constraint *semver.Constraints)
- func (vertex *UiDetectionVertex) RenderPossibleVersions(possibleVersions []*semver.Version)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProgressBarFinish ¶ added in v0.1.0
func ProgressBarFinish(bar ProgressBar)
func RenderDetectionCVEs ¶ added in v0.1.0
func RenderDetectionResults ¶
Render results of the given detection
Types ¶
type ProgressBar ¶ added in v0.1.0
func ProgressBarStart ¶ added in v0.1.0
func ProgressBarStart(r io.Reader, total int64) ProgressBar
type UiDetectionVertex ¶
type UiDetectionVertex struct {
// contains filtered or unexported fields
}
func NewDetectionVertex ¶
func NewDetectionVertex(versions []*semver.Version) *UiDetectionVertex
func (*UiDetectionVertex) RenderExcludedLine ¶
func (vertex *UiDetectionVertex) RenderExcludedLine(excludedVersions []*semver.Version)
Render all excluded rules on single line (bottom)
func (*UiDetectionVertex) RenderHeader ¶
func (vertex *UiDetectionVertex) RenderHeader()
Render vertex header with major versions numbers
func (*UiDetectionVertex) RenderMatchingLine ¶
func (vertex *UiDetectionVertex) RenderMatchingLine(constraint *semver.Constraints)
Render a detected rule line
func (*UiDetectionVertex) RenderPossibleVersions ¶
func (vertex *UiDetectionVertex) RenderPossibleVersions(possibleVersions []*semver.Version)
Render footer, with possible versions
Click to show internal directories.
Click to hide internal directories.