scanner

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnabledScannerCount added in v1.5.0

func EnabledScannerCount(cfg *config.Config) int

EnabledScannerCount returns how many scanners are enabled in the given config.

func ScanWithConfig

func ScanWithConfig(ctx context.Context, cfg *config.Config, progress func(done int)) (*types.ScanResult, error)

Types

type CategoryScanner

type CategoryScanner interface {
	Name() string
	Risk() types.RiskLevel
	Scan(ctx context.Context, cfg *config.Config) ([]types.Item, error)
}

CategoryScanner scans a single cleanup category.

Jump to

Keyboard shortcuts

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