@hpcc-js/comms 2.99.4 → 2.101.0

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.
Files changed (51) hide show
  1. package/dist/index.es6.js +97 -12
  2. package/dist/index.es6.js.map +1 -1
  3. package/dist/index.js +97 -12
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist/index.node.js +97 -12
  8. package/dist/index.node.js.map +1 -1
  9. package/dist/index.node.min.js +1 -1
  10. package/dist/index.node.min.js.map +1 -1
  11. package/lib-es6/__package__.js +2 -2
  12. package/lib-es6/__package__.js.map +1 -1
  13. package/lib-es6/ecl/workunit.js +3 -1
  14. package/lib-es6/ecl/workunit.js.map +1 -1
  15. package/lib-es6/services/wsCloud.js +55 -3
  16. package/lib-es6/services/wsCloud.js.map +1 -1
  17. package/lib-es6/services/wsDali.js +30 -1
  18. package/lib-es6/services/wsDali.js.map +1 -1
  19. package/lib-es6/services/wsWorkunits.js +1 -1
  20. package/lib-es6/services/wsWorkunits.js.map +1 -1
  21. package/lib-es6/services/wsdl/WsCloud/v1.02/WsCloud.js +20 -0
  22. package/lib-es6/services/wsdl/WsCloud/v1.02/WsCloud.js.map +1 -0
  23. package/lib-es6/services/wsdl/WsWorkunits/v2.02/WsWorkunits.js +376 -0
  24. package/lib-es6/services/wsdl/WsWorkunits/v2.02/WsWorkunits.js.map +1 -0
  25. package/package.json +3 -2
  26. package/src/__package__.ts +2 -2
  27. package/src/ecl/workunit.ts +3 -1
  28. package/src/services/wsCloud.ts +59 -6
  29. package/src/services/wsDali.ts +32 -0
  30. package/src/services/wsWorkunits.ts +1 -1
  31. package/src/services/wsdl/WsCloud/v1.02/WsCloud.ts +77 -0
  32. package/src/services/wsdl/WsWorkunits/v2.02/WsWorkunits.ts +3157 -0
  33. package/types/__package__.d.ts +2 -2
  34. package/types/__package__.d.ts.map +1 -1
  35. package/types/ecl/workunit.d.ts.map +1 -1
  36. package/types/services/wsCloud.d.ts +3 -3
  37. package/types/services/wsCloud.d.ts.map +1 -1
  38. package/types/services/wsDali.d.ts +9 -0
  39. package/types/services/wsDali.d.ts.map +1 -1
  40. package/types/services/wsWorkunits.d.ts +1 -1
  41. package/types/services/wsWorkunits.d.ts.map +1 -1
  42. package/types/services/wsdl/WsCloud/v1.02/WsCloud.d.ts +47 -0
  43. package/types/services/wsdl/WsCloud/v1.02/WsCloud.d.ts.map +1 -0
  44. package/types/services/wsdl/WsWorkunits/v2.02/WsWorkunits.d.ts +2553 -0
  45. package/types/services/wsdl/WsWorkunits/v2.02/WsWorkunits.d.ts.map +1 -0
  46. package/types-3.4/__package__.d.ts +2 -2
  47. package/types-3.4/services/wsCloud.d.ts +2 -2
  48. package/types-3.4/services/wsDali.d.ts +9 -0
  49. package/types-3.4/services/wsWorkunits.d.ts +1 -1
  50. package/types-3.4/services/wsdl/WsCloud/v1.02/WsCloud.d.ts +47 -0
  51. package/types-3.4/services/wsdl/WsWorkunits/v2.02/WsWorkunits.d.ts +2553 -0
@@ -0,0 +1,77 @@
1
+ import { IConnection, IOptions } from "../../../../connection";
2
+ import { Service } from "../../../../espConnection";
3
+
4
+ export namespace WsCloud {
5
+
6
+ export type int = number;
7
+
8
+ export interface GetPODsRequest {
9
+
10
+ }
11
+
12
+ export interface Port {
13
+ ContainerPort: int;
14
+ Name: string;
15
+ Protocol: string;
16
+ }
17
+
18
+ export interface Ports {
19
+ Port: Port[];
20
+ }
21
+
22
+ export interface Pod {
23
+ Name: string;
24
+ Status: string;
25
+ CreationTimestamp: string;
26
+ ContainerName: string;
27
+ ContainerCount: int;
28
+ ContainerReadyCount: int;
29
+ ContainerRestartCount: int;
30
+ Ports: Ports;
31
+ }
32
+
33
+ export interface Pods {
34
+ Pod: Pod[];
35
+ }
36
+
37
+ export interface GetPODsResponse {
38
+ Pods: Pods;
39
+ }
40
+
41
+ export interface GetServicesRequest {
42
+
43
+ }
44
+
45
+ export interface GetServicesResponse {
46
+ Result: string;
47
+ }
48
+
49
+ export interface WsCloudPingRequest {
50
+
51
+ }
52
+
53
+ export interface WsCloudPingResponse {
54
+
55
+ }
56
+
57
+ }
58
+
59
+ export class CloudServiceBase extends Service {
60
+
61
+ constructor(optsConnection: IOptions | IConnection) {
62
+ super(optsConnection, "WsCloud", "1.02");
63
+ }
64
+
65
+ GetPODs(request: Partial<WsCloud.GetPODsRequest>): Promise<WsCloud.GetPODsResponse> {
66
+ return this._connection.send("GetPODs", request, "json", false, undefined, "GetPODsResponse");
67
+ }
68
+
69
+ GetServices(request: Partial<WsCloud.GetServicesRequest>): Promise<WsCloud.GetServicesResponse> {
70
+ return this._connection.send("GetServices", request, "json", false, undefined, "GetServicesResponse");
71
+ }
72
+
73
+ Ping(request: Partial<WsCloud.WsCloudPingRequest>): Promise<WsCloud.WsCloudPingResponse> {
74
+ return this._connection.send("Ping", request, "json", false, undefined, "WsCloudPingResponse");
75
+ }
76
+
77
+ }