package
0.1.5
Repository: https://github.com/google/osv-scalibr.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package list provides a public list of SCALIBR-internal extraction plugins.
No description provided by the author
Package osv provides a Wrapper for osv plugins.
No description provided by the author
Package simplefileapi provides a fake implementation of the filesystem.FileAPI interface.

# Functions

ExtractorErrorToFileExtractedResult converts an error returned by an extractor to a FileExtractedResult for stats collection.
InitWalkContext initializes the walk context for a filesystem walk.
Run runs the specified extractors and returns their extraction results, as well as info about whether the plugin runs completed successfully.
RunFS runs the specified extractors and returns their extraction results, as well as info about whether the plugin runs completed successfully.

# Variables

ErrExtractorMemoryLimitExceeded is returned when an extractor skips a file due to the extraction process exceeding a configured memory limit.
ErrNotRelativeToScanRoots is returned when one of the file or directory to be retrieved or skipped is not relative to any of the scan roots.

# Structs

Config stores the config settings for an extraction run.
ScanInput describes one file to extract from.

# Interfaces

Extractor is the filesystem-based inventory extraction plugin, used to extract inventory data from the filesystem such as OS and language packages.
FileAPI is the interface for accessing file information and path.