patch

package
v0.0.12-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Patcher

type Patcher struct {
	UpgradePolicy types.UpgradePolicy
	Knowledge     *bun.DB
	Sbom          sbomTypes.Output
	Vulns         vulnerabilityFinder.Output
	// contains filtered or unexported fields
}

func InitializePatcher

func InitializePatcher(upgradePolicy types.UpgradePolicy, knowledge *bun.DB, sbom sbomTypes.Output, vulns vulnerabilityFinder.Output) Patcher

func (Patcher) GetNVDVulnerabilities

func (patcher Patcher) GetNVDVulnerabilities(dependencyName string, dependencyVersion string) (int, []knowledge.NVDItem, error)

func (Patcher) PatchApplication

func (patcher Patcher) PatchApplication() map[string]patching.Workspace

func (Patcher) PatchDependencies

func (patcher Patcher) PatchDependencies(dependenciesToPatch map[string][]patching.ToPatch) map[string]patching.PatchInfo

Jump to

Keyboard shortcuts

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