bundle

package
v0.0.0-...-38d5e0a Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 16 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

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

Scanner represents a scanner for analyzing bundle images and their related images opsClient: The OPS API client for vulnerability scanning

func NewScanner

func NewScanner(client *ops.Client) *Scanner

NewScanner creates a new scanner instance client: The OPS API client to use for scanning

func (*Scanner) Scan

func (s *Scanner) Scan(ctx context.Context, image models.Image) (models.ScanResults, error)

Scan performs vulnerability scanning on an image and its related images ctx: The context for the operation image: The image to scan Returns a map of scan results for each image and any error that occurred

Jump to

Keyboard shortcuts

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