Documentation ¶
Overview ¶
Package types holds sbom related types
Index ¶
Constants ¶
View Source
const ( ScanFilesystemType = "filesystem" // ScanFilesystemType defines the type for file-system scan ScanDaemonType = "daemon" // ScanDaemonType defines the type for daemon scan )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScanOptions ¶
type ScanOptions struct { Analyzers []string CheckDiskUsage bool MinAvailableDisk uint64 Timeout time.Duration WaitAfter time.Duration Fast bool UseMount bool OverlayFsScan bool }
ScanOptions defines the scan options
type ScanRequest ¶
type ScanRequest interface { Collector() string Type(ScanOptions) string ID() string }
ScanRequest defines the scan request interface
Click to show internal directories.
Click to hide internal directories.