Documentation
¶
Overview ¶
Package depsdev contains constants and mappings for the deps.dev API.
Index ¶
Constants ¶
View Source
const DepsdevAPI = "api.deps.dev:443"
DepsdevAPI is the URL to the deps.dev API. It is documented at docs.deps.dev/api.
Variables ¶
View Source
var System = map[osvconstants.Ecosystem]pb.System{ osvconstants.EcosystemNPM: pb.System_NPM, osvconstants.EcosystemNuGet: pb.System_NUGET, osvconstants.EcosystemCratesIO: pb.System_CARGO, osvconstants.EcosystemGo: pb.System_GO, osvconstants.EcosystemMaven: pb.System_MAVEN, osvconstants.EcosystemPyPI: pb.System_PYPI, osvconstants.EcosystemRubyGems: pb.System_RUBYGEMS, }
System maps from a lockfile system to the depsdev API system.
Functions ¶
func NewInsightsAlphaClient ¶ added in v2.3.6
func NewInsightsAlphaClient(addr string, userAgent string) (alphapb.InsightsClient, error)
NewInsightsAlphaClient creates a deps.dev v3alpha InsightsClient with a custom address and userAgent.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.