1.0.3 • Published 4 years ago

hwcce-k8s v1.0.3

Weekly downloads
5
License
MIT
Repository
-
Last release
4 years ago

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