imagescanning

package
v0.0.0-...-7d5d5ae Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

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

func NewAdapter

func NewAdapter(handler scan.Handler) *Adapter

func (Adapter) GetImageScanStatus

func (a Adapter) GetImageScanStatus(scanID string) (string, error)

func (Adapter) GetImageVulnerability

func (a Adapter) GetImageVulnerability(scanID string) (harbor.VulnerabilityReport, error)

func (Adapter) GetMetadata

func (a Adapter) GetMetadata() harbor.ScannerAdapterMetadata

func (Adapter) Scan

func (a Adapter) Scan(payload harbor.ScanRequest) (harbor.ScanResponse, error)

Jump to

Keyboard shortcuts

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