Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.3
0.2.4
1 change: 1 addition & 0 deletions lib/services/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export declare class Client extends BaseClient {
uhost(): any;
uk8s(): any;
ulb(): any;
ulight_host(): any;
umem(): any;
unet(): any;
uphone(): any;
Expand Down
77 changes: 63 additions & 14 deletions lib/services/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const UFSClient = require('./ufs').default;
const UHostClient = require('./uhost').default;
const UK8SClient = require('./uk8s').default;
const ULBClient = require('./ulb').default;
const ULightHostClient = require('./ulight_host').default;
const UMemClient = require('./umem').default;
const UNetClient = require('./unet').default;
const UPhoneClient = require('./uphone').default;
Expand All @@ -30,7 +31,10 @@ class Client extends BaseClient {
super({ config, credential });
}
cube() {
return new CubeClient({ config: this.config, credential: this.credential });
return new CubeClient({
config: this.config,
credential: this.credential,
});
}
ipsecvpn() {
return new IPSecVPNClient({
Expand All @@ -57,13 +61,22 @@ class Client extends BaseClient {
});
}
ucdn() {
return new UCDNClient({ config: this.config, credential: this.credential });
return new UCDNClient({
config: this.config,
credential: this.credential,
});
}
udb() {
return new UDBClient({ config: this.config, credential: this.credential });
return new UDBClient({
config: this.config,
credential: this.credential,
});
}
uddb() {
return new UDDBClient({ config: this.config, credential: this.credential });
return new UDDBClient({
config: this.config,
credential: this.credential,
});
}
udisk() {
return new UDiskClient({
Expand All @@ -72,10 +85,16 @@ class Client extends BaseClient {
});
}
udpn() {
return new UDPNClient({ config: this.config, credential: this.credential });
return new UDPNClient({
config: this.config,
credential: this.credential,
});
}
uec() {
return new UECClient({ config: this.config, credential: this.credential });
return new UECClient({
config: this.config,
credential: this.credential,
});
}
ufile() {
return new UFileClient({
Expand All @@ -84,7 +103,10 @@ class Client extends BaseClient {
});
}
ufs() {
return new UFSClient({ config: this.config, credential: this.credential });
return new UFSClient({
config: this.config,
credential: this.credential,
});
}
uhost() {
return new UHostClient({
Expand All @@ -93,16 +115,34 @@ class Client extends BaseClient {
});
}
uk8s() {
return new UK8SClient({ config: this.config, credential: this.credential });
return new UK8SClient({
config: this.config,
credential: this.credential,
});
}
ulb() {
return new ULBClient({ config: this.config, credential: this.credential });
return new ULBClient({
config: this.config,
credential: this.credential,
});
}
ulight_host() {
return new ULightHostClient({
config: this.config,
credential: this.credential,
});
}
umem() {
return new UMemClient({ config: this.config, credential: this.credential });
return new UMemClient({
config: this.config,
credential: this.credential,
});
}
unet() {
return new UNetClient({ config: this.config, credential: this.credential });
return new UNetClient({
config: this.config,
credential: this.credential,
});
}
uphone() {
return new UPhoneClient({
Expand All @@ -117,13 +157,22 @@ class Client extends BaseClient {
});
}
usms() {
return new USMSClient({ config: this.config, credential: this.credential });
return new USMSClient({
config: this.config,
credential: this.credential,
});
}
uvms() {
return new UVMSClient({ config: this.config, credential: this.credential });
return new UVMSClient({
config: this.config,
credential: this.credential,
});
}
vpc() {
return new VPCClient({ config: this.config, credential: this.credential });
return new VPCClient({
config: this.config,
credential: this.credential,
});
}
}
exports.Client = Client;
Expand Down
Loading
Loading