Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigStore ¶ added in v1.17.0
type ConfigStore struct {
// contains filtered or unexported fields
}
ConfigStore holds user-submitted config overrides mapped by ID.
func (*ConfigStore) Delete ¶ added in v1.17.0
func (cs *ConfigStore) Delete(id string)
Delete removes a config from the store.
type FileGroup ¶
type FileGroup struct {
File string
Results []model.IndexedResult
}
FileGroup organizes results by file for template rendering
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
Scanner handles cloning and scanning operations
func NewScanner ¶
NewScanner creates a scanner with optional config overrides
func (*Scanner) DefaultConfig ¶ added in v1.17.0
DefaultConfig returns the effective base configuration (no session override applied).
func (*Scanner) RunLocalScan ¶
func (sc *Scanner) RunLocalScan(ctx context.Context, sess *model.ScanSession)
RunLocalScan scans a local directory or file
func (*Scanner) RunOrgScan ¶
func (sc *Scanner) RunOrgScan(ctx context.Context, sess *model.ScanSession)
RunOrgScan lists repos in an org and scans each one
func (*Scanner) RunRepoScan ¶
func (sc *Scanner) RunRepoScan(ctx context.Context, sess *model.ScanSession)
RunRepoScan clones a repo and scans it, sending progress to the session
Click to show internal directories.
Click to hide internal directories.