packages

package
v0.0.0-...-495e01f Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeletePackage

func DeletePackage(ctx *context.APIContext)

DeletePackage deletes a package

func DownloadPackageFile

func DownloadPackageFile(ctx *context.APIContext)

DownloadPackageFile serves the content of a package file ListPackageFiles gets all files of a package GetPackage gets a package @Tags DownloadPackageFile @Summary 下载包文件 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 @Router /api/v1/packages/{username}/{type}/{name}/{version}/files/{fileid} [get]

func GetPackageInfo

func GetPackageInfo(ctx *context.APIContext)

GetPackage gets a package @Tags GetPackageInfo @Summary 查询包信息详情 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {object} structs.Package "查询包信息详情api" @Router /api/v1/packages/{username}/{type}/{name}/{version} [get]

func ListPackageFiles

func ListPackageFiles(ctx *context.APIContext)

ListPackageFiles gets all files of a package GetPackage gets a package @Tags ListPackageFiles @Summary 查询包文件列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {object} structs.PackageFile "查询包列表api" @Router /api/v1/packages/{username}/{type}/{name}/{version}/files [get]

func ListPackages

func ListPackages(ctx *context.APIContext)

ListPackages gets all packages of an owner delete @Tags list @Summary 查询包列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.ListPackages true "权角色id" @Success 200 {object} dto_common.PageResult "查询包列表api" @Router /api/v1/packages/{username} [post]

func SearchPackageVersions

func SearchPackageVersions(ctx *context.APIContext)

Types

This section is empty.

Jump to

Keyboard shortcuts

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