hwcce-k8s

1.0.3 • Public • Published

SDK for HuaWei CCE&K8S

General

Struct

root
|
|- APIGW-javascript-sdk-2.0.2
|  |- signer.js # huawei's js signer
|
|- src
   |- base
      |- hw_common.js # common struct of hwcluster/hwnode/hwnamespace/hwpod/hwjob.
      |- hw_request.js # base http request and sign of huawei api
   |- hw_cce_api.js # huawei cce sdk of hwcluster/hwnode
   |- hw_k8s_api.js # k8s sdkh of hwnode/hwnamespace/hwpod/hwjob...

Usage

yarn # install dependencies

yarn lint # lint and auto fix js code under src folder

yarn test # run test files under test folder

yarn coverage # run test and generate coverage information and files

Caution

These are still not work:

hw_cce_api.hibernate_cluster_by_id
hw_cce_api.awake_cluster_by_id
hw_cce_api.create_nodes //Password needs salt copyright

Readme

Keywords

none

Package Sidebar

Install

npm i hwcce-k8s

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

144 kB

Total Files

14

Last publish

Collaborators

  • stayknight