report

package
v0.0.0-...-c30fbfa Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reporter

type Reporter interface {
	ReportScanResults(mergedResults *scanner.MergedResults, layerCommands []*image_helper.FsLayerCommand) error
	ReportScanError(scanError *models.ScanError) error
	ReportScanContentAnalysis(mergedResults *analyzer.MergedResults) error
}

func CreateReporter

func CreateReporter(ctx context.Context, conf *config.Config) Reporter

type ReporterImpl

type ReporterImpl struct {
	// contains filtered or unexported fields
}

nolint:containedctx

func (*ReporterImpl) ReportScanContentAnalysis

func (r *ReporterImpl) ReportScanContentAnalysis(mergedResults *analyzer.MergedResults) error

func (*ReporterImpl) ReportScanError

func (r *ReporterImpl) ReportScanError(scanError *models.ScanError) error

func (*ReporterImpl) ReportScanResults

func (r *ReporterImpl) ReportScanResults(
	mergedResults *scanner.MergedResults,
	layerCommands []*image_helper.FsLayerCommand,
) error

Jump to

Keyboard shortcuts

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