bundle

package
v0.0.0-...-b41f85f Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

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