暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

artifactregistry.js 514B

12345678910111213141516
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.deletePackage = exports.API_VERSION = void 0;
  4. const apiv2_1 = require("../apiv2");
  5. const api_1 = require("../api");
  6. exports.API_VERSION = "v1beta2";
  7. const client = new apiv2_1.Client({
  8. urlPrefix: api_1.artifactRegistryDomain,
  9. auth: true,
  10. apiVersion: exports.API_VERSION,
  11. });
  12. async function deletePackage(name) {
  13. const res = await client.delete(name);
  14. return res.body;
  15. }
  16. exports.deletePackage = deletePackage;