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 the configuration and behavior of a scanner.
func New ¶
func New(pluginName, configPath, reportFormat string, additionalArgs []string, concurrentJobs int, logger hclog.Logger) *Scanner
New creates a new Scanner instance with the provided configuration.
func (*Scanner) PrepareScanArgs ¶ added in v0.2.0
func (s *Scanner) PrepareScanArgs(cfg *config.Config, repos []shared.RepositoryParams, targetPath, outputPath string) ([]shared.ScannerScanRequest, error)
PrepareScanArgs prepares the arguments needed for the scan operation with the provided configuration.
func (*Scanner) ScanRepos ¶
func (s *Scanner) ScanRepos(cfg *config.Config, scanArgs []shared.ScannerScanRequest) (shared.GenericLaunchesResult, error)
ScanRepos scans multiple repositories concurrently and returns the aggregated results.
Click to show internal directories.
Click to hide internal directories.