Versions in this module Expand all Collapse all v0 v0.0.1 Nov 29, 2026 Changes in this version + func Apply(root string, plans []FixCandidate) error + func ApplyOverride(root string, p FixCandidate) error + func BestInRange(candidates []string, constraint string) string + func EditManifestText(content string, p FixCandidate) (string, bool) + func PipCommand(sourceFile string) string + func RunInstall(ctx context.Context, batches []FixBatch, dryRun bool, w io.Writer) error + func Satisfies(version, constraint string) bool + func StrategyList() string + func ValidStrategies() []string + type Batch struct + Counts ProofCounts + Plans []FixCandidate + func BuildPlans(vulns []scan.EnrichedVuln, packages []scan.ScopedPackage, ...) Batch + type FixBatch struct + Dir string + Ecosystem string + Plans []FixCandidate + SourceFile string + func GroupBatches(root string, plans []FixCandidate) []FixBatch + type FixCandidate struct + Command string + CurrentVer string + CveIDs []string + Ecosystem string + IsDirect bool + LatestAvailable string + Method FixMethod + PackageManager string + PackageName string + ParentName string + ParentRange string + ParentTarget string + Reason string + RejectedVersions []SafeVersionRejection + SkipReason string + Skipped bool + SourceFile string + TargetVer string + func SelectManifests(plans []FixCandidate, manifest string, yes bool) ([]FixCandidate, error) + type FixMethod string + const MethodDirectBump + const MethodOverride + const MethodParentUpdate + const MethodParentUpgrade + type Options struct + Manifest string + MaxMajorBump int + PathExplicit bool + Strategy Strategy + Yes bool + type ProofCounts struct + Direct int + TransitiveOverride int + TransitiveParentUpdate int + TransitiveParentUpgrade int + UnresolvedDeepChains int + func CountPlans(plans []FixCandidate) ProofCounts + type SafeVersionRejection struct + ExplCount int + IsMalware bool + Version string + VulnCount int + type Strategy string + const StrategyLatest + const StrategyRolling + const StrategySafest + const StrategyStable + func ValidateStrategy(s string) (Strategy, error) + type TargetDecision struct + Note string + Reason string + Skipped bool + func ResolveTarget(current string, strategy Strategy, latest []vdb.CliVersionStamp, ...) (string, TargetDecision)