licensematcher

package
v2.0.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DepsDevLicenseMatcher

type DepsDevLicenseMatcher struct {
	Client *datasource.CachedInsightsClient
}

DepsDevLicenseMatcher implements the LicenseMatcher interface with a deps.dev client. It sends out requests for every package version and does not perform caching.

func (*DepsDevLicenseMatcher) MatchLicenses

func (matcher *DepsDevLicenseMatcher) MatchLicenses(ctx context.Context, packages []imodels.PackageScanResult) error

Jump to

Keyboard shortcuts

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