Documentation
¶
Overview ¶
Package pipeline provides an engine for running analytical workflows (quality checks).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeadcodeCheck ¶
type DeadcodeCheck struct{}
DeadcodeCheck finds unreachable code.
func (*DeadcodeCheck) Name ¶
func (c *DeadcodeCheck) Name() string
Name returns the name of the check.
func (*DeadcodeCheck) Run ¶
func (c *DeadcodeCheck) Run(ctx context.Context, execClient *exec.ExecutorClient) Result
Run executes the check.
type GitleaksCheck ¶
type GitleaksCheck struct{}
GitleaksCheck scans for secrets.
func (*GitleaksCheck) Name ¶
func (c *GitleaksCheck) Name() string
Name returns the name of the check.
func (*GitleaksCheck) Run ¶
func (c *GitleaksCheck) Run(ctx context.Context, execClient *exec.ExecutorClient) Result
Run executes the check.
type GoModTidyCheck ¶
type GoModTidyCheck struct{}
GoModTidyCheck verifies dependencies are tidy.
func (*GoModTidyCheck) Name ¶
func (c *GoModTidyCheck) Name() string
Name returns the name of the check.
func (*GoModTidyCheck) Run ¶
func (c *GoModTidyCheck) Run(ctx context.Context, execClient *exec.ExecutorClient) Result
Run executes the check.
type GoVetCheck ¶
type GoVetCheck struct{}
GoVetCheck runs go vet.
func (*GoVetCheck) Run ¶
func (c *GoVetCheck) Run(ctx context.Context, execClient *exec.ExecutorClient) Result
Run executes the check.
type GoVulnCheck ¶
type GoVulnCheck struct{}
GoVulnCheck runs vulnerability scanning.
func (*GoVulnCheck) Run ¶
func (c *GoVulnCheck) Run(ctx context.Context, execClient *exec.ExecutorClient) Result
Run executes the check.
type GolangCILintCheck ¶
type GolangCILintCheck struct{}
GolangCILintCheck runs the linter.
func (*GolangCILintCheck) Name ¶
func (c *GolangCILintCheck) Name() string
Name returns the name of the check.
func (*GolangCILintCheck) Run ¶
func (c *GolangCILintCheck) Run(ctx context.Context, execClient *exec.ExecutorClient) Result
Run executes the check.
type Result ¶
type Result struct {
Name string
Status Status
Message string
Advice string
Details string // Added to hold raw output (like deadcode list)
Error error
}
Result captures the output of a single check.