package
2.2.1+incompatible
Repository: https://github.com/goharbor/harbor.git
Documentation: pkg.go.dev

# Functions

GenerateNativeSummary generates the report summary for the native report.
GenerateSummary is a helper function to generate report summary based on the given report.
Merge merge report r1 and r2.
MergeNativeReport merge report r1 and r2.
MergeNativeSummary merge vuln.NativeReportSummary together.
MergeSummary merge summary s1 and s2.
NewManager news basic manager.
ResolveData is a helper func to parse the JSON data with the given mime type.
WithArtifactDigest is an option of setting artifact digest.
WithCVEAllowlist is an option of setting CVE allowlist.

# Variables

SupportedGenerators declares mappings between mime type and summary generator func.
SupportedMergers declares mappings between mime type and report merger func.
SupportedMimes indicates what mime types are supported to render at UI end.
SupportedSummaryMergers declares mappings between mime type and summary merger func.

# Structs

Options provides options for getting the report w/ summary.

# Interfaces

Manager is used to manage the scan reports.

# Type aliases

Merger is a helper function to merge report together.
Option for getting the report w/ summary with func template way.
SummaryGenerator is a func template which used to generated report summary for relevant mime type.
SummaryMerger is a helper function to merge summary together.