vulnerabilities

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReport

func NewReport(workload kube.Object, vulnerabilityReportsDefined bool, reports []model.NamedVulnerabilityReport) (flexLayout component.FlexLayout)

NewReport creates a new view component for displaying the specified ContainerImageScanReport.

func NewSummarySections

func NewSummarySections(summary *v1alpha1.VulnerabilitySummary) []component.SummarySection

func NewVulnerabilitiesSummary

func NewVulnerabilitiesSummary(title string, summary v1alpha1.VulnerabilitySummary) *component.Summary

Types

type BySeverity added in v0.2.2

type BySeverity struct{ VulnerabilityItems }

BySeverity implements sort.Interface by providing Less and using the Len and Swap methods of the embedded VulnerabilityItems value.

func (BySeverity) Less added in v0.2.2

func (s BySeverity) Less(i, j int) bool

type VulnerabilityItems added in v0.2.2

type VulnerabilityItems []starboard.Vulnerability

func (VulnerabilityItems) Len added in v0.2.2

func (s VulnerabilityItems) Len() int

func (VulnerabilityItems) Swap added in v0.2.2

func (s VulnerabilityItems) Swap(i, j int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL