Documentation
¶
Index ¶
- type Validator
- func (v *Validator) ValidateConfig(configPath string) error
- func (v *Validator) ValidateEntropyThreshold(threshold float64) error
- func (v *Validator) ValidateOutputFile(outputPath string) error
- func (v *Validator) ValidateOutputFormat(format string) error
- func (v *Validator) ValidatePlatform(platform string) error
- func (v *Validator) ValidateRepository(repoPath string) error
- func (v *Validator) ValidateSeverity(severity string) error
- func (v *Validator) ValidateURL(repoURL string) error
- func (v *Validator) ValidateWorkflowFile(workflowPath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct{}
Validator handles input validation for the application
func (*Validator) ValidateConfig ¶
ValidateConfig validates configuration inputs
func (*Validator) ValidateEntropyThreshold ¶
ValidateEntropyThreshold validates entropy threshold input
func (*Validator) ValidateOutputFile ¶
ValidateOutputFile validates output file path
func (*Validator) ValidateOutputFormat ¶
ValidateOutputFormat validates output format input
func (*Validator) ValidatePlatform ¶
ValidatePlatform validates platform input
func (*Validator) ValidateRepository ¶
ValidateRepository validates repository path inputs
func (*Validator) ValidateSeverity ¶
ValidateSeverity validates severity level input
func (*Validator) ValidateURL ¶
ValidateURL validates repository URL inputs
func (*Validator) ValidateWorkflowFile ¶
ValidateWorkflowFile validates workflow file path inputs
Click to show internal directories.
Click to hide internal directories.