hwcce-k8s
v1.0.3
Published
## General
Downloads
1
Readme
SDK for HuaWei CCE&K8S
General
- API Doc Ref https://support.huaweicloud.com/cce/index.html
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