Documentation ¶
Index ¶
- type Scanner
- func (scanner *Scanner) AddDetector(detector interfaces.Detector)
- func (scanner *Scanner) GetFilesWhichCouldNotBeScanned() chan string
- func (scanner *Scanner) GetNumberOfFilesScanned() int
- func (scanner *Scanner) GetScannedFiles() chan string
- func (scanner *Scanner) IsRunning() bool
- func (scanner *Scanner) SetOptionLogFilesWhichCouldNotBeScanned()
- func (scanner *Scanner) SetOptionLogScannedFiles()
- func (scanner *Scanner) StartScanning(numberOfParallelScanners int)
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
}
func NewScanner ¶
func NewScanner(queuedFiles chan interfaces.File, output interfaces.OutputFormatter, llm interfaces.LlmConnector) *Scanner
func (*Scanner) AddDetector ¶
func (scanner *Scanner) AddDetector(detector interfaces.Detector)
AddDetector adds a new detector to the scanner so that when the scan is started the added detectors are used to alert on findings
func (*Scanner) GetFilesWhichCouldNotBeScanned ¶
func (*Scanner) GetNumberOfFilesScanned ¶
GetNumberOfFilesScanned returns the number of files which were already scanned
func (*Scanner) GetScannedFiles ¶
func (*Scanner) SetOptionLogFilesWhichCouldNotBeScanned ¶
func (scanner *Scanner) SetOptionLogFilesWhichCouldNotBeScanned()
func (*Scanner) SetOptionLogScannedFiles ¶
func (scanner *Scanner) SetOptionLogScannedFiles()
func (*Scanner) StartScanning ¶
StartScanning starts the scanning routine.
Click to show internal directories.
Click to hide internal directories.