package
1.20.0
Repository: https://github.com/artifacthub/hub.git
Documentation: pkg.go.dev

# Functions

New creates a new Scanner instance.
WithImageScanner allows providing a specific ImageScanner implementation for a Scanner instance.

# Variables

ErrImageNotFound indicates that the image provided was not found in the registry.
ErrSchemaV1NotSupported indicates that the image provided is using a v1 schema which is not supported.

# Structs

ImageScannerMock is an ImageScanner mock implementation.
Scanner is in charge of scanning packages' snapshots for security vulnerabilities.
TrivyScanner is an ImageScanner implementation that uses Trivy to scan containers images for security vulnerabilities.

# Interfaces

ImageScanner describes the methods an ImageScanner implementation must provide.