Documentation ¶
Index ¶
- type Detector
- type File
- type Finding
- type FindingInstance
- func (f FindingInstance) GetContainsValue() bool
- func (f FindingInstance) GetFile() LoadedFile
- func (f FindingInstance) GetFindingPriority() FindingPriority
- func (f FindingInstance) GetIsCompleteFileImportant() bool
- func (f FindingInstance) GetName() string
- func (f FindingInstance) GetValue() string
- type FindingPriority
- type LlmConnector
- type LoadedFile
- type OutputFormatter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Detector ¶
type Detector interface { Check(OutputFormatter, LoadedFile) error Inject(llm LlmConnector) }
type Finding ¶
type Finding interface { GetName() string GetFile() LoadedFile GetContainsValue() bool GetValue() string GetIsCompleteFileImportant() bool GetFindingPriority() FindingPriority }
type FindingInstance ¶
type FindingInstance struct { File LoadedFile Name string Value string ContainsValue bool IsCompleteFileImportant bool Priority FindingPriority }
func (FindingInstance) GetContainsValue ¶
func (f FindingInstance) GetContainsValue() bool
func (FindingInstance) GetFile ¶
func (f FindingInstance) GetFile() LoadedFile
func (FindingInstance) GetFindingPriority ¶
func (f FindingInstance) GetFindingPriority() FindingPriority
func (FindingInstance) GetIsCompleteFileImportant ¶
func (f FindingInstance) GetIsCompleteFileImportant() bool
func (FindingInstance) GetName ¶
func (f FindingInstance) GetName() string
func (FindingInstance) GetValue ¶
func (f FindingInstance) GetValue() string
type FindingPriority ¶
type FindingPriority int
const ( FindingPriorityInformative FindingPriority = iota + 1 FindingPriorityLow FindingPriorityMedium FindingPriorityHigh )
func (FindingPriority) ToString ¶
func (p FindingPriority) ToString() string
type LlmConnector ¶
type LoadedFile ¶
type OutputFormatter ¶
type OutputFormatter interface { Start() AddFinding(finding Finding) Finished() }
Click to show internal directories.
Click to hide internal directories.