Documentation
¶
Index ¶
- type AutoFixApprover
- type FixApprover
- type FixCandidate
- type FixDecision
- type FixProgress
- type Mode
- type NoopFixProgress
- type NoopScanProgress
- type Runner
- func (r Runner) Audit(ctx context.Context, only []string, minSeverity string, ignoredCVEs []string, ...) (result.AuditReport, error)
- func (r Runner) Check(ctx context.Context, only []string, withEnv bool, outdated bool, ...) (result.CheckReport, error)
- func (r Runner) Fix(ctx context.Context, only []string, opts ecosystem.FixOptions, diff bool, ...) (result.FixReport, error)
- func (r Runner) Licenses(ctx context.Context, only []string, allow []string, deny []string, ...) (result.LicenseReport, error)
- type ScanProgress
- type SelectInput
- type Selection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoFixApprover ¶
type AutoFixApprover struct{}
func (AutoFixApprover) Approve ¶
func (AutoFixApprover) Approve(FixCandidate) (FixDecision, error)
type FixApprover ¶
type FixApprover interface {
Approve(candidate FixCandidate) (FixDecision, error)
}
type FixCandidate ¶
type FixProgress ¶
type FixProgress interface {
Plan(candidates []FixCandidate)
Start(candidate FixCandidate)
Finish(item result.FixItem)
}
type NoopFixProgress ¶
type NoopFixProgress struct{}
func (NoopFixProgress) Finish ¶
func (NoopFixProgress) Finish(result.FixItem)
func (NoopFixProgress) Plan ¶
func (NoopFixProgress) Plan([]FixCandidate)
func (NoopFixProgress) Start ¶
func (NoopFixProgress) Start(FixCandidate)
type NoopScanProgress ¶
type NoopScanProgress struct{}
func (NoopScanProgress) Close ¶
func (NoopScanProgress) Close()
func (NoopScanProgress) Finish ¶
func (NoopScanProgress) Finish(string, bool)
func (NoopScanProgress) Plan ¶
func (NoopScanProgress) Plan(int)
func (NoopScanProgress) Start ¶
func (NoopScanProgress) Start(string, string)
type Runner ¶
type ScanProgress ¶
type SelectInput ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.