@quantcdn/quant-client 3.0.4 → 4.1.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 (146) hide show
  1. package/README.md +147 -18
  2. package/api.ts +26156 -0
  3. package/base.ts +89 -0
  4. package/common.ts +150 -0
  5. package/configuration.ts +115 -0
  6. package/dist/api.d.ts +18714 -2
  7. package/dist/api.js +13862 -16
  8. package/dist/base.d.ts +66 -0
  9. package/dist/base.js +68 -0
  10. package/dist/common.d.ts +65 -0
  11. package/dist/common.js +161 -0
  12. package/dist/configuration.d.ts +91 -0
  13. package/dist/configuration.js +44 -0
  14. package/dist/esm/api.d.ts +18714 -0
  15. package/dist/esm/api.js +13756 -0
  16. package/dist/esm/base.d.ts +66 -0
  17. package/dist/esm/base.js +63 -0
  18. package/dist/esm/common.d.ts +65 -0
  19. package/dist/esm/common.js +149 -0
  20. package/dist/esm/configuration.d.ts +91 -0
  21. package/dist/esm/configuration.js +40 -0
  22. package/dist/esm/examples/basic-usage.d.ts +4 -0
  23. package/dist/esm/examples/basic-usage.js +93 -0
  24. package/dist/esm/index.d.ts +13 -0
  25. package/dist/esm/index.js +15 -0
  26. package/dist/examples/basic-usage.d.ts +4 -0
  27. package/dist/examples/basic-usage.js +95 -0
  28. package/dist/index.d.ts +13 -0
  29. package/dist/index.js +31 -0
  30. package/index.ts +18 -0
  31. package/package.json +44 -22
  32. package/tsconfig.json +20 -0
  33. package/dist/api/apis.d.ts +0 -32
  34. package/dist/api/apis.js +0 -50
  35. package/dist/api/applicationsApi.d.ts +0 -104
  36. package/dist/api/applicationsApi.js +0 -431
  37. package/dist/api/backupManagementApi.d.ts +0 -112
  38. package/dist/api/backupManagementApi.js +0 -464
  39. package/dist/api/commandsApi.d.ts +0 -80
  40. package/dist/api/commandsApi.js +0 -316
  41. package/dist/api/composeApi.d.ts +0 -67
  42. package/dist/api/composeApi.js +0 -240
  43. package/dist/api/containersApi.d.ts +0 -67
  44. package/dist/api/containersApi.js +0 -236
  45. package/dist/api/cronApi.d.ts +0 -151
  46. package/dist/api/cronApi.js +0 -681
  47. package/dist/api/environmentsApi.d.ts +0 -194
  48. package/dist/api/environmentsApi.js +0 -869
  49. package/dist/api/sSHAccessApi.d.ts +0 -50
  50. package/dist/api/sSHAccessApi.js +0 -162
  51. package/dist/api/scalingPolicyApi.d.ts +0 -82
  52. package/dist/api/scalingPolicyApi.js +0 -307
  53. package/dist/api/variablesApi.d.ts +0 -83
  54. package/dist/api/variablesApi.js +0 -313
  55. package/dist/api/volumesApi.d.ts +0 -97
  56. package/dist/api/volumesApi.js +0 -405
  57. package/dist/model/application.d.ts +0 -38
  58. package/dist/model/application.js +0 -93
  59. package/dist/model/command.d.ts +0 -34
  60. package/dist/model/command.js +0 -73
  61. package/dist/model/compose.d.ts +0 -32
  62. package/dist/model/compose.js +0 -58
  63. package/dist/model/configuration.d.ts +0 -26
  64. package/dist/model/configuration.js +0 -30
  65. package/dist/model/container.d.ts +0 -75
  66. package/dist/model/container.js +0 -121
  67. package/dist/model/containerDependsOnInner.d.ts +0 -40
  68. package/dist/model/containerDependsOnInner.js +0 -42
  69. package/dist/model/containerEnvironmentInner.d.ts +0 -32
  70. package/dist/model/containerEnvironmentInner.js +0 -33
  71. package/dist/model/containerHealthCheck.d.ts +0 -47
  72. package/dist/model/containerHealthCheck.js +0 -65
  73. package/dist/model/containerImageReference.d.ts +0 -38
  74. package/dist/model/containerImageReference.js +0 -40
  75. package/dist/model/containerMountPointsInner.d.ts +0 -33
  76. package/dist/model/containerMountPointsInner.js +0 -41
  77. package/dist/model/containerSecretsInner.d.ts +0 -32
  78. package/dist/model/containerSecretsInner.js +0 -33
  79. package/dist/model/createApplicationRequest.d.ts +0 -28
  80. package/dist/model/createApplicationRequest.js +0 -43
  81. package/dist/model/createBackup202Response.d.ts +0 -27
  82. package/dist/model/createBackup202Response.js +0 -38
  83. package/dist/model/createBackupRequest.d.ts +0 -32
  84. package/dist/model/createBackupRequest.js +0 -33
  85. package/dist/model/createCommandRequest.d.ts +0 -25
  86. package/dist/model/createCommandRequest.js +0 -28
  87. package/dist/model/createCronJob422Response.d.ts +0 -26
  88. package/dist/model/createCronJob422Response.js +0 -33
  89. package/dist/model/createCronJobRequest.d.ts +0 -30
  90. package/dist/model/createCronJobRequest.js +0 -56
  91. package/dist/model/createEnvironmentRequest.d.ts +0 -34
  92. package/dist/model/createEnvironmentRequest.js +0 -53
  93. package/dist/model/cron.d.ts +0 -27
  94. package/dist/model/cron.js +0 -38
  95. package/dist/model/cronRun.d.ts +0 -48
  96. package/dist/model/cronRun.js +0 -89
  97. package/dist/model/deleteBackup200Response.d.ts +0 -26
  98. package/dist/model/deleteBackup200Response.js +0 -33
  99. package/dist/model/downloadBackup200Response.d.ts +0 -36
  100. package/dist/model/downloadBackup200Response.js +0 -38
  101. package/dist/model/environment.d.ts +0 -45
  102. package/dist/model/environment.js +0 -103
  103. package/dist/model/getEcrLoginCredentials200Response.d.ts +0 -28
  104. package/dist/model/getEcrLoginCredentials200Response.js +0 -43
  105. package/dist/model/getScalingPolicies200Response.d.ts +0 -26
  106. package/dist/model/getScalingPolicies200Response.js +0 -28
  107. package/dist/model/getSshAccessCredentials200Response.d.ts +0 -34
  108. package/dist/model/getSshAccessCredentials200Response.js +0 -68
  109. package/dist/model/getSshAccessCredentials200ResponseCredentials.d.ts +0 -28
  110. package/dist/model/getSshAccessCredentials200ResponseCredentials.js +0 -43
  111. package/dist/model/listBackups200Response.d.ts +0 -32
  112. package/dist/model/listBackups200Response.js +0 -43
  113. package/dist/model/listBackups200ResponseBackupsInner.d.ts +0 -37
  114. package/dist/model/listBackups200ResponseBackupsInner.js +0 -88
  115. package/dist/model/listBackups422Response.d.ts +0 -25
  116. package/dist/model/listBackups422Response.js +0 -28
  117. package/dist/model/models.d.ts +0 -89
  118. package/dist/model/models.js +0 -387
  119. package/dist/model/scalingPolicy.d.ts +0 -35
  120. package/dist/model/scalingPolicy.js +0 -51
  121. package/dist/model/syncOperation.d.ts +0 -31
  122. package/dist/model/syncOperation.js +0 -58
  123. package/dist/model/syncToEnvironmentRequest.d.ts +0 -25
  124. package/dist/model/syncToEnvironmentRequest.js +0 -28
  125. package/dist/model/updateComposeRequest.d.ts +0 -26
  126. package/dist/model/updateComposeRequest.js +0 -28
  127. package/dist/model/updateCronJobRequest.d.ts +0 -29
  128. package/dist/model/updateCronJobRequest.js +0 -48
  129. package/dist/model/updateEnvironmentComposeRequest.d.ts +0 -26
  130. package/dist/model/updateEnvironmentComposeRequest.js +0 -28
  131. package/dist/model/updateEnvironmentRequest.d.ts +0 -34
  132. package/dist/model/updateEnvironmentRequest.js +0 -38
  133. package/dist/model/updateEnvironmentStateRequest.d.ts +0 -26
  134. package/dist/model/updateEnvironmentStateRequest.js +0 -33
  135. package/dist/model/updateEnvironmentVariableRequest.d.ts +0 -25
  136. package/dist/model/updateEnvironmentVariableRequest.js +0 -28
  137. package/dist/model/validateCompose200Response.d.ts +0 -33
  138. package/dist/model/validateCompose200Response.js +0 -38
  139. package/dist/model/validateCompose422Response.d.ts +0 -25
  140. package/dist/model/validateCompose422Response.js +0 -28
  141. package/dist/model/validateComposeRequest.d.ts +0 -36
  142. package/dist/model/validateComposeRequest.js +0 -38
  143. package/dist/model/variable.d.ts +0 -26
  144. package/dist/model/variable.js +0 -33
  145. package/dist/model/volume.d.ts +0 -32
  146. package/dist/model/volume.js +0 -63
