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
func (*DeadcodeCheck) Run ¶
func (c *DeadcodeCheck) Run(ctx context.Context, execClient *exec.ExecutorClient) Result
type GitleaksCheck ¶
type GitleaksCheck struct{}
GitleaksCheck scans for secrets.
func (*GitleaksCheck) Name ¶
func (c *GitleaksCheck) Name() string
func (*GitleaksCheck) Run ¶
func (c *GitleaksCheck) Run(ctx context.Context, execClient *exec.ExecutorClient) Result
type GoBuildCheck ¶
type GoBuildCheck struct {
Paths []string
}
GoBuildCheck runs the Go compiler to check for syntax and type errors.
func (*GoBuildCheck) Name ¶
func (c *GoBuildCheck) Name() string
func (*GoBuildCheck) Run ¶
func (c *GoBuildCheck) Run(ctx context.Context, execClient *exec.ExecutorClient) Result
type GoVetCheck ¶
type GoVetCheck struct {
Paths []string
}
GoVetCheck runs go vet.
func (*GoVetCheck) Name ¶
func (c *GoVetCheck) Name() string
func (*GoVetCheck) Run ¶
func (c *GoVetCheck) Run(ctx context.Context, execClient *exec.ExecutorClient) Result
type GoVulnCheck ¶
type GoVulnCheck struct {
Paths []string
}
GoVulnCheck runs vulnerability scanning.
func (*GoVulnCheck) Name ¶
func (c *GoVulnCheck) Name() string
func (*GoVulnCheck) Run ¶
func (c *GoVulnCheck) Run(ctx context.Context, execClient *exec.ExecutorClient) Result
type GolangCILintCheck ¶
type GolangCILintCheck struct {
Paths []string
ConfigType config.AssetType // The specific lens to use
}
GolangCILintCheck runs the linter with a specific configuration mode.
func (*GolangCILintCheck) Name ¶
func (c *GolangCILintCheck) Name() string
func (*GolangCILintCheck) Run ¶
func (c *GolangCILintCheck) Run(ctx context.Context, execClient *exec.ExecutorClient) Result
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.
Click to show internal directories.
Click to hide internal directories.