@cloudbase/manager-node 4.2.12 → 4.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/.ready +0 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/.travis.yml +103 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/ISSUE_TEMPLATE.md +8 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/LICENSE +22 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/Readme.md +78 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/binding.gyp +21 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/fsevents.cc +88 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/fsevents.js +108 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/install.js +13 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/package.json +34 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/vfs.js +76 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.eslintrc.js +20 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.prettierrc +4 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.ready +0 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/CHANGELOG.md +310 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/LICENSE +21 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/README.md +344 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/husky.js +15 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/checkGitDirEnv.js +13 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/debug.js +8 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/getConf.js +15 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/bin.js +48 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/getScript.js +106 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/gitRevParse.js +29 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/index.js +151 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/is.js +24 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/runner/bin.js +16 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/runner/index.js +84 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/upgrader/bin.js +8 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/upgrader/index.js +65 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/package.json +114 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/run.js +14 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/.github/workflows/ci.yml +52 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/.ready +0 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/CHANGELOG.md +577 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/CMakeLists.txt +138 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/LICENSE.md +9 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/README.md +455 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/asyncworker.md +146 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/buffers.md +54 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/callback.md +76 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/converters.md +41 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/errors.md +226 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/json.md +62 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/maybe_types.md +583 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/methods.md +672 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/new.md +147 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/node_misc.md +123 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/object_wrappers.md +263 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/persistent.md +296 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/scopes.md +73 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/script.md +58 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/string_bytes.md +62 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/v8_internals.md +199 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/v8_misc.md +85 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/include_dirs.js +1 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan.h +3049 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks.h +128 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks_12_inl.h +676 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks_pre_12_inl.h +520 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters.h +72 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters_43_inl.h +68 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters_pre_43_inl.h +42 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_define_own_property_helper.h +29 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_implementation_12_inl.h +430 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_implementation_pre_12_inl.h +263 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_json.h +166 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_maybe_43_inl.h +356 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_maybe_pre_43_inl.h +268 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_new.h +340 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_object_wrap.h +156 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_persistent_12_inl.h +132 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_persistent_pre_12_inl.h +242 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_private.h +73 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_scriptorigin.h +95 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_string_bytes.h +305 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_typedarray_contents.h +96 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_weak.h +437 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/package.json +38 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/1to2.js +412 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/README.md +14 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/package.json +19 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/.ready +0 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/.release-please-manifest.json +3 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CHANGELOG.md +1053 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CODE_OF_CONDUCT.md +4 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CONTRIBUTING.md +34 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/LICENSE +24 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/README.md +273 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/SECURITY.md +2 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/addon.gypi +204 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/bin/node-gyp.js +138 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/eslint.config.js +3 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/.release-please-manifest.json +3 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/LICENSE +28 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/data/ninja/build.ninja +4 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +12 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp +8 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp.bat +5 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp_main.py +45 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +365 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +206 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +1272 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +1547 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +59 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +152 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +270 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +574 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +704 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/common.py +709 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +173 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +169 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +113 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +55 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +805 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +1172 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +1319 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +128 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +104 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +462 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +89 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +56 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +2745 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +3976 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +44 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +2965 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +67 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +1391 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +26 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/input.py +3112 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +99 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +767 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +1260 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +174 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +61 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +373 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +1939 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +54 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +303 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +3196 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +65 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +3 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +177 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +23 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +15 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +108 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +252 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +83 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +359 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +61 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +192 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/markers.py +252 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +825 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +90 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +1030 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/tags.py +553 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/utils.py +172 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/version.py +563 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pyproject.toml +115 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/release-please-config.json +11 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/test_gyp.py +261 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/Find-VisualStudio.cs +250 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/build.js +230 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/clean.js +15 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/configure.js +328 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/create-config-gypi.js +153 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/download.js +39 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-node-directory.js +63 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-python.js +310 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-visualstudio.js +600 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/install.js +415 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/list.js +26 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/log.js +168 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/node-gyp.js +188 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/process-release.js +146 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/rebuild.js +12 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/remove.js +43 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/util.js +81 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/macOS_Catalina_acid_test.sh +21 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/package.json +52 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/release-please-config.json +40 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/.prettierrc +4 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/.ready +0 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/CHANGELOG.md +286 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/LICENSE +21 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/README.md +457 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/index.js +52 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/lib/checkGrowl.js +24 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/lib/utils.js +515 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/balloon.js +156 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/growl.js +76 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/notificationcenter.js +100 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/notifysend.js +94 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/toaster.js +100 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/package.json +72 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Info.plist +63 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/MacOS/terminal-notifier +0 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/PkgInfo +1 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/Terminal.icns +0 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/en.lproj/Credits.rtf +29 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/en.lproj/MainMenu.nib +0 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/notifu/notifu.exe +0 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/notifu/notifu64.exe +0 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/snoreToast/LICENSE +165 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/snoreToast/SnoreToast.exe +0 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/terminal-notifier-LICENSE +9 -0
- package/lib/cloudrun/index.js +157 -0
- package/lib/cloudrun/type.js +14 -0
- package/lib/environment.js +5 -0
- package/lib/index.js +3 -0
- package/lib/utils/http-request.js +2 -2
- package/lib/utils/index.js +72 -6
- package/package.json +12 -3
- package/scripts/link.js +98 -0
- package/tsconfig.json +2 -1
- package/types/cloudrun/index.d.ts +81 -0
- package/types/cloudrun/type.d.ts +315 -0
- package/types/environment.d.ts +3 -0
- package/types/index.d.ts +2 -0
- package/types/utils/http-request.d.ts +2 -2
- package/types/utils/index.d.ts +18 -3
package/tsconfig.json
CHANGED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Environment } from '../environment';
|
|
2
|
+
import { IResponseInfo } from '../interfaces';
|
|
3
|
+
import { CloudrunServerType, ICloudrunDetailResponse, ICloudrunListResponse, ITemplate } from './type';
|
|
4
|
+
/**
|
|
5
|
+
* 云托管服务管理类
|
|
6
|
+
* 提供云托管服务的初始化、下载、列表查询和删除等功能
|
|
7
|
+
*/
|
|
8
|
+
export declare class CloudRunService {
|
|
9
|
+
private environment;
|
|
10
|
+
private tcbrService;
|
|
11
|
+
private tcbService;
|
|
12
|
+
constructor(environment: Environment);
|
|
13
|
+
/**
|
|
14
|
+
* 初始化云托管代码项目
|
|
15
|
+
* @param {Object} params 初始化参数
|
|
16
|
+
* @param {string} params.serverName 服务名称,将作为项目目录名
|
|
17
|
+
* @param {string} [params.template='helloworld'] 模板标识符,默认为'helloworld'
|
|
18
|
+
* @param {string} [params.targetPath='.'] 目标路径,默认为当前目录
|
|
19
|
+
* @returns {Promise<void>}
|
|
20
|
+
* @throws 当模板不存在、下载失败或解压失败时抛出错误
|
|
21
|
+
*/
|
|
22
|
+
init(params: {
|
|
23
|
+
serverName: string;
|
|
24
|
+
template?: string;
|
|
25
|
+
targetPath?: string;
|
|
26
|
+
}): Promise<{
|
|
27
|
+
projectDir: string;
|
|
28
|
+
}>;
|
|
29
|
+
/**
|
|
30
|
+
* 下载云托管服务代码到本地目录
|
|
31
|
+
* @param {Object} params 下载参数
|
|
32
|
+
* @param {string} params.serverName 要下载的服务名称
|
|
33
|
+
* @param {string} params.targetPath 下载的目标路径(绝对路径或相对路径)
|
|
34
|
+
* @returns {Promise<void>}
|
|
35
|
+
* @throws 当以下情况发生时抛出错误:
|
|
36
|
+
* - 未找到服务版本
|
|
37
|
+
* - 获取下载地址失败
|
|
38
|
+
* - 下载或解压过程中出错
|
|
39
|
+
*/
|
|
40
|
+
download(params: {
|
|
41
|
+
serverName: string;
|
|
42
|
+
targetPath: string;
|
|
43
|
+
}): Promise<void>;
|
|
44
|
+
/**
|
|
45
|
+
* 获取云托管服务列表
|
|
46
|
+
* @param {Object} [params] 查询参数
|
|
47
|
+
* @param {number} [params.pageSize] 每页数量
|
|
48
|
+
* @param {number} [params.pageNum] 页码
|
|
49
|
+
* @param {string} [params.serverName] 服务名称筛选
|
|
50
|
+
* @param {string} [params.serverType] 服务类型筛选
|
|
51
|
+
* @returns {Promise<ICloudrunListResponse>} 包含服务列表和总数等信息的响应对象
|
|
52
|
+
*/
|
|
53
|
+
list(params?: {
|
|
54
|
+
pageSize?: number;
|
|
55
|
+
pageNum?: number;
|
|
56
|
+
serverName?: string;
|
|
57
|
+
serverType?: CloudrunServerType;
|
|
58
|
+
}): Promise<ICloudrunListResponse>;
|
|
59
|
+
/**
|
|
60
|
+
*查询云托管服务详情
|
|
61
|
+
* @param {Object} params 查询参数
|
|
62
|
+
* @param {string} params.serverName 要查询的服务名称
|
|
63
|
+
* @returns {Promise<ICloudrunDetailResponse>} 返回服务详情响应对象
|
|
64
|
+
*/
|
|
65
|
+
detail(params: {
|
|
66
|
+
serverName: string;
|
|
67
|
+
}): Promise<ICloudrunDetailResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* 删除指定的云托管服务
|
|
70
|
+
* @param {string} serverName - 要删除的服务名称,必须是在当前环境中已存在的服务
|
|
71
|
+
* @returns {Promise<IResponseInfo>} 返回删除操作的响应信息
|
|
72
|
+
*/
|
|
73
|
+
delete(params: {
|
|
74
|
+
serverName: string;
|
|
75
|
+
}): Promise<IResponseInfo>;
|
|
76
|
+
/**
|
|
77
|
+
* 获取云托管服务模板列表
|
|
78
|
+
* @returns {Promise<ITemplate[]>} 返回模板数组
|
|
79
|
+
*/
|
|
80
|
+
getTemplates(): Promise<ITemplate[]>;
|
|
81
|
+
}
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
export declare enum CloudrunServerType {
|
|
2
|
+
/**
|
|
3
|
+
* 函数型服务
|
|
4
|
+
*/
|
|
5
|
+
Function = "function",
|
|
6
|
+
/**
|
|
7
|
+
* 容器型服务
|
|
8
|
+
*/
|
|
9
|
+
Container = "container"
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 服务基础信息接口
|
|
13
|
+
*/
|
|
14
|
+
export interface ICloudrunServerBaseInfo {
|
|
15
|
+
/**
|
|
16
|
+
* 服务名称
|
|
17
|
+
* @example "serverName"
|
|
18
|
+
*/
|
|
19
|
+
ServerName: string;
|
|
20
|
+
/**
|
|
21
|
+
* 默认服务域名
|
|
22
|
+
* @example "http://xxx.xxx.xxx"
|
|
23
|
+
*/
|
|
24
|
+
DefaultDomainName: string;
|
|
25
|
+
/**
|
|
26
|
+
* 自定义域名
|
|
27
|
+
* @example "http://xxx.xxx.xxx"
|
|
28
|
+
*/
|
|
29
|
+
CustomDomainName: string;
|
|
30
|
+
/**
|
|
31
|
+
* 服务状态
|
|
32
|
+
* @example "running" | "deploying" | "deploy_failed"
|
|
33
|
+
*/
|
|
34
|
+
Status: 'running' | 'deploying' | 'deploy_failed';
|
|
35
|
+
/**
|
|
36
|
+
* 更新时间
|
|
37
|
+
* @example "2022-03-09 14:00:00"
|
|
38
|
+
*/
|
|
39
|
+
UpdateTime: string;
|
|
40
|
+
/**
|
|
41
|
+
* 公网访问类型数组
|
|
42
|
+
* @example ["OA","MINIAPP","VPC"]
|
|
43
|
+
*/
|
|
44
|
+
AccessTypes: string[];
|
|
45
|
+
/**
|
|
46
|
+
* 展示自定义域名数组
|
|
47
|
+
* @example ["http://xxx.xxx.xxx","http://xxx.xxx.xxx"]
|
|
48
|
+
*/
|
|
49
|
+
CustomDomainNames: string[];
|
|
50
|
+
/**
|
|
51
|
+
* 服务类型
|
|
52
|
+
* @example "function" | "container"
|
|
53
|
+
*/
|
|
54
|
+
ServerType: CloudrunServerType;
|
|
55
|
+
/**
|
|
56
|
+
* 流量类型(请根据实际业务补充具体类型定义)
|
|
57
|
+
*/
|
|
58
|
+
TrafficType?: string;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* 扩缩容策略配置
|
|
62
|
+
*/
|
|
63
|
+
export interface ICloudrunHpaPolicy {
|
|
64
|
+
/**
|
|
65
|
+
* 扩缩容类型
|
|
66
|
+
* @example "cpu" | "mem" | "cpu/mem"
|
|
67
|
+
*/
|
|
68
|
+
PolicyType: string;
|
|
69
|
+
/**
|
|
70
|
+
* 扩缩容阈值(百分比)
|
|
71
|
+
* @example 60
|
|
72
|
+
*/
|
|
73
|
+
PolicyThreshold: number;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* 定时扩缩容配置
|
|
77
|
+
*/
|
|
78
|
+
export interface ICloudrunTimerScale {
|
|
79
|
+
/**
|
|
80
|
+
* 循环类型
|
|
81
|
+
* @example "none"
|
|
82
|
+
*/
|
|
83
|
+
CycleType?: string;
|
|
84
|
+
/**
|
|
85
|
+
* 循环起始日期
|
|
86
|
+
* @example "2022-09-08"
|
|
87
|
+
*/
|
|
88
|
+
StartDate?: string;
|
|
89
|
+
/**
|
|
90
|
+
* 循环结束日期
|
|
91
|
+
* @example "2022-09-08"
|
|
92
|
+
*/
|
|
93
|
+
EndDate?: string;
|
|
94
|
+
/**
|
|
95
|
+
* 起始时间
|
|
96
|
+
* @example "00:00:00"
|
|
97
|
+
*/
|
|
98
|
+
StartTime?: string;
|
|
99
|
+
/**
|
|
100
|
+
* 结束时间
|
|
101
|
+
* @example "23:59:00"
|
|
102
|
+
*/
|
|
103
|
+
EndTime?: string;
|
|
104
|
+
/**
|
|
105
|
+
* 副本个数
|
|
106
|
+
* @example 1
|
|
107
|
+
*/
|
|
108
|
+
ReplicaNum?: number;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* 服务基础配置信息
|
|
112
|
+
*/
|
|
113
|
+
export interface ICloudrunServerBaseConfig {
|
|
114
|
+
/**
|
|
115
|
+
* 环境 ID
|
|
116
|
+
* @example "test-1gbtbgkjf8f48e2c"
|
|
117
|
+
*/
|
|
118
|
+
EnvId: string;
|
|
119
|
+
/**
|
|
120
|
+
* 服务名称
|
|
121
|
+
* @example "server-name"
|
|
122
|
+
*/
|
|
123
|
+
ServerName: string;
|
|
124
|
+
/**
|
|
125
|
+
* 公网访问类型数组
|
|
126
|
+
* @example ["PUBLIC", "OA", "MINIAPP", "VPC", ""]
|
|
127
|
+
*/
|
|
128
|
+
OpenAccessTypes: string[];
|
|
129
|
+
/**
|
|
130
|
+
* CPU 规格
|
|
131
|
+
* @example 0.25
|
|
132
|
+
*/
|
|
133
|
+
Cpu: number;
|
|
134
|
+
/**
|
|
135
|
+
* 内存规格
|
|
136
|
+
* @example 0.25
|
|
137
|
+
*/
|
|
138
|
+
Mem: number;
|
|
139
|
+
/**
|
|
140
|
+
* 最小副本数
|
|
141
|
+
* @example 1
|
|
142
|
+
*/
|
|
143
|
+
MinNum: number;
|
|
144
|
+
/**
|
|
145
|
+
* 最大副本数
|
|
146
|
+
* @example 2
|
|
147
|
+
*/
|
|
148
|
+
MaxNum: number;
|
|
149
|
+
/**
|
|
150
|
+
* 扩缩容配置
|
|
151
|
+
* @example cpu, mem, cpu/mem
|
|
152
|
+
*/
|
|
153
|
+
PolicyDetails: ICloudrunHpaPolicy[];
|
|
154
|
+
/**
|
|
155
|
+
* 日志采集路径
|
|
156
|
+
* @example "stdout"
|
|
157
|
+
*/
|
|
158
|
+
CustomLogs: string;
|
|
159
|
+
/**
|
|
160
|
+
* 环境变量
|
|
161
|
+
* @example {"MYSQL_USERNAME":"root"}
|
|
162
|
+
*/
|
|
163
|
+
EnvParams: string;
|
|
164
|
+
/**
|
|
165
|
+
* 延迟检测时间(秒)
|
|
166
|
+
* @example 2
|
|
167
|
+
*/
|
|
168
|
+
InitialDelaySeconds: number;
|
|
169
|
+
/**
|
|
170
|
+
* 创建时间
|
|
171
|
+
* @example "2022-03-10 19:44:07"
|
|
172
|
+
*/
|
|
173
|
+
CreateTime: string;
|
|
174
|
+
/**
|
|
175
|
+
* 服务端口
|
|
176
|
+
* @example 8080
|
|
177
|
+
*/
|
|
178
|
+
Port: number;
|
|
179
|
+
/**
|
|
180
|
+
* 是否有 Dockerfile
|
|
181
|
+
* @example true
|
|
182
|
+
*/
|
|
183
|
+
HasDockerfile: boolean;
|
|
184
|
+
/**
|
|
185
|
+
* Dockerfile 文件名
|
|
186
|
+
* @example "Dockerfile"
|
|
187
|
+
*/
|
|
188
|
+
Dockerfile: string;
|
|
189
|
+
/**
|
|
190
|
+
* 构建目录
|
|
191
|
+
* @example "src/"
|
|
192
|
+
*/
|
|
193
|
+
BuildDir: string;
|
|
194
|
+
/**
|
|
195
|
+
* 日志类型
|
|
196
|
+
* @example "none" | "default" | "custom"
|
|
197
|
+
*/
|
|
198
|
+
LogType?: string;
|
|
199
|
+
/**
|
|
200
|
+
* CLS 日志集 ID
|
|
201
|
+
* @example "dafslakfjkdal"
|
|
202
|
+
*/
|
|
203
|
+
LogSetId?: string;
|
|
204
|
+
/**
|
|
205
|
+
* CLS 主题 ID
|
|
206
|
+
* @example "sfafkslkfj"
|
|
207
|
+
*/
|
|
208
|
+
LogTopicId?: string;
|
|
209
|
+
/**
|
|
210
|
+
* 日志解析类型
|
|
211
|
+
* @example "json" | "line"
|
|
212
|
+
*/
|
|
213
|
+
LogParseType?: string;
|
|
214
|
+
/**
|
|
215
|
+
* 服务标签
|
|
216
|
+
* @example "function"
|
|
217
|
+
*/
|
|
218
|
+
Tag?: string;
|
|
219
|
+
/**
|
|
220
|
+
* 内网访问开关
|
|
221
|
+
* @example "close" | "open"
|
|
222
|
+
*/
|
|
223
|
+
InternalAccess?: string;
|
|
224
|
+
/**
|
|
225
|
+
* 内网域名
|
|
226
|
+
* @example "https://sdfsdf"
|
|
227
|
+
*/
|
|
228
|
+
InternalDomain?: string;
|
|
229
|
+
/**
|
|
230
|
+
* 运行模式
|
|
231
|
+
* @example "custom"
|
|
232
|
+
*/
|
|
233
|
+
OperationMode?: string;
|
|
234
|
+
/**
|
|
235
|
+
* 定时扩缩容配置
|
|
236
|
+
*/
|
|
237
|
+
TimerScale?: ICloudrunTimerScale[];
|
|
238
|
+
/**
|
|
239
|
+
* Dockerfile EntryPoint 参数
|
|
240
|
+
* @example ["echo", "test"]
|
|
241
|
+
*/
|
|
242
|
+
EntryPoint?: string[];
|
|
243
|
+
/**
|
|
244
|
+
* Dockerfile Cmd 参数
|
|
245
|
+
* @example ["echo", "test"]
|
|
246
|
+
*/
|
|
247
|
+
Cmd?: string[];
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* 在线版本信息
|
|
251
|
+
*/
|
|
252
|
+
export interface ICloudrunOnlineVersionInfo {
|
|
253
|
+
/**
|
|
254
|
+
* 版本名称
|
|
255
|
+
* @example "test-001"
|
|
256
|
+
*/
|
|
257
|
+
VersionName: string;
|
|
258
|
+
/**
|
|
259
|
+
* 镜像URL
|
|
260
|
+
* @example "imageurl"
|
|
261
|
+
*/
|
|
262
|
+
ImageUrl: string;
|
|
263
|
+
/**
|
|
264
|
+
* 流量比例
|
|
265
|
+
* @example "100"
|
|
266
|
+
*/
|
|
267
|
+
FlowRatio: string;
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* 服务列表响应接口
|
|
271
|
+
*/
|
|
272
|
+
export interface ICloudrunListResponse {
|
|
273
|
+
/**
|
|
274
|
+
* 服务列表数组
|
|
275
|
+
*/
|
|
276
|
+
ServerList: ICloudrunServerBaseInfo[];
|
|
277
|
+
/**
|
|
278
|
+
* 服务总数
|
|
279
|
+
* @example 10
|
|
280
|
+
*/
|
|
281
|
+
Total: number;
|
|
282
|
+
/**
|
|
283
|
+
* 请求ID
|
|
284
|
+
*/
|
|
285
|
+
RequestId: string;
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* 服务详情响应接口
|
|
289
|
+
*/
|
|
290
|
+
export interface ICloudrunDetailResponse {
|
|
291
|
+
/**
|
|
292
|
+
* 服务基本信息
|
|
293
|
+
*/
|
|
294
|
+
BaseInfo: ICloudrunServerBaseInfo;
|
|
295
|
+
/**
|
|
296
|
+
* 服务配置信息
|
|
297
|
+
*/
|
|
298
|
+
ServerConfig: ICloudrunServerBaseConfig;
|
|
299
|
+
/**
|
|
300
|
+
* 在线版本信息
|
|
301
|
+
*/
|
|
302
|
+
OnlineVersionInfos: ICloudrunOnlineVersionInfo[];
|
|
303
|
+
/**
|
|
304
|
+
* 请求ID
|
|
305
|
+
*/
|
|
306
|
+
RequestId: string;
|
|
307
|
+
}
|
|
308
|
+
export interface ITemplate {
|
|
309
|
+
identifier: string;
|
|
310
|
+
title: string;
|
|
311
|
+
description: string;
|
|
312
|
+
runtimeVersion: string;
|
|
313
|
+
language: string;
|
|
314
|
+
zipFileStore: string;
|
|
315
|
+
}
|
package/types/environment.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DatabaseService } from './database';
|
|
2
2
|
import { FunctionService } from './function';
|
|
3
|
+
import { CloudRunService } from './cloudrun';
|
|
3
4
|
import { StorageService } from './storage';
|
|
4
5
|
import { EnvService } from './env';
|
|
5
6
|
import { CommonService } from './common';
|
|
@@ -17,6 +18,7 @@ export declare class Environment {
|
|
|
17
18
|
private envId;
|
|
18
19
|
private envType?;
|
|
19
20
|
private functionService;
|
|
21
|
+
private cloudRunService;
|
|
20
22
|
private databaseService;
|
|
21
23
|
private storageService;
|
|
22
24
|
private envService;
|
|
@@ -32,6 +34,7 @@ export declare class Environment {
|
|
|
32
34
|
getStorageService(): StorageService;
|
|
33
35
|
getDatabaseService(): DatabaseService;
|
|
34
36
|
getFunctionService(): FunctionService;
|
|
37
|
+
getCloudRunService(): CloudRunService;
|
|
35
38
|
getEnvService(): EnvService;
|
|
36
39
|
getHostingService(): HostingService;
|
|
37
40
|
getThirdService(): ThirdService;
|
package/types/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EnvService } from './env';
|
|
2
2
|
import { FunctionService } from './function';
|
|
3
|
+
import { CloudRunService } from './cloudrun';
|
|
3
4
|
import { StorageService } from './storage';
|
|
4
5
|
import { DatabaseService } from './database';
|
|
5
6
|
import { CommonService } from './common';
|
|
@@ -37,6 +38,7 @@ declare class CloudBase {
|
|
|
37
38
|
addEnvironment(envId: string): void;
|
|
38
39
|
currentEnvironment(): Environment;
|
|
39
40
|
get functions(): FunctionService;
|
|
41
|
+
get cloudrun(): CloudRunService;
|
|
40
42
|
get storage(): StorageService;
|
|
41
43
|
get database(): DatabaseService;
|
|
42
44
|
get hosting(): HostingService;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import _fetch from 'node-fetch';
|
|
2
|
-
export declare function fetch(url: string, config
|
|
3
|
-
export declare function fetchStream(url: string, config
|
|
2
|
+
export declare function fetch(url: string, config?: Record<string, any>, proxy?: any): Promise<any>;
|
|
3
|
+
export declare function fetchStream(url: string, config?: Record<string, any>, proxy?: any): Promise<_fetch.Response>;
|
package/types/utils/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
export * from './cloud-api-request';
|
|
1
|
+
import { ITemplate } from '../cloudrun/type';
|
|
3
2
|
export * from './auth';
|
|
3
|
+
export * from './cloud-api-request';
|
|
4
4
|
export * from './cloudbase-request';
|
|
5
|
-
export * from './http-request';
|
|
6
5
|
export * from './envLazy';
|
|
7
6
|
export * from './fs';
|
|
7
|
+
export * from './http-request';
|
|
8
|
+
export { guid6 } from './uuid';
|
|
8
9
|
interface IZipOption {
|
|
9
10
|
dirPath: string;
|
|
10
11
|
outputPath: string;
|
|
@@ -12,9 +13,23 @@ interface IZipOption {
|
|
|
12
13
|
pattern?: string;
|
|
13
14
|
}
|
|
14
15
|
export declare function compressToZip(option: IZipOption): Promise<unknown>;
|
|
16
|
+
/**
|
|
17
|
+
* 下载并解压云托管模板到指定目录
|
|
18
|
+
* @param {string} downloadUrl 模板下载地址
|
|
19
|
+
* @param {string} targetPath 目标路径
|
|
20
|
+
* @returns {Promise<void>}
|
|
21
|
+
* @throws 当下载失败或解压失败时抛出错误
|
|
22
|
+
*/
|
|
23
|
+
export declare function downloadAndExtractRemoteZip(downloadUrl: string, targetPath: string): Promise<void>;
|
|
15
24
|
export declare function getRuntime(): string;
|
|
16
25
|
export declare function getEnvVar(envName: string): string;
|
|
17
26
|
export declare function rsaEncrypt(data: string): string;
|
|
18
27
|
export declare function sleep(time: number): Promise<void>;
|
|
19
28
|
export declare function upperCaseStringFisrt(str: string): string;
|
|
20
29
|
export declare function upperCaseObjKey(object: any): any;
|
|
30
|
+
/**
|
|
31
|
+
* 获取函数模板列表
|
|
32
|
+
* @param type 函数模板类型,支持 'scfFunc' 和 'tcbrFunc'
|
|
33
|
+
* @returns
|
|
34
|
+
*/
|
|
35
|
+
export declare function fetchTemplates(types: ('scfFunc' | 'tcbrFunc' | 'tcbrContainer')[]): Promise<ITemplate[]>;
|