@ucloud-sdks/ucloud-sdk-js 0.2.14 → 0.2.16
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/lib/services/index.d.ts +1 -0
- package/lib/services/index.js +7 -0
- package/lib/services/ugn/index.d.ts +1521 -0
- package/lib/services/ugn/index.js +196 -0
- package/lib/services/uk8s/index.d.ts +330 -14
- package/lib/services/uk8s/index.js +18 -0
- package/package.json +1 -1
package/lib/services/index.d.ts
CHANGED
package/lib/services/index.js
CHANGED
|
@@ -19,6 +19,7 @@ const UECClient = require('./uec').default;
|
|
|
19
19
|
const UESClient = require('./ues').default;
|
|
20
20
|
const UFileClient = require('./ufile').default;
|
|
21
21
|
const UFSClient = require('./ufs').default;
|
|
22
|
+
const UGNClient = require('./ugn').default;
|
|
22
23
|
const UHadoopClient = require('./uhadoop').default;
|
|
23
24
|
const UHostClient = require('./uhost').default;
|
|
24
25
|
const UK8SClient = require('./uk8s').default;
|
|
@@ -140,6 +141,12 @@ class Client extends BaseClient {
|
|
|
140
141
|
credential: this.credential,
|
|
141
142
|
});
|
|
142
143
|
}
|
|
144
|
+
ugn() {
|
|
145
|
+
return new UGNClient({
|
|
146
|
+
config: this.config,
|
|
147
|
+
credential: this.credential,
|
|
148
|
+
});
|
|
149
|
+
}
|
|
143
150
|
uhadoop() {
|
|
144
151
|
return new UHadoopClient({
|
|
145
152
|
config: this.config,
|