@@ -1,58 +0,0 @@
1
- "use strict";
2
- /**
3
- * QuantCloud API
4
- * QuantCloud API
5
- *
6
- * The version of the OpenAPI document: 1.0.0
7
- *
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.Compose = void 0;
15
- class Compose {
16
- static getAttributeTypeMap() {
17
- return Compose.attributeTypeMap;
18
- }
19
- }
20
- exports.Compose = Compose;
21
- Compose.discriminator = undefined;
22
- Compose.attributeTypeMap = [
23
- {
24
- "name": "containers",
25
- "baseName": "containers",
26
- "type": "Array<Container>"
27
- },
28
- {
29
- "name": "architecture",
30
- "baseName": "architecture",
31
- "type": "string"
32
- },
33
- {
34
- "name": "taskCpu",
35
- "baseName": "taskCpu",
36
- "type": "number"
37
- },
38
- {
39
- "name": "taskMemory",
40
- "baseName": "taskMemory",
41
- "type": "number"
42
- },
43
- {
44
- "name": "taskRoleArn",
45
- "baseName": "taskRoleArn",
46
- "type": "string"
47
- },
48
- {
49
- "name": "minCapacity",
50
- "baseName": "minCapacity",
51
- "type": "number"
52
- },
53
- {
54
- "name": "maxCapacity",
55
- "baseName": "maxCapacity",
56
- "type": "number"
57
- }
58
- ];
@@ -1,26 +0,0 @@
1
- /**
2
- * Configuration for the Quant API client
3
- */
4
- export declare class Configuration {
5
- /**
6
- * API key
7
- */
8
- apiKey?: string;
9
- /**
10
- * Base path for API calls
11
- */
12
- basePath?: string;
13
- /**
14
- * Default headers for API calls
15
- */
16
- headers: {
17
- [key: string]: string;
18
- };
19
- constructor(config?: {
20
- apiKey?: string;
21
- basePath?: string;
22
- headers?: {
23
- [key: string]: string;
24
- };
25
- });
26
- }
@@ -1,30 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Configuration = void 0;
4
- /**
5
- * Configuration for the Quant API client
6
- */
7
- class Configuration {
8
- constructor(config = {}) {
9
- /**
10
- * Base path for API calls
11
- */
12
- this.basePath = 'http://localhost';
13
- /**
14
- * Default headers for API calls
15
- */
16
- this.headers = {};
17
- this.apiKey = config.apiKey;
18
- if (config.basePath) {
19
- this.basePath = config.basePath;
20
- }
21
- if (config.headers) {
22
- this.headers = config.headers;
23
- }
24
- // Set default authentication header if API key is provided
25
- if (this.apiKey) {
26
- this.headers['Authorization'] = `Bearer ${this.apiKey}`;
27
- }
28
- }
29
- }
30
- exports.Configuration = Configuration;
@@ -1,75 +0,0 @@
1
- /**
2
- * QuantCloud API
3
- * QuantCloud API
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { ContainerDependsOnInner } from './containerDependsOnInner';
13
- import { ContainerEnvironmentInner } from './containerEnvironmentInner';
14
- import { ContainerHealthCheck } from './containerHealthCheck';
15
- import { ContainerImageReference } from './containerImageReference';
16
- import { ContainerMountPointsInner } from './containerMountPointsInner';
17
- import { ContainerSecretsInner } from './containerSecretsInner';
18
- export declare class Container {
19
- /**
20
- * Name of the container
21
- */
22
- 'name': string;
23
- 'imageReference': ContainerImageReference;
24
- /**
25
- * Container-level CPU units
26
- */
27
- 'cpu'?: number | null;
28
- /**
29
- * Container-level memory hard limit (MiB)
30
- */
31
- 'memory'?: number | null;
32
- /**
33
- * Container-level memory soft limit (MiB)
34
- */
35
- 'memoryReservation'?: number | null;
36
- /**
37
- * List of container ports to expose
38
- */
39
- 'exposedPorts'?: Array<number> | null;
40
- 'mountPoints'?: Array<ContainerMountPointsInner> | null;
41
- /**
42
- * Environment variables specific to this container
43
- */
44
- 'environment'?: Array<ContainerEnvironmentInner> | null;
45
- /**
46
- * Secrets mapped to environment variables
47
- */
48
- 'secrets'?: Array<ContainerSecretsInner> | null;
49
- 'healthCheck'?: ContainerHealthCheck | null;
50
- /**
51
- * Container startup dependencies
52
- */
53
- 'dependsOn'?: Array<ContainerDependsOnInner> | null;
54
- 'command'?: Array<string> | null;
55
- 'entryPoint'?: Array<string> | null;
56
- 'workingDirectory'?: string | null;
57
- 'essential'?: boolean | null;
58
- 'readonlyRootFilesystem'?: boolean | null;
59
- 'user'?: string | null;
60
- /**
61
- * Enable origin protection for all exposed ports on this container
62
- */
63
- 'originProtection'?: boolean | null;
64
- static discriminator: string | undefined;
65
- static attributeTypeMap: Array<{
66
- name: string;
67
- baseName: string;
68
- type: string;
69
- }>;
70
- static getAttributeTypeMap(): {
71
- name: string;
72
- baseName: string;
73
- type: string;
74
- }[];
75
- }
@@ -1,121 +0,0 @@
1
- "use strict";
2
- /**
3
- * QuantCloud API
4
- * QuantCloud API
5
- *
6
- * The version of the OpenAPI document: 1.0.0
7
- *
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.Container = void 0;
15
- class Container {
16
- constructor() {
17
- this['essential'] = true;
18
- this['readonlyRootFilesystem'] = false;
19
- /**
20
- * Enable origin protection for all exposed ports on this container
21
- */
22
- this['originProtection'] = false;
23
- }
24
- static getAttributeTypeMap() {
25
- return Container.attributeTypeMap;
26
- }
27
- }
28
- exports.Container = Container;
29
- Container.discriminator = undefined;
30
- Container.attributeTypeMap = [
31
- {
32
- "name": "name",
33
- "baseName": "name",
34
- "type": "string"
35
- },
36
- {
37
- "name": "imageReference",
38
- "baseName": "imageReference",
39
- "type": "ContainerImageReference"
40
- },
41
- {
42
- "name": "cpu",
43
- "baseName": "cpu",
44
- "type": "number"
45
- },
46
- {
47
- "name": "memory",
48
- "baseName": "memory",
49
- "type": "number"
50
- },
51
- {
52
- "name": "memoryReservation",
53
- "baseName": "memoryReservation",
54
- "type": "number"
55
- },
56
- {
57
- "name": "exposedPorts",
58
- "baseName": "exposedPorts",
59
- "type": "Array<number>"
60
- },
61
- {
62
- "name": "mountPoints",
63
- "baseName": "mountPoints",
64
- "type": "Array<ContainerMountPointsInner>"
65
- },
66
- {
67
- "name": "environment",
68
- "baseName": "environment",
69
- "type": "Array<ContainerEnvironmentInner>"
70
- },
71
- {
72
- "name": "secrets",
73
- "baseName": "secrets",
74
- "type": "Array<ContainerSecretsInner>"
75
- },
76
- {
77
- "name": "healthCheck",
78
- "baseName": "healthCheck",
79
- "type": "ContainerHealthCheck"
80
- },
81
- {
82
- "name": "dependsOn",
83
- "baseName": "dependsOn",
84
- "type": "Array<ContainerDependsOnInner>"
85
- },
86
- {
87
- "name": "command",
88
- "baseName": "command",
89
- "type": "Array<string>"
90
- },
91
- {
92
- "name": "entryPoint",
93
- "baseName": "entryPoint",
94
- "type": "Array<string>"
95
- },
96
- {
97
- "name": "workingDirectory",
98
- "baseName": "workingDirectory",
99
- "type": "string"
100
- },
101
- {
102
- "name": "essential",
103
- "baseName": "essential",
104
- "type": "boolean"
105
- },
106
- {
107
- "name": "readonlyRootFilesystem",
108
- "baseName": "readonlyRootFilesystem",
109
- "type": "boolean"
110
- },
111
- {
112
- "name": "user",
113
- "baseName": "user",
114
- "type": "string"
115
- },
116
- {
117
- "name": "originProtection",
118
- "baseName": "originProtection",
119
- "type": "boolean"
120
- }
121
- ];
@@ -1,40 +0,0 @@
1
- /**
2
- * QuantCloud API
3
- * QuantCloud API
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export declare class ContainerDependsOnInner {
13
- /**
14
- * The name of the container this container depends on
15
- */
16
- 'containerName': string;
17
- /**
18
- * The condition to wait for on the dependency
19
- */
20
- 'condition'?: ContainerDependsOnInner.ConditionEnum;
21
- static discriminator: string | undefined;
22
- static attributeTypeMap: Array<{
23
- name: string;
24
- baseName: string;
25
- type: string;
26
- }>;
27
- static getAttributeTypeMap(): {
28
- name: string;
29
- baseName: string;
30
- type: string;
31
- }[];
32
- }
33
- export declare namespace ContainerDependsOnInner {
34
- enum ConditionEnum {
35
- Start,
36
- Healthy,
37
- Complete,
38
- Success
39
- }
40
- }
@@ -1,42 +0,0 @@
1
- "use strict";
2
- /**
3
- * QuantCloud API
4
- * QuantCloud API
5
- *
6
- * The version of the OpenAPI document: 1.0.0
7
- *
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.ContainerDependsOnInner = void 0;
15
- class ContainerDependsOnInner {
16
- static getAttributeTypeMap() {
17
- return ContainerDependsOnInner.attributeTypeMap;
18
- }
19
- }
20
- exports.ContainerDependsOnInner = ContainerDependsOnInner;
21
- ContainerDependsOnInner.discriminator = undefined;
22
- ContainerDependsOnInner.attributeTypeMap = [
23
- {
24
- "name": "containerName",
25
- "baseName": "containerName",
26
- "type": "string"
27
- },
28
- {
29
- "name": "condition",
30
- "baseName": "condition",
31
- "type": "ContainerDependsOnInner.ConditionEnum"
32
- }
33
- ];
34
- (function (ContainerDependsOnInner) {
35
- let ConditionEnum;
36
- (function (ConditionEnum) {
37
- ConditionEnum[ConditionEnum["Start"] = 'START'] = "Start";
38
- ConditionEnum[ConditionEnum["Healthy"] = 'HEALTHY'] = "Healthy";
39
- ConditionEnum[ConditionEnum["Complete"] = 'COMPLETE'] = "Complete";
40
- ConditionEnum[ConditionEnum["Success"] = 'SUCCESS'] = "Success";
41
- })(ConditionEnum = ContainerDependsOnInner.ConditionEnum || (ContainerDependsOnInner.ConditionEnum = {}));
42
- })(ContainerDependsOnInner = exports.ContainerDependsOnInner || (exports.ContainerDependsOnInner = {}));
@@ -1,32 +0,0 @@
1
- /**
2
- * QuantCloud API
3
- * QuantCloud API
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export declare class ContainerEnvironmentInner {
13
- /**
14
- * Environment variable name
15
- */
16
- 'name': string;
17
- /**
18
- * Environment variable value
19
- */
20
- 'value': string;
21
- static discriminator: string | undefined;
22
- static attributeTypeMap: Array<{
23
- name: string;
24
- baseName: string;
25
- type: string;
26
- }>;
27
- static getAttributeTypeMap(): {
28
- name: string;
29
- baseName: string;
30
- type: string;
31
- }[];
32
- }
@@ -1,33 +0,0 @@
1
- "use strict";
2
- /**
3
- * QuantCloud API
4
- * QuantCloud API
5
- *
6
- * The version of the OpenAPI document: 1.0.0
7
- *
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.ContainerEnvironmentInner = void 0;
15
- class ContainerEnvironmentInner {
16
- static getAttributeTypeMap() {
17
- return ContainerEnvironmentInner.attributeTypeMap;
18
- }
19
- }
20
- exports.ContainerEnvironmentInner = ContainerEnvironmentInner;
21
- ContainerEnvironmentInner.discriminator = undefined;
22
- ContainerEnvironmentInner.attributeTypeMap = [
23
- {
24
- "name": "name",
25
- "baseName": "name",
26
- "type": "string"
27
- },
28
- {
29
- "name": "value",
30
- "baseName": "value",
31
- "type": "string"
32
- }
33
- ];
@@ -1,47 +0,0 @@
1
- /**
2
- * QuantCloud API
3
- * QuantCloud API
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Container health check configuration
14
- */
15
- export declare class ContainerHealthCheck {
16
- /**
17
- * The command to run to determine if the container is healthy
18
- */
19
- 'command'?: Array<string>;
20
- /**
21
- * Time period (seconds) between health checks
22
- */
23
- 'interval'?: number;
24
- /**
25
- * Time period (seconds) to wait for a health check to return
26
- */
27
- 'timeout'?: number;
28
- /**
29
- * Number of times to retry a failed health check
30
- */
31
- 'retries'?: number;
32
- /**
33
- * Grace period (seconds) to ignore unhealthy checks after container starts
34
- */
35
- 'startPeriod'?: number | null;
36
- static discriminator: string | undefined;
37
- static attributeTypeMap: Array<{
38
- name: string;
39
- baseName: string;
40
- type: string;
41
- }>;
42
- static getAttributeTypeMap(): {
43
- name: string;
44
- baseName: string;
45
- type: string;
46
- }[];
47
- }
@@ -1,65 +0,0 @@
1
- "use strict";
2
- /**
3
- * QuantCloud API
4
- * QuantCloud API
5
- *
6
- * The version of the OpenAPI document: 1.0.0
7
- *
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.ContainerHealthCheck = void 0;
15
- /**
16
- * Container health check configuration
17
- */
18
- class ContainerHealthCheck {
19
- constructor() {
20
- /**
21
- * Time period (seconds) between health checks
22
- */
23
- this['interval'] = 30;
24
- /**
25
- * Time period (seconds) to wait for a health check to return
26
- */
27
- this['timeout'] = 5;
28
- /**
29
- * Number of times to retry a failed health check
30
- */
31
- this['retries'] = 3;
32
- }
33
- static getAttributeTypeMap() {
34
- return ContainerHealthCheck.attributeTypeMap;
35
- }
36
- }
37
- exports.ContainerHealthCheck = ContainerHealthCheck;
38
- ContainerHealthCheck.discriminator = undefined;
39
- ContainerHealthCheck.attributeTypeMap = [
40
- {
41
- "name": "command",
42
- "baseName": "command",
43
- "type": "Array<string>"
44
- },
45
- {
46
- "name": "interval",
47
- "baseName": "interval",
48
- "type": "number"
49
- },
50
- {
51
- "name": "timeout",
52
- "baseName": "timeout",
53
- "type": "number"
54
- },
55
- {
56
- "name": "retries",
57
- "baseName": "retries",
58
- "type": "number"
59
- },
60
- {
61
- "name": "startPeriod",
62
- "baseName": "startPeriod",
63
- "type": "number"
64
- }
65
- ];
@@ -1,38 +0,0 @@
1
- /**
2
- * QuantCloud API
3
- * QuantCloud API
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export declare class ContainerImageReference {
13
- /**
14
- * Specifies whether the image is internal (ECR) or external (e.g., Docker Hub)
15
- */
16
- 'type': ContainerImageReference.TypeEnum;
17
- /**
18
- * The image identifier. For \'internal\' type, this is the image tag. For \'external\' type, this is the full image name.
19
- */
20
- 'identifier': string;
21
- static discriminator: string | undefined;
22
- static attributeTypeMap: Array<{
23
- name: string;
24
- baseName: string;
25
- type: string;
26
- }>;
27
- static getAttributeTypeMap(): {
28
- name: string;
29
- baseName: string;
30
- type: string;
31
- }[];
32
- }
33
- export declare namespace ContainerImageReference {
34
- enum TypeEnum {
35
- Internal,
36
- External
37
- }
38
- }
@@ -1,40 +0,0 @@
1
- "use strict";
2
- /**
3
- * QuantCloud API
4
- * QuantCloud API
5
- *
6
- * The version of the OpenAPI document: 1.0.0
7
- *
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.ContainerImageReference = void 0;
15
- class ContainerImageReference {
16
- static getAttributeTypeMap() {
17
- return ContainerImageReference.attributeTypeMap;
18
- }
19
- }
20
- exports.ContainerImageReference = ContainerImageReference;
21
- ContainerImageReference.discriminator = undefined;
22
- ContainerImageReference.attributeTypeMap = [
23
- {
24
- "name": "type",
25
- "baseName": "type",
26
- "type": "ContainerImageReference.TypeEnum"
27
- },
28
- {
29
- "name": "identifier",
30
- "baseName": "identifier",
31
- "type": "string"
32
- }
33
- ];
34
- (function (ContainerImageReference) {
35
- let TypeEnum;
36
- (function (TypeEnum) {
37
- TypeEnum[TypeEnum["Internal"] = 'internal'] = "Internal";
38
- TypeEnum[TypeEnum["External"] = 'external'] = "External";
39
- })(TypeEnum = ContainerImageReference.TypeEnum || (ContainerImageReference.TypeEnum = {}));
40
- })(ContainerImageReference = exports.ContainerImageReference || (exports.ContainerImageReference = {}));
@@ -1,33 +0,0 @@
1
- /**
2
- * QuantCloud API
3
- * QuantCloud API
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export declare class ContainerMountPointsInner {
13
- /**
14
- * The name of the logical volume
15
- */
16
- 'sourceVolume': string;
17
- /**
18
- * The path inside the container where the volume is mounted
19
- */
20
- 'containerPath': string;
21
- 'readOnly'?: boolean;
22
- static discriminator: string | undefined;
23
- static attributeTypeMap: Array<{
24
- name: string;
25
- baseName: string;
26
- type: string;
27
- }>;
28
- static getAttributeTypeMap(): {
29
- name: string;
30
- baseName: string;
31
- type: string;
32
- }[];
33
- }