sandbox0 0.10.1 → 0.10.2

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 (149) hide show
  1. package/README.md +5 -4
  2. package/dist/apispec/src/apis/SandboxRootfsApi.d.ts +15 -1
  3. package/dist/apispec/src/apis/SandboxRootfsApi.d.ts.map +1 -1
  4. package/dist/apispec/src/apis/SandboxRootfsApi.js +41 -1
  5. package/dist/apispec/src/apis/TemplatesApi.d.ts +2 -2
  6. package/dist/apispec/src/apis/TemplatesApi.js +2 -2
  7. package/dist/apispec/src/models/ClaimResponse.d.ts +2 -2
  8. package/dist/apispec/src/models/ClaimResponse.d.ts.map +1 -1
  9. package/dist/apispec/src/models/ClaimResponse.js +3 -3
  10. package/dist/apispec/src/models/ContainerSpec.d.ts +12 -11
  11. package/dist/apispec/src/models/ContainerSpec.d.ts.map +1 -1
  12. package/dist/apispec/src/models/ContainerSpec.js +9 -5
  13. package/dist/apispec/src/models/EphemeralMountSpec.d.ts +39 -0
  14. package/dist/apispec/src/models/EphemeralMountSpec.d.ts.map +1 -0
  15. package/dist/apispec/src/models/{EmptyDirMountSpec.js → EphemeralMountSpec.js} +11 -9
  16. package/dist/apispec/src/models/RebaseSandboxRootFSRequest.d.ts +39 -0
  17. package/dist/apispec/src/models/RebaseSandboxRootFSRequest.d.ts.map +1 -0
  18. package/dist/apispec/src/models/RebaseSandboxRootFSRequest.js +45 -0
  19. package/dist/apispec/src/models/RebaseSandboxRootFSResponse.d.ts +58 -0
  20. package/dist/apispec/src/models/RebaseSandboxRootFSResponse.d.ts.map +1 -0
  21. package/dist/apispec/src/models/RebaseSandboxRootFSResponse.js +60 -0
  22. package/dist/apispec/src/models/ResourceQuota.d.ts +1 -1
  23. package/dist/apispec/src/models/Sandbox.d.ts +2 -2
  24. package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
  25. package/dist/apispec/src/models/Sandbox.js +3 -3
  26. package/dist/apispec/src/models/SandboxResourceConfig.d.ts +1 -1
  27. package/dist/apispec/src/models/SandboxStatus.d.ts +2 -2
  28. package/dist/apispec/src/models/SandboxStatus.d.ts.map +1 -1
  29. package/dist/apispec/src/models/SandboxStatus.js +2 -2
  30. package/dist/apispec/src/models/SandboxTemplateSpec.d.ts +5 -18
  31. package/dist/apispec/src/models/SandboxTemplateSpec.d.ts.map +1 -1
  32. package/dist/apispec/src/models/SandboxTemplateSpec.js +6 -9
  33. package/dist/apispec/src/models/SandboxTemplateStatus.d.ts +0 -25
  34. package/dist/apispec/src/models/SandboxTemplateStatus.d.ts.map +1 -1
  35. package/dist/apispec/src/models/SandboxTemplateStatus.js +0 -9
  36. package/dist/apispec/src/models/SandboxUpdateConfig.d.ts +3 -27
  37. package/dist/apispec/src/models/SandboxUpdateConfig.d.ts.map +1 -1
  38. package/dist/apispec/src/models/SandboxUpdateConfig.js +0 -8
  39. package/dist/apispec/src/models/SuccessRebaseSandboxRootFSResponse.d.ts +40 -0
  40. package/dist/apispec/src/models/SuccessRebaseSandboxRootFSResponse.d.ts.map +1 -0
  41. package/dist/apispec/src/models/SuccessRebaseSandboxRootFSResponse.js +46 -0
  42. package/dist/apispec/src/models/TemplateCreationStatus.d.ts +2 -11
  43. package/dist/apispec/src/models/TemplateCreationStatus.d.ts.map +1 -1
  44. package/dist/apispec/src/models/TemplateCreationStatus.js +1 -4
  45. package/dist/apispec/src/models/TemplateFromSandboxSpecOverrides.d.ts +1 -11
  46. package/dist/apispec/src/models/TemplateFromSandboxSpecOverrides.d.ts.map +1 -1
  47. package/dist/apispec/src/models/TemplateFromSandboxSpecOverrides.js +0 -3
  48. package/dist/apispec/src/models/index.d.ts +4 -28
  49. package/dist/apispec/src/models/index.d.ts.map +1 -1
  50. package/dist/apispec/src/models/index.js +4 -28
  51. package/dist/resources/sandboxes.d.ts +2 -2
  52. package/dist/resources/sandboxes.d.ts.map +1 -1
  53. package/dist/resources/sandboxes.js +8 -8
  54. package/dist/sandbox.d.ts +2 -2
  55. package/dist/sandbox.d.ts.map +1 -1
  56. package/dist/sandbox.js +2 -2
  57. package/dist/template_helpers.d.ts +4 -6
  58. package/dist/template_helpers.d.ts.map +1 -1
  59. package/dist/template_helpers.js +5 -5
  60. package/package.json +2 -2
  61. package/dist/apispec/src/models/Affinity.d.ts +0 -41
  62. package/dist/apispec/src/models/Affinity.d.ts.map +0 -1
  63. package/dist/apispec/src/models/Affinity.js +0 -45
  64. package/dist/apispec/src/models/AppArmorProfile.d.ts +0 -48
  65. package/dist/apispec/src/models/AppArmorProfile.d.ts.map +0 -1
  66. package/dist/apispec/src/models/AppArmorProfile.js +0 -53
  67. package/dist/apispec/src/models/Capabilities.d.ts +0 -39
  68. package/dist/apispec/src/models/Capabilities.d.ts.map +0 -1
  69. package/dist/apispec/src/models/Capabilities.js +0 -43
  70. package/dist/apispec/src/models/EmptyDirMountSpec.d.ts +0 -39
  71. package/dist/apispec/src/models/EmptyDirMountSpec.d.ts.map +0 -1
  72. package/dist/apispec/src/models/ExecAction.d.ts +0 -33
  73. package/dist/apispec/src/models/ExecAction.d.ts.map +0 -1
  74. package/dist/apispec/src/models/ExecAction.js +0 -41
  75. package/dist/apispec/src/models/GRPCAction.d.ts +0 -39
  76. package/dist/apispec/src/models/GRPCAction.d.ts.map +0 -1
  77. package/dist/apispec/src/models/GRPCAction.js +0 -45
  78. package/dist/apispec/src/models/HTTPGetAction.d.ts +0 -58
  79. package/dist/apispec/src/models/HTTPGetAction.d.ts.map +0 -1
  80. package/dist/apispec/src/models/HTTPGetAction.js +0 -52
  81. package/dist/apispec/src/models/HTTPHeader.d.ts +0 -39
  82. package/dist/apispec/src/models/HTTPHeader.d.ts.map +0 -1
  83. package/dist/apispec/src/models/HTTPHeader.js +0 -47
  84. package/dist/apispec/src/models/LabelSelector.d.ts +0 -42
  85. package/dist/apispec/src/models/LabelSelector.d.ts.map +0 -1
  86. package/dist/apispec/src/models/LabelSelector.js +0 -44
  87. package/dist/apispec/src/models/LabelSelectorRequirement.d.ts +0 -45
  88. package/dist/apispec/src/models/LabelSelectorRequirement.d.ts.map +0 -1
  89. package/dist/apispec/src/models/LabelSelectorRequirement.js +0 -49
  90. package/dist/apispec/src/models/NodeAffinity.d.ts +0 -41
  91. package/dist/apispec/src/models/NodeAffinity.d.ts.map +0 -1
  92. package/dist/apispec/src/models/NodeAffinity.js +0 -45
  93. package/dist/apispec/src/models/NodeSelector.d.ts +0 -34
  94. package/dist/apispec/src/models/NodeSelector.d.ts.map +0 -1
  95. package/dist/apispec/src/models/NodeSelector.js +0 -42
  96. package/dist/apispec/src/models/NodeSelectorRequirement.d.ts +0 -45
  97. package/dist/apispec/src/models/NodeSelectorRequirement.d.ts.map +0 -1
  98. package/dist/apispec/src/models/NodeSelectorRequirement.js +0 -49
  99. package/dist/apispec/src/models/NodeSelectorTerm.d.ts +0 -40
  100. package/dist/apispec/src/models/NodeSelectorTerm.d.ts.map +0 -1
  101. package/dist/apispec/src/models/NodeSelectorTerm.js +0 -44
  102. package/dist/apispec/src/models/ObjectMeta.d.ts +0 -55
  103. package/dist/apispec/src/models/ObjectMeta.d.ts.map +0 -1
  104. package/dist/apispec/src/models/ObjectMeta.js +0 -47
  105. package/dist/apispec/src/models/PodAffinity.d.ts +0 -41
  106. package/dist/apispec/src/models/PodAffinity.d.ts.map +0 -1
  107. package/dist/apispec/src/models/PodAffinity.js +0 -45
  108. package/dist/apispec/src/models/PodAffinityTerm.d.ts +0 -46
  109. package/dist/apispec/src/models/PodAffinityTerm.d.ts.map +0 -1
  110. package/dist/apispec/src/models/PodAffinityTerm.js +0 -48
  111. package/dist/apispec/src/models/PodSpecOverride.d.ts +0 -62
  112. package/dist/apispec/src/models/PodSpecOverride.d.ts.map +0 -1
  113. package/dist/apispec/src/models/PodSpecOverride.js +0 -52
  114. package/dist/apispec/src/models/PoolStrategy.d.ts +0 -39
  115. package/dist/apispec/src/models/PoolStrategy.d.ts.map +0 -1
  116. package/dist/apispec/src/models/PoolStrategy.js +0 -47
  117. package/dist/apispec/src/models/PreferredSchedulingTerm.d.ts +0 -40
  118. package/dist/apispec/src/models/PreferredSchedulingTerm.d.ts.map +0 -1
  119. package/dist/apispec/src/models/PreferredSchedulingTerm.js +0 -48
  120. package/dist/apispec/src/models/Probe.d.ts +0 -91
  121. package/dist/apispec/src/models/Probe.d.ts.map +0 -1
  122. package/dist/apispec/src/models/Probe.js +0 -63
  123. package/dist/apispec/src/models/SandboxTemplate.d.ts +0 -60
  124. package/dist/apispec/src/models/SandboxTemplate.d.ts.map +0 -1
  125. package/dist/apispec/src/models/SandboxTemplate.js +0 -52
  126. package/dist/apispec/src/models/SandboxTemplateCondition.d.ts +0 -57
  127. package/dist/apispec/src/models/SandboxTemplateCondition.d.ts.map +0 -1
  128. package/dist/apispec/src/models/SandboxTemplateCondition.js +0 -49
  129. package/dist/apispec/src/models/SeccompProfile.d.ts +0 -48
  130. package/dist/apispec/src/models/SeccompProfile.d.ts.map +0 -1
  131. package/dist/apispec/src/models/SeccompProfile.js +0 -53
  132. package/dist/apispec/src/models/SecurityContext.d.ts +0 -84
  133. package/dist/apispec/src/models/SecurityContext.d.ts.map +0 -1
  134. package/dist/apispec/src/models/SecurityContext.js +0 -60
  135. package/dist/apispec/src/models/SuccessRestoreResponse.d.ts +0 -40
  136. package/dist/apispec/src/models/SuccessRestoreResponse.d.ts.map +0 -1
  137. package/dist/apispec/src/models/SuccessRestoreResponse.js +0 -46
  138. package/dist/apispec/src/models/SuccessRestoreResponseAllOfData.d.ts +0 -33
  139. package/dist/apispec/src/models/SuccessRestoreResponseAllOfData.d.ts.map +0 -1
  140. package/dist/apispec/src/models/SuccessRestoreResponseAllOfData.js +0 -41
  141. package/dist/apispec/src/models/TCPSocketAction.d.ts +0 -39
  142. package/dist/apispec/src/models/TCPSocketAction.d.ts.map +0 -1
  143. package/dist/apispec/src/models/TCPSocketAction.js +0 -45
  144. package/dist/apispec/src/models/Toleration.d.ts +0 -51
  145. package/dist/apispec/src/models/Toleration.d.ts.map +0 -1
  146. package/dist/apispec/src/models/Toleration.js +0 -47
  147. package/dist/apispec/src/models/WeightedPodAffinityTerm.d.ts +0 -40
  148. package/dist/apispec/src/models/WeightedPodAffinityTerm.d.ts.map +0 -1
  149. package/dist/apispec/src/models/WeightedPodAffinityTerm.js +0 -48
@@ -1,46 +0,0 @@
1
- /**
2
- * Sandbox0 API
3
- * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
- *
5
- * The version of the OpenAPI document: 0.1.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 type { LabelSelector } from './LabelSelector.js';
13
- /**
14
- *
15
- * @export
16
- * @interface PodAffinityTerm
17
- */
18
- export interface PodAffinityTerm {
19
- /**
20
- *
21
- * @type {LabelSelector}
22
- * @memberof PodAffinityTerm
23
- */
24
- labelSelector?: LabelSelector;
25
- /**
26
- *
27
- * @type {Array<string>}
28
- * @memberof PodAffinityTerm
29
- */
30
- namespaces?: Array<string>;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof PodAffinityTerm
35
- */
36
- topologyKey: string;
37
- }
38
- /**
39
- * Check if a given object implements the PodAffinityTerm interface.
40
- */
41
- export declare function instanceOfPodAffinityTerm(value: object): value is PodAffinityTerm;
42
- export declare function PodAffinityTermFromJSON(json: any): PodAffinityTerm;
43
- export declare function PodAffinityTermFromJSONTyped(json: any, ignoreDiscriminator: boolean): PodAffinityTerm;
44
- export declare function PodAffinityTermToJSON(json: any): PodAffinityTerm;
45
- export declare function PodAffinityTermToJSONTyped(value?: PodAffinityTerm | null, ignoreDiscriminator?: boolean): any;
46
- //# sourceMappingURL=PodAffinityTerm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PodAffinityTerm.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PodAffinityTerm.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAGjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAUrG;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWpH"}
@@ -1,48 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Sandbox0 API
5
- * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
- *
7
- * The version of the OpenAPI document: 0.1.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { LabelSelectorFromJSON, LabelSelectorToJSON, } from './LabelSelector.js';
15
- /**
16
- * Check if a given object implements the PodAffinityTerm interface.
17
- */
18
- export function instanceOfPodAffinityTerm(value) {
19
- if (!('topologyKey' in value) || value['topologyKey'] === undefined)
20
- return false;
21
- return true;
22
- }
23
- export function PodAffinityTermFromJSON(json) {
24
- return PodAffinityTermFromJSONTyped(json, false);
25
- }
26
- export function PodAffinityTermFromJSONTyped(json, ignoreDiscriminator) {
27
- if (json == null) {
28
- return json;
29
- }
30
- return {
31
- 'labelSelector': json['labelSelector'] == null ? undefined : LabelSelectorFromJSON(json['labelSelector']),
32
- 'namespaces': json['namespaces'] == null ? undefined : json['namespaces'],
33
- 'topologyKey': json['topologyKey'],
34
- };
35
- }
36
- export function PodAffinityTermToJSON(json) {
37
- return PodAffinityTermToJSONTyped(json, false);
38
- }
39
- export function PodAffinityTermToJSONTyped(value, ignoreDiscriminator = false) {
40
- if (value == null) {
41
- return value;
42
- }
43
- return {
44
- 'labelSelector': LabelSelectorToJSON(value['labelSelector']),
45
- 'namespaces': value['namespaces'],
46
- 'topologyKey': value['topologyKey'],
47
- };
48
- }
@@ -1,62 +0,0 @@
1
- /**
2
- * Sandbox0 API
3
- * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
- *
5
- * The version of the OpenAPI document: 0.1.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 type { EmptyDirMountSpec } from './EmptyDirMountSpec.js';
13
- import type { Toleration } from './Toleration.js';
14
- import type { Affinity } from './Affinity.js';
15
- /**
16
- *
17
- * @export
18
- * @interface PodSpecOverride
19
- */
20
- export interface PodSpecOverride {
21
- /**
22
- *
23
- * @type {{ [key: string]: string; }}
24
- * @memberof PodSpecOverride
25
- */
26
- nodeSelector?: {
27
- [key: string]: string;
28
- };
29
- /**
30
- *
31
- * @type {Affinity}
32
- * @memberof PodSpecOverride
33
- */
34
- affinity?: Affinity;
35
- /**
36
- *
37
- * @type {Array<Toleration>}
38
- * @memberof PodSpecOverride
39
- */
40
- tolerations?: Array<Toleration>;
41
- /**
42
- *
43
- * @type {string}
44
- * @memberof PodSpecOverride
45
- */
46
- serviceAccountName?: string;
47
- /**
48
- *
49
- * @type {Array<EmptyDirMountSpec>}
50
- * @memberof PodSpecOverride
51
- */
52
- emptyDirMounts?: Array<EmptyDirMountSpec>;
53
- }
54
- /**
55
- * Check if a given object implements the PodSpecOverride interface.
56
- */
57
- export declare function instanceOfPodSpecOverride(value: object): value is PodSpecOverride;
58
- export declare function PodSpecOverrideFromJSON(json: any): PodSpecOverride;
59
- export declare function PodSpecOverrideFromJSONTyped(json: any, ignoreDiscriminator: boolean): PodSpecOverride;
60
- export declare function PodSpecOverrideToJSON(json: any): PodSpecOverride;
61
- export declare function PodSpecOverrideToJSONTyped(value?: PodSpecOverride | null, ignoreDiscriminator?: boolean): any;
62
- //# sourceMappingURL=PodSpecOverride.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PodSpecOverride.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PodSpecOverride.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAQ3C;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,YAAY,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC1C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAChC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CAC7C;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAEjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAYrG;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAapH"}
@@ -1,52 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Sandbox0 API
5
- * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
- *
7
- * The version of the OpenAPI document: 0.1.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { EmptyDirMountSpecFromJSON, EmptyDirMountSpecToJSON, } from './EmptyDirMountSpec.js';
15
- import { TolerationFromJSON, TolerationToJSON, } from './Toleration.js';
16
- import { AffinityFromJSON, AffinityToJSON, } from './Affinity.js';
17
- /**
18
- * Check if a given object implements the PodSpecOverride interface.
19
- */
20
- export function instanceOfPodSpecOverride(value) {
21
- return true;
22
- }
23
- export function PodSpecOverrideFromJSON(json) {
24
- return PodSpecOverrideFromJSONTyped(json, false);
25
- }
26
- export function PodSpecOverrideFromJSONTyped(json, ignoreDiscriminator) {
27
- if (json == null) {
28
- return json;
29
- }
30
- return {
31
- 'nodeSelector': json['nodeSelector'] == null ? undefined : json['nodeSelector'],
32
- 'affinity': json['affinity'] == null ? undefined : AffinityFromJSON(json['affinity']),
33
- 'tolerations': json['tolerations'] == null ? undefined : (json['tolerations'].map(TolerationFromJSON)),
34
- 'serviceAccountName': json['serviceAccountName'] == null ? undefined : json['serviceAccountName'],
35
- 'emptyDirMounts': json['emptyDirMounts'] == null ? undefined : (json['emptyDirMounts'].map(EmptyDirMountSpecFromJSON)),
36
- };
37
- }
38
- export function PodSpecOverrideToJSON(json) {
39
- return PodSpecOverrideToJSONTyped(json, false);
40
- }
41
- export function PodSpecOverrideToJSONTyped(value, ignoreDiscriminator = false) {
42
- if (value == null) {
43
- return value;
44
- }
45
- return {
46
- 'nodeSelector': value['nodeSelector'],
47
- 'affinity': AffinityToJSON(value['affinity']),
48
- 'tolerations': value['tolerations'] == null ? undefined : (value['tolerations'].map(TolerationToJSON)),
49
- 'serviceAccountName': value['serviceAccountName'],
50
- 'emptyDirMounts': value['emptyDirMounts'] == null ? undefined : (value['emptyDirMounts'].map(EmptyDirMountSpecToJSON)),
51
- };
52
- }
@@ -1,39 +0,0 @@
1
- /**
2
- * Sandbox0 API
3
- * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
- *
5
- * The version of the OpenAPI document: 0.1.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
- *
14
- * @export
15
- * @interface PoolStrategy
16
- */
17
- export interface PoolStrategy {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof PoolStrategy
22
- */
23
- minIdle: number;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof PoolStrategy
28
- */
29
- maxIdle: number;
30
- }
31
- /**
32
- * Check if a given object implements the PoolStrategy interface.
33
- */
34
- export declare function instanceOfPoolStrategy(value: object): value is PoolStrategy;
35
- export declare function PoolStrategyFromJSON(json: any): PoolStrategy;
36
- export declare function PoolStrategyFromJSONTyped(json: any, ignoreDiscriminator: boolean): PoolStrategy;
37
- export declare function PoolStrategyToJSON(json: any): PoolStrategy;
38
- export declare function PoolStrategyToJSONTyped(value?: PoolStrategy | null, ignoreDiscriminator?: boolean): any;
39
- //# sourceMappingURL=PoolStrategy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PoolStrategy.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PoolStrategy.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAI3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAS/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU9G"}
@@ -1,47 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Sandbox0 API
5
- * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
- *
7
- * The version of the OpenAPI document: 0.1.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the PoolStrategy interface.
16
- */
17
- export function instanceOfPoolStrategy(value) {
18
- if (!('minIdle' in value) || value['minIdle'] === undefined)
19
- return false;
20
- if (!('maxIdle' in value) || value['maxIdle'] === undefined)
21
- return false;
22
- return true;
23
- }
24
- export function PoolStrategyFromJSON(json) {
25
- return PoolStrategyFromJSONTyped(json, false);
26
- }
27
- export function PoolStrategyFromJSONTyped(json, ignoreDiscriminator) {
28
- if (json == null) {
29
- return json;
30
- }
31
- return {
32
- 'minIdle': json['minIdle'],
33
- 'maxIdle': json['maxIdle'],
34
- };
35
- }
36
- export function PoolStrategyToJSON(json) {
37
- return PoolStrategyToJSONTyped(json, false);
38
- }
39
- export function PoolStrategyToJSONTyped(value, ignoreDiscriminator = false) {
40
- if (value == null) {
41
- return value;
42
- }
43
- return {
44
- 'minIdle': value['minIdle'],
45
- 'maxIdle': value['maxIdle'],
46
- };
47
- }
@@ -1,40 +0,0 @@
1
- /**
2
- * Sandbox0 API
3
- * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
- *
5
- * The version of the OpenAPI document: 0.1.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 type { NodeSelectorTerm } from './NodeSelectorTerm.js';
13
- /**
14
- *
15
- * @export
16
- * @interface PreferredSchedulingTerm
17
- */
18
- export interface PreferredSchedulingTerm {
19
- /**
20
- *
21
- * @type {number}
22
- * @memberof PreferredSchedulingTerm
23
- */
24
- weight: number;
25
- /**
26
- *
27
- * @type {NodeSelectorTerm}
28
- * @memberof PreferredSchedulingTerm
29
- */
30
- preference: NodeSelectorTerm;
31
- }
32
- /**
33
- * Check if a given object implements the PreferredSchedulingTerm interface.
34
- */
35
- export declare function instanceOfPreferredSchedulingTerm(value: object): value is PreferredSchedulingTerm;
36
- export declare function PreferredSchedulingTermFromJSON(json: any): PreferredSchedulingTerm;
37
- export declare function PreferredSchedulingTermFromJSONTyped(json: any, ignoreDiscriminator: boolean): PreferredSchedulingTerm;
38
- export declare function PreferredSchedulingTermToJSON(json: any): PreferredSchedulingTerm;
39
- export declare function PreferredSchedulingTermToJSONTyped(value?: PreferredSchedulingTerm | null, ignoreDiscriminator?: boolean): any;
40
- //# sourceMappingURL=PreferredSchedulingTerm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PreferredSchedulingTerm.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PreferredSchedulingTerm.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAQ3D;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,gBAAgB,CAAC;CAChC;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAIjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CASrH;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAEhF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpI"}
@@ -1,48 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Sandbox0 API
5
- * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
- *
7
- * The version of the OpenAPI document: 0.1.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { NodeSelectorTermFromJSON, NodeSelectorTermToJSON, } from './NodeSelectorTerm.js';
15
- /**
16
- * Check if a given object implements the PreferredSchedulingTerm interface.
17
- */
18
- export function instanceOfPreferredSchedulingTerm(value) {
19
- if (!('weight' in value) || value['weight'] === undefined)
20
- return false;
21
- if (!('preference' in value) || value['preference'] === undefined)
22
- return false;
23
- return true;
24
- }
25
- export function PreferredSchedulingTermFromJSON(json) {
26
- return PreferredSchedulingTermFromJSONTyped(json, false);
27
- }
28
- export function PreferredSchedulingTermFromJSONTyped(json, ignoreDiscriminator) {
29
- if (json == null) {
30
- return json;
31
- }
32
- return {
33
- 'weight': json['weight'],
34
- 'preference': NodeSelectorTermFromJSON(json['preference']),
35
- };
36
- }
37
- export function PreferredSchedulingTermToJSON(json) {
38
- return PreferredSchedulingTermToJSONTyped(json, false);
39
- }
40
- export function PreferredSchedulingTermToJSONTyped(value, ignoreDiscriminator = false) {
41
- if (value == null) {
42
- return value;
43
- }
44
- return {
45
- 'weight': value['weight'],
46
- 'preference': NodeSelectorTermToJSON(value['preference']),
47
- };
48
- }
@@ -1,91 +0,0 @@
1
- /**
2
- * Sandbox0 API
3
- * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
- *
5
- * The version of the OpenAPI document: 0.1.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 type { ExecAction } from './ExecAction.js';
13
- import type { TCPSocketAction } from './TCPSocketAction.js';
14
- import type { GRPCAction } from './GRPCAction.js';
15
- import type { HTTPGetAction } from './HTTPGetAction.js';
16
- /**
17
- *
18
- * @export
19
- * @interface Probe
20
- */
21
- export interface Probe {
22
- /**
23
- *
24
- * @type {ExecAction}
25
- * @memberof Probe
26
- */
27
- exec?: ExecAction;
28
- /**
29
- *
30
- * @type {HTTPGetAction}
31
- * @memberof Probe
32
- */
33
- httpGet?: HTTPGetAction;
34
- /**
35
- *
36
- * @type {TCPSocketAction}
37
- * @memberof Probe
38
- */
39
- tcpSocket?: TCPSocketAction;
40
- /**
41
- *
42
- * @type {GRPCAction}
43
- * @memberof Probe
44
- */
45
- grpc?: GRPCAction;
46
- /**
47
- *
48
- * @type {number}
49
- * @memberof Probe
50
- */
51
- initialDelaySeconds?: number;
52
- /**
53
- *
54
- * @type {number}
55
- * @memberof Probe
56
- */
57
- timeoutSeconds?: number;
58
- /**
59
- *
60
- * @type {number}
61
- * @memberof Probe
62
- */
63
- periodSeconds?: number;
64
- /**
65
- *
66
- * @type {number}
67
- * @memberof Probe
68
- */
69
- successThreshold?: number;
70
- /**
71
- *
72
- * @type {number}
73
- * @memberof Probe
74
- */
75
- failureThreshold?: number;
76
- /**
77
- *
78
- * @type {number}
79
- * @memberof Probe
80
- */
81
- terminationGracePeriodSeconds?: number;
82
- }
83
- /**
84
- * Check if a given object implements the Probe interface.
85
- */
86
- export declare function instanceOfProbe(value: object): value is Probe;
87
- export declare function ProbeFromJSON(json: any): Probe;
88
- export declare function ProbeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Probe;
89
- export declare function ProbeToJSON(json: any): Probe;
90
- export declare function ProbeToJSONTyped(value?: Probe | null, ignoreDiscriminator?: boolean): any;
91
- //# sourceMappingURL=Probe.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Probe.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/Probe.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,KAAK;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,6BAA6B,CAAC,EAAE,MAAM,CAAC;CAC1C;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,KAAK,CAE7D;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,KAAK,CAE9C;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,KAAK,CAiBjF;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,GAAG,GAAG,KAAK,CAE5C;AAED,wBAAgB,gBAAgB,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAkBhG"}
@@ -1,63 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Sandbox0 API
5
- * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
- *
7
- * The version of the OpenAPI document: 0.1.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { ExecActionFromJSON, ExecActionToJSON, } from './ExecAction.js';
15
- import { TCPSocketActionFromJSON, TCPSocketActionToJSON, } from './TCPSocketAction.js';
16
- import { GRPCActionFromJSON, GRPCActionToJSON, } from './GRPCAction.js';
17
- import { HTTPGetActionFromJSON, HTTPGetActionToJSON, } from './HTTPGetAction.js';
18
- /**
19
- * Check if a given object implements the Probe interface.
20
- */
21
- export function instanceOfProbe(value) {
22
- return true;
23
- }
24
- export function ProbeFromJSON(json) {
25
- return ProbeFromJSONTyped(json, false);
26
- }
27
- export function ProbeFromJSONTyped(json, ignoreDiscriminator) {
28
- if (json == null) {
29
- return json;
30
- }
31
- return {
32
- 'exec': json['exec'] == null ? undefined : ExecActionFromJSON(json['exec']),
33
- 'httpGet': json['httpGet'] == null ? undefined : HTTPGetActionFromJSON(json['httpGet']),
34
- 'tcpSocket': json['tcpSocket'] == null ? undefined : TCPSocketActionFromJSON(json['tcpSocket']),
35
- 'grpc': json['grpc'] == null ? undefined : GRPCActionFromJSON(json['grpc']),
36
- 'initialDelaySeconds': json['initialDelaySeconds'] == null ? undefined : json['initialDelaySeconds'],
37
- 'timeoutSeconds': json['timeoutSeconds'] == null ? undefined : json['timeoutSeconds'],
38
- 'periodSeconds': json['periodSeconds'] == null ? undefined : json['periodSeconds'],
39
- 'successThreshold': json['successThreshold'] == null ? undefined : json['successThreshold'],
40
- 'failureThreshold': json['failureThreshold'] == null ? undefined : json['failureThreshold'],
41
- 'terminationGracePeriodSeconds': json['terminationGracePeriodSeconds'] == null ? undefined : json['terminationGracePeriodSeconds'],
42
- };
43
- }
44
- export function ProbeToJSON(json) {
45
- return ProbeToJSONTyped(json, false);
46
- }
47
- export function ProbeToJSONTyped(value, ignoreDiscriminator = false) {
48
- if (value == null) {
49
- return value;
50
- }
51
- return {
52
- 'exec': ExecActionToJSON(value['exec']),
53
- 'httpGet': HTTPGetActionToJSON(value['httpGet']),
54
- 'tcpSocket': TCPSocketActionToJSON(value['tcpSocket']),
55
- 'grpc': GRPCActionToJSON(value['grpc']),
56
- 'initialDelaySeconds': value['initialDelaySeconds'],
57
- 'timeoutSeconds': value['timeoutSeconds'],
58
- 'periodSeconds': value['periodSeconds'],
59
- 'successThreshold': value['successThreshold'],
60
- 'failureThreshold': value['failureThreshold'],
61
- 'terminationGracePeriodSeconds': value['terminationGracePeriodSeconds'],
62
- };
63
- }
@@ -1,60 +0,0 @@
1
- /**
2
- * Sandbox0 API
3
- * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
- *
5
- * The version of the OpenAPI document: 0.1.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 type { ObjectMeta } from './ObjectMeta.js';
13
- import type { SandboxTemplateSpec } from './SandboxTemplateSpec.js';
14
- import type { SandboxTemplateStatus } from './SandboxTemplateStatus.js';
15
- /**
16
- *
17
- * @export
18
- * @interface SandboxTemplate
19
- */
20
- export interface SandboxTemplate {
21
- /**
22
- *
23
- * @type {string}
24
- * @memberof SandboxTemplate
25
- */
26
- apiVersion?: string;
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof SandboxTemplate
31
- */
32
- kind?: string;
33
- /**
34
- *
35
- * @type {ObjectMeta}
36
- * @memberof SandboxTemplate
37
- */
38
- metadata?: ObjectMeta;
39
- /**
40
- *
41
- * @type {SandboxTemplateSpec}
42
- * @memberof SandboxTemplate
43
- */
44
- spec?: SandboxTemplateSpec;
45
- /**
46
- *
47
- * @type {SandboxTemplateStatus}
48
- * @memberof SandboxTemplate
49
- */
50
- status?: SandboxTemplateStatus;
51
- }
52
- /**
53
- * Check if a given object implements the SandboxTemplate interface.
54
- */
55
- export declare function instanceOfSandboxTemplate(value: object): value is SandboxTemplate;
56
- export declare function SandboxTemplateFromJSON(json: any): SandboxTemplate;
57
- export declare function SandboxTemplateFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxTemplate;
58
- export declare function SandboxTemplateToJSON(json: any): SandboxTemplate;
59
- export declare function SandboxTemplateToJSONTyped(value?: SandboxTemplate | null, ignoreDiscriminator?: boolean): any;
60
- //# sourceMappingURL=SandboxTemplate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SandboxTemplate.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxTemplate.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB;;;;OAIG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B;;;;OAIG;IACH,MAAM,CAAC,EAAE,qBAAqB,CAAC;CAClC;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAEjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAYrG;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAapH"}