nuget

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: MIT Imports: 32 Imported by: 0

Documentation

Overview

Package nuget serves NuGet's protocols on NuGet repositories (decision 0038), mounted through the router kit (decision 0032): the v3 API under /artifactory/api/nuget/v3/{repoKey}/ (V3) and, under /artifactory/api/nuget/{repoKey}/, the v2 Atom feed and the push, delete and relist the v3 index's PackagePublish names (V2). Every feed is built on each request from what the NuGet format keeps in the package index, for the caller and the request's base URL. Feeds need no derived documents, and a version is served once its deploy commits. PDB reads wait for derived symbol work. Downloads go through the item routes' download, so the download policy and counts apply to them as to any file, and a push stores through the item service, whose NuGet format checks and indexes it as it does a REST deploy.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func V2

func V2(remote ...*source.Service) pkgroute.Protocol

V2 is the repository's v2 root, /api/nuget/{repoKey}/, which the v3 index names as PackagePublish and LegacyGallery and where JFrog documents pushes and deletes: a PUT is a push into the folder its path names, a DELETE of {id}/{version} a delete, and a POST of it a relist.

func V3

func V3(remote ...*source.Service) pkgroute.Protocol

V3 is NuGet's v3 protocol: the service index, the flat container, the registration hives, search, autocomplete, symbols push and PDB reads. Its name has two segments, so chi routes /api/nuget/v3/... here ahead of V2's {repoKey}: a repository keyed v3 is reached through this tree only (decision 0038). Unserved routes, including v2 queries once suggested under this prefix by JFrog support, answer 404.

Types

This section is empty.

Jump to

Keyboard shortcuts

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