validation

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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 NewValidator

func NewValidator() *Validator

NewValidator creates a new input validator

func (*Validator) ValidateConfig

func (v *Validator) ValidateConfig(configPath string) error

ValidateConfig validates configuration inputs

func (*Validator) ValidateEntropyThreshold

func (v *Validator) ValidateEntropyThreshold(threshold float64) error

ValidateEntropyThreshold validates entropy threshold input

func (*Validator) ValidateOutputFile

func (v *Validator) ValidateOutputFile(outputPath string) error

ValidateOutputFile validates output file path

func (*Validator) ValidateOutputFormat

func (v *Validator) ValidateOutputFormat(format string) error

ValidateOutputFormat validates output format input

func (*Validator) ValidatePlatform

func (v *Validator) ValidatePlatform(platform string) error

ValidatePlatform validates platform input

func (*Validator) ValidateRepository

func (v *Validator) ValidateRepository(repoPath string) error

ValidateRepository validates repository path inputs

func (*Validator) ValidateSeverity

func (v *Validator) ValidateSeverity(severity string) error

ValidateSeverity validates severity level input

func (*Validator) ValidateURL

func (v *Validator) ValidateURL(repoURL string) error

ValidateURL validates repository URL inputs

func (*Validator) ValidateWorkflowFile

func (v *Validator) ValidateWorkflowFile(workflowPath string) error

ValidateWorkflowFile validates workflow file path inputs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL