sandbox0 0.10.0 → 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.
- package/README.md +5 -4
- package/dist/apispec/src/apis/SandboxRootfsApi.d.ts +15 -1
- package/dist/apispec/src/apis/SandboxRootfsApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/SandboxRootfsApi.js +41 -1
- package/dist/apispec/src/apis/TemplatesApi.d.ts +2 -2
- package/dist/apispec/src/apis/TemplatesApi.js +2 -2
- package/dist/apispec/src/models/ClaimResponse.d.ts +2 -2
- package/dist/apispec/src/models/ClaimResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/ClaimResponse.js +3 -3
- package/dist/apispec/src/models/ContainerSpec.d.ts +12 -11
- package/dist/apispec/src/models/ContainerSpec.d.ts.map +1 -1
- package/dist/apispec/src/models/ContainerSpec.js +9 -5
- package/dist/apispec/src/models/EphemeralMountSpec.d.ts +39 -0
- package/dist/apispec/src/models/EphemeralMountSpec.d.ts.map +1 -0
- package/dist/apispec/src/models/{EmptyDirMountSpec.js → EphemeralMountSpec.js} +11 -9
- package/dist/apispec/src/models/ObservabilityEventSource.d.ts +0 -2
- package/dist/apispec/src/models/ObservabilityEventSource.d.ts.map +1 -1
- package/dist/apispec/src/models/ObservabilityEventSource.js +1 -3
- package/dist/apispec/src/models/RebaseSandboxRootFSRequest.d.ts +39 -0
- package/dist/apispec/src/models/RebaseSandboxRootFSRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/RebaseSandboxRootFSRequest.js +45 -0
- package/dist/apispec/src/models/RebaseSandboxRootFSResponse.d.ts +58 -0
- package/dist/apispec/src/models/RebaseSandboxRootFSResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/RebaseSandboxRootFSResponse.js +60 -0
- package/dist/apispec/src/models/ResourceQuota.d.ts +1 -1
- package/dist/apispec/src/models/SSHProxyProjection.d.ts +1 -1
- package/dist/apispec/src/models/Sandbox.d.ts +2 -2
- package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
- package/dist/apispec/src/models/Sandbox.js +3 -3
- package/dist/apispec/src/models/SandboxResourceConfig.d.ts +1 -1
- package/dist/apispec/src/models/SandboxStatus.d.ts +2 -2
- package/dist/apispec/src/models/SandboxStatus.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxStatus.js +2 -2
- package/dist/apispec/src/models/SandboxTemplateSpec.d.ts +5 -18
- package/dist/apispec/src/models/SandboxTemplateSpec.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxTemplateSpec.js +6 -9
- package/dist/apispec/src/models/SandboxTemplateStatus.d.ts +0 -25
- package/dist/apispec/src/models/SandboxTemplateStatus.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxTemplateStatus.js +0 -9
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts +3 -27
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxUpdateConfig.js +0 -8
- package/dist/apispec/src/models/SuccessRebaseSandboxRootFSResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessRebaseSandboxRootFSResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessRebaseSandboxRootFSResponse.js +46 -0
- package/dist/apispec/src/models/TemplateCreationStatus.d.ts +2 -11
- package/dist/apispec/src/models/TemplateCreationStatus.d.ts.map +1 -1
- package/dist/apispec/src/models/TemplateCreationStatus.js +1 -4
- package/dist/apispec/src/models/TemplateFromSandboxSpecOverrides.d.ts +1 -11
- package/dist/apispec/src/models/TemplateFromSandboxSpecOverrides.d.ts.map +1 -1
- package/dist/apispec/src/models/TemplateFromSandboxSpecOverrides.js +0 -3
- package/dist/apispec/src/models/index.d.ts +4 -28
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +4 -28
- package/dist/resources/sandboxes.d.ts +2 -2
- package/dist/resources/sandboxes.d.ts.map +1 -1
- package/dist/resources/sandboxes.js +8 -8
- package/dist/sandbox.d.ts +2 -2
- package/dist/sandbox.d.ts.map +1 -1
- package/dist/sandbox.js +2 -2
- package/dist/template_helpers.d.ts +4 -6
- package/dist/template_helpers.d.ts.map +1 -1
- package/dist/template_helpers.js +5 -5
- package/package.json +2 -2
- package/dist/apispec/src/models/Affinity.d.ts +0 -41
- package/dist/apispec/src/models/Affinity.d.ts.map +0 -1
- package/dist/apispec/src/models/Affinity.js +0 -45
- package/dist/apispec/src/models/AppArmorProfile.d.ts +0 -48
- package/dist/apispec/src/models/AppArmorProfile.d.ts.map +0 -1
- package/dist/apispec/src/models/AppArmorProfile.js +0 -53
- package/dist/apispec/src/models/Capabilities.d.ts +0 -39
- package/dist/apispec/src/models/Capabilities.d.ts.map +0 -1
- package/dist/apispec/src/models/Capabilities.js +0 -43
- package/dist/apispec/src/models/EmptyDirMountSpec.d.ts +0 -39
- package/dist/apispec/src/models/EmptyDirMountSpec.d.ts.map +0 -1
- package/dist/apispec/src/models/ExecAction.d.ts +0 -33
- package/dist/apispec/src/models/ExecAction.d.ts.map +0 -1
- package/dist/apispec/src/models/ExecAction.js +0 -41
- package/dist/apispec/src/models/GRPCAction.d.ts +0 -39
- package/dist/apispec/src/models/GRPCAction.d.ts.map +0 -1
- package/dist/apispec/src/models/GRPCAction.js +0 -45
- package/dist/apispec/src/models/HTTPGetAction.d.ts +0 -58
- package/dist/apispec/src/models/HTTPGetAction.d.ts.map +0 -1
- package/dist/apispec/src/models/HTTPGetAction.js +0 -52
- package/dist/apispec/src/models/HTTPHeader.d.ts +0 -39
- package/dist/apispec/src/models/HTTPHeader.d.ts.map +0 -1
- package/dist/apispec/src/models/HTTPHeader.js +0 -47
- package/dist/apispec/src/models/LabelSelector.d.ts +0 -42
- package/dist/apispec/src/models/LabelSelector.d.ts.map +0 -1
- package/dist/apispec/src/models/LabelSelector.js +0 -44
- package/dist/apispec/src/models/LabelSelectorRequirement.d.ts +0 -45
- package/dist/apispec/src/models/LabelSelectorRequirement.d.ts.map +0 -1
- package/dist/apispec/src/models/LabelSelectorRequirement.js +0 -49
- package/dist/apispec/src/models/NodeAffinity.d.ts +0 -41
- package/dist/apispec/src/models/NodeAffinity.d.ts.map +0 -1
- package/dist/apispec/src/models/NodeAffinity.js +0 -45
- package/dist/apispec/src/models/NodeSelector.d.ts +0 -34
- package/dist/apispec/src/models/NodeSelector.d.ts.map +0 -1
- package/dist/apispec/src/models/NodeSelector.js +0 -42
- package/dist/apispec/src/models/NodeSelectorRequirement.d.ts +0 -45
- package/dist/apispec/src/models/NodeSelectorRequirement.d.ts.map +0 -1
- package/dist/apispec/src/models/NodeSelectorRequirement.js +0 -49
- package/dist/apispec/src/models/NodeSelectorTerm.d.ts +0 -40
- package/dist/apispec/src/models/NodeSelectorTerm.d.ts.map +0 -1
- package/dist/apispec/src/models/NodeSelectorTerm.js +0 -44
- package/dist/apispec/src/models/ObjectMeta.d.ts +0 -55
- package/dist/apispec/src/models/ObjectMeta.d.ts.map +0 -1
- package/dist/apispec/src/models/ObjectMeta.js +0 -47
- package/dist/apispec/src/models/PodAffinity.d.ts +0 -41
- package/dist/apispec/src/models/PodAffinity.d.ts.map +0 -1
- package/dist/apispec/src/models/PodAffinity.js +0 -45
- package/dist/apispec/src/models/PodAffinityTerm.d.ts +0 -46
- package/dist/apispec/src/models/PodAffinityTerm.d.ts.map +0 -1
- package/dist/apispec/src/models/PodAffinityTerm.js +0 -48
- package/dist/apispec/src/models/PodSpecOverride.d.ts +0 -62
- package/dist/apispec/src/models/PodSpecOverride.d.ts.map +0 -1
- package/dist/apispec/src/models/PodSpecOverride.js +0 -52
- package/dist/apispec/src/models/PoolStrategy.d.ts +0 -39
- package/dist/apispec/src/models/PoolStrategy.d.ts.map +0 -1
- package/dist/apispec/src/models/PoolStrategy.js +0 -47
- package/dist/apispec/src/models/PreferredSchedulingTerm.d.ts +0 -40
- package/dist/apispec/src/models/PreferredSchedulingTerm.d.ts.map +0 -1
- package/dist/apispec/src/models/PreferredSchedulingTerm.js +0 -48
- package/dist/apispec/src/models/Probe.d.ts +0 -91
- package/dist/apispec/src/models/Probe.d.ts.map +0 -1
- package/dist/apispec/src/models/Probe.js +0 -63
- package/dist/apispec/src/models/SandboxTemplate.d.ts +0 -60
- package/dist/apispec/src/models/SandboxTemplate.d.ts.map +0 -1
- package/dist/apispec/src/models/SandboxTemplate.js +0 -52
- package/dist/apispec/src/models/SandboxTemplateCondition.d.ts +0 -57
- package/dist/apispec/src/models/SandboxTemplateCondition.d.ts.map +0 -1
- package/dist/apispec/src/models/SandboxTemplateCondition.js +0 -49
- package/dist/apispec/src/models/SeccompProfile.d.ts +0 -48
- package/dist/apispec/src/models/SeccompProfile.d.ts.map +0 -1
- package/dist/apispec/src/models/SeccompProfile.js +0 -53
- package/dist/apispec/src/models/SecurityContext.d.ts +0 -84
- package/dist/apispec/src/models/SecurityContext.d.ts.map +0 -1
- package/dist/apispec/src/models/SecurityContext.js +0 -60
- package/dist/apispec/src/models/SuccessRestoreResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessRestoreResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessRestoreResponse.js +0 -46
- package/dist/apispec/src/models/SuccessRestoreResponseAllOfData.d.ts +0 -33
- package/dist/apispec/src/models/SuccessRestoreResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessRestoreResponseAllOfData.js +0 -41
- package/dist/apispec/src/models/TCPSocketAction.d.ts +0 -39
- package/dist/apispec/src/models/TCPSocketAction.d.ts.map +0 -1
- package/dist/apispec/src/models/TCPSocketAction.js +0 -45
- package/dist/apispec/src/models/Toleration.d.ts +0 -51
- package/dist/apispec/src/models/Toleration.d.ts.map +0 -1
- package/dist/apispec/src/models/Toleration.js +0 -47
- package/dist/apispec/src/models/WeightedPodAffinityTerm.d.ts +0 -40
- package/dist/apispec/src/models/WeightedPodAffinityTerm.d.ts.map +0 -1
- package/dist/apispec/src/models/WeightedPodAffinityTerm.js +0 -48
|
@@ -0,0 +1,60 @@
|
|
|
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 { SandboxLifecycleStatusFromJSON, SandboxLifecycleStatusToJSON, } from './SandboxLifecycleStatus.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the RebaseSandboxRootFSResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfRebaseSandboxRootFSResponse(value) {
|
|
19
|
+
if (!('sandboxId' in value) || value['sandboxId'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('generationId' in value) || value['generationId'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('baseArtifactDigest' in value) || value['baseArtifactDigest'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('rollbackExpiresAt' in value) || value['rollbackExpiresAt'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function RebaseSandboxRootFSResponseFromJSON(json) {
|
|
32
|
+
return RebaseSandboxRootFSResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function RebaseSandboxRootFSResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'sandboxId': json['sandbox_id'],
|
|
40
|
+
'generationId': json['generation_id'],
|
|
41
|
+
'baseArtifactDigest': json['base_artifact_digest'],
|
|
42
|
+
'rollbackExpiresAt': (new Date(json['rollback_expires_at'])),
|
|
43
|
+
'status': SandboxLifecycleStatusFromJSON(json['status']),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function RebaseSandboxRootFSResponseToJSON(json) {
|
|
47
|
+
return RebaseSandboxRootFSResponseToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function RebaseSandboxRootFSResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'sandbox_id': value['sandboxId'],
|
|
55
|
+
'generation_id': value['generationId'],
|
|
56
|
+
'base_artifact_digest': value['baseArtifactDigest'],
|
|
57
|
+
'rollback_expires_at': value['rollbackExpiresAt'].toISOString(),
|
|
58
|
+
'status': SandboxLifecycleStatusToJSON(value['status']),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -22,7 +22,7 @@ export interface ResourceQuota {
|
|
|
22
22
|
*/
|
|
23
23
|
memory: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Immutable RootFS block-device size. Defaults to 8Gi when omitted; it must be an exact byte quantity between 300Mi and 1Ti and aligned to 4096 bytes.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ResourceQuota
|
|
28
28
|
*/
|
|
@@ -22,7 +22,7 @@ export interface SSHProxyProjection {
|
|
|
22
22
|
*/
|
|
23
23
|
sandboxPublicKeys?: Array<string>;
|
|
24
24
|
/**
|
|
25
|
-
* Username used by
|
|
25
|
+
* Username used by the ctld network runtime when authenticating to the upstream SSH server.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof SSHProxyProjection
|
|
28
28
|
*/
|
|
@@ -74,11 +74,11 @@ export interface Sandbox {
|
|
|
74
74
|
*/
|
|
75
75
|
resources?: SandboxResourceConfig;
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
77
|
+
* Opaque identifier of the current physical runtime allocation. Empty while paused.
|
|
78
78
|
* @type {string}
|
|
79
79
|
* @memberof Sandbox
|
|
80
80
|
*/
|
|
81
|
-
|
|
81
|
+
runtimeId: string;
|
|
82
82
|
/**
|
|
83
83
|
* Monotonically increasing runtime generation. Resume starts a new generation.
|
|
84
84
|
* @type {number}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sandbox.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/Sandbox.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAOrE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAOvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,EAAE,sBAAsB,CAAC;IAC/B;;;;OAIG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACpC;;;;OAIG;IACH,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"Sandbox.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/Sandbox.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAOrE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAOvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,EAAE,sBAAsB,CAAC;IAC/B;;;;OAIG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACpC;;;;OAIG;IACH,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,GAAG,CAAC,EAAE,oBAAoB,CAAC;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAID;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,OAAO,CAajE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAElD;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,OAAO,CAwBrF;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAEhD;AAED,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAyBpG"}
|
|
@@ -31,7 +31,7 @@ export function instanceOfSandbox(value) {
|
|
|
31
31
|
return false;
|
|
32
32
|
if (!('autoResume' in value) || value['autoResume'] === undefined)
|
|
33
33
|
return false;
|
|
34
|
-
if (!('
|
|
34
|
+
if (!('runtimeId' in value) || value['runtimeId'] === undefined)
|
|
35
35
|
return false;
|
|
36
36
|
if (!('runtimeGeneration' in value) || value['runtimeGeneration'] === undefined)
|
|
37
37
|
return false;
|
|
@@ -60,7 +60,7 @@ export function SandboxFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
60
|
'autoResume': json['auto_resume'],
|
|
61
61
|
'services': json['services'] == null ? undefined : (json['services'].map(SandboxAppServiceFromJSON)),
|
|
62
62
|
'resources': json['resources'] == null ? undefined : SandboxResourceConfigFromJSON(json['resources']),
|
|
63
|
-
'
|
|
63
|
+
'runtimeId': json['runtime_id'],
|
|
64
64
|
'runtimeGeneration': json['runtime_generation'],
|
|
65
65
|
'ssh': json['ssh'] == null ? undefined : SandboxSSHConnectionFromJSON(json['ssh']),
|
|
66
66
|
'expiresAt': json['expires_at'] == null ? undefined : (new Date(json['expires_at'])),
|
|
@@ -87,7 +87,7 @@ export function SandboxToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
87
87
|
'auto_resume': value['autoResume'],
|
|
88
88
|
'services': value['services'] == null ? undefined : (value['services'].map(SandboxAppServiceToJSON)),
|
|
89
89
|
'resources': SandboxResourceConfigToJSON(value['resources']),
|
|
90
|
-
'
|
|
90
|
+
'runtime_id': value['runtimeId'],
|
|
91
91
|
'runtime_generation': value['runtimeGeneration'],
|
|
92
92
|
'ssh': SandboxSSHConnectionToJSON(value['ssh']),
|
|
93
93
|
'expires_at': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* Instance-level sandbox resource override. Sandbox0 exposes memory only and derives CPU from the platform memory-per-CPU ratio
|
|
13
|
+
* Instance-level sandbox resource override. Sandbox0 exposes memory only and derives CPU from the platform memory-per-CPU ratio.
|
|
14
14
|
* @export
|
|
15
15
|
* @interface SandboxResourceConfig
|
|
16
16
|
*/
|
|
@@ -41,11 +41,11 @@ export interface SandboxStatus {
|
|
|
41
41
|
*/
|
|
42
42
|
userId?: string;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Opaque identifier of the current physical runtime allocation. Empty while paused.
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof SandboxStatus
|
|
47
47
|
*/
|
|
48
|
-
|
|
48
|
+
runtimeId?: string;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {SandboxLifecycleStatus}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxStatus.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAQvE;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"SandboxStatus.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAQvE;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAID;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAE7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAiBjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAkBhH"}
|
|
@@ -30,7 +30,7 @@ export function SandboxStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'templateId': json['template_id'] == null ? undefined : json['template_id'],
|
|
31
31
|
'teamId': json['team_id'] == null ? undefined : json['team_id'],
|
|
32
32
|
'userId': json['user_id'] == null ? undefined : json['user_id'],
|
|
33
|
-
'
|
|
33
|
+
'runtimeId': json['runtime_id'] == null ? undefined : json['runtime_id'],
|
|
34
34
|
'status': json['status'] == null ? undefined : SandboxLifecycleStatusFromJSON(json['status']),
|
|
35
35
|
'claimedAt': json['claimed_at'] == null ? undefined : json['claimed_at'],
|
|
36
36
|
'expiresAt': json['expires_at'] == null ? undefined : (new Date(json['expires_at'])),
|
|
@@ -50,7 +50,7 @@ export function SandboxStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
50
50
|
'template_id': value['templateId'],
|
|
51
51
|
'team_id': value['teamId'],
|
|
52
52
|
'user_id': value['userId'],
|
|
53
|
-
'
|
|
53
|
+
'runtime_id': value['runtimeId'],
|
|
54
54
|
'status': SandboxLifecycleStatusToJSON(value['status']),
|
|
55
55
|
'claimed_at': value['claimedAt'],
|
|
56
56
|
'expires_at': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
|
|
@@ -9,10 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { PoolStrategy } from './PoolStrategy.js';
|
|
13
12
|
import type { SandboxNetworkPolicy } from './SandboxNetworkPolicy.js';
|
|
13
|
+
import type { EphemeralMountSpec } from './EphemeralMountSpec.js';
|
|
14
14
|
import type { ContainerSpec } from './ContainerSpec.js';
|
|
15
|
-
import type { PodSpecOverride } from './PodSpecOverride.js';
|
|
16
15
|
/**
|
|
17
16
|
*
|
|
18
17
|
* @export
|
|
@@ -42,25 +41,19 @@ export interface SandboxTemplateSpec {
|
|
|
42
41
|
* @type {ContainerSpec}
|
|
43
42
|
* @memberof SandboxTemplateSpec
|
|
44
43
|
*/
|
|
45
|
-
mainContainer
|
|
44
|
+
mainContainer: ContainerSpec;
|
|
46
45
|
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {
|
|
46
|
+
* Claim-lifetime tmpfs mounts excluded from pause, resume, fork, and snapshot RootFS generations.
|
|
47
|
+
* @type {Array<EphemeralMountSpec>}
|
|
49
48
|
* @memberof SandboxTemplateSpec
|
|
50
49
|
*/
|
|
51
|
-
|
|
50
|
+
ephemeralMounts?: Array<EphemeralMountSpec>;
|
|
52
51
|
/**
|
|
53
52
|
*
|
|
54
53
|
* @type {SandboxNetworkPolicy}
|
|
55
54
|
* @memberof SandboxTemplateSpec
|
|
56
55
|
*/
|
|
57
56
|
network?: SandboxNetworkPolicy;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {PoolStrategy}
|
|
61
|
-
* @memberof SandboxTemplateSpec
|
|
62
|
-
*/
|
|
63
|
-
pool?: PoolStrategy;
|
|
64
57
|
/**
|
|
65
58
|
*
|
|
66
59
|
* @type {{ [key: string]: string; }}
|
|
@@ -69,12 +62,6 @@ export interface SandboxTemplateSpec {
|
|
|
69
62
|
envVars?: {
|
|
70
63
|
[key: string]: string;
|
|
71
64
|
};
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof SandboxTemplateSpec
|
|
76
|
-
*/
|
|
77
|
-
clusterId?: string;
|
|
78
65
|
}
|
|
79
66
|
/**
|
|
80
67
|
* Check if a given object implements the SandboxTemplateSpec interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxTemplateSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxTemplateSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"SandboxTemplateSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxTemplateSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAO/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB;;;;OAIG;IACH,aAAa,EAAE,aAAa,CAAC;IAC7B;;;;OAIG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IAC5C;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;CACxC;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAGzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAc7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAe5H"}
|
|
@@ -11,14 +11,15 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { PoolStrategyFromJSON, PoolStrategyToJSON, } from './PoolStrategy.js';
|
|
15
14
|
import { SandboxNetworkPolicyFromJSON, SandboxNetworkPolicyToJSON, } from './SandboxNetworkPolicy.js';
|
|
15
|
+
import { EphemeralMountSpecFromJSON, EphemeralMountSpecToJSON, } from './EphemeralMountSpec.js';
|
|
16
16
|
import { ContainerSpecFromJSON, ContainerSpecToJSON, } from './ContainerSpec.js';
|
|
17
|
-
import { PodSpecOverrideFromJSON, PodSpecOverrideToJSON, } from './PodSpecOverride.js';
|
|
18
17
|
/**
|
|
19
18
|
* Check if a given object implements the SandboxTemplateSpec interface.
|
|
20
19
|
*/
|
|
21
20
|
export function instanceOfSandboxTemplateSpec(value) {
|
|
21
|
+
if (!('mainContainer' in value) || value['mainContainer'] === undefined)
|
|
22
|
+
return false;
|
|
22
23
|
return true;
|
|
23
24
|
}
|
|
24
25
|
export function SandboxTemplateSpecFromJSON(json) {
|
|
@@ -32,12 +33,10 @@ export function SandboxTemplateSpecFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
33
|
'description': json['description'] == null ? undefined : json['description'],
|
|
33
34
|
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
34
35
|
'tags': json['tags'] == null ? undefined : json['tags'],
|
|
35
|
-
'mainContainer':
|
|
36
|
-
'
|
|
36
|
+
'mainContainer': ContainerSpecFromJSON(json['mainContainer']),
|
|
37
|
+
'ephemeralMounts': json['ephemeralMounts'] == null ? undefined : (json['ephemeralMounts'].map(EphemeralMountSpecFromJSON)),
|
|
37
38
|
'network': json['network'] == null ? undefined : SandboxNetworkPolicyFromJSON(json['network']),
|
|
38
|
-
'pool': json['pool'] == null ? undefined : PoolStrategyFromJSON(json['pool']),
|
|
39
39
|
'envVars': json['envVars'] == null ? undefined : json['envVars'],
|
|
40
|
-
'clusterId': json['clusterId'] == null ? undefined : json['clusterId'],
|
|
41
40
|
};
|
|
42
41
|
}
|
|
43
42
|
export function SandboxTemplateSpecToJSON(json) {
|
|
@@ -52,10 +51,8 @@ export function SandboxTemplateSpecToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
52
51
|
'displayName': value['displayName'],
|
|
53
52
|
'tags': value['tags'],
|
|
54
53
|
'mainContainer': ContainerSpecToJSON(value['mainContainer']),
|
|
55
|
-
'
|
|
54
|
+
'ephemeralMounts': value['ephemeralMounts'] == null ? undefined : (value['ephemeralMounts'].map(EphemeralMountSpecToJSON)),
|
|
56
55
|
'network': SandboxNetworkPolicyToJSON(value['network']),
|
|
57
|
-
'pool': PoolStrategyToJSON(value['pool']),
|
|
58
56
|
'envVars': value['envVars'],
|
|
59
|
-
'clusterId': value['clusterId'],
|
|
60
57
|
};
|
|
61
58
|
}
|
|
@@ -10,37 +10,12 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { TemplateCreationStatus } from './TemplateCreationStatus.js';
|
|
13
|
-
import type { SandboxTemplateCondition } from './SandboxTemplateCondition.js';
|
|
14
13
|
/**
|
|
15
14
|
*
|
|
16
15
|
* @export
|
|
17
16
|
* @interface SandboxTemplateStatus
|
|
18
17
|
*/
|
|
19
18
|
export interface SandboxTemplateStatus {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {number}
|
|
23
|
-
* @memberof SandboxTemplateStatus
|
|
24
|
-
*/
|
|
25
|
-
idleCount?: number;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {number}
|
|
29
|
-
* @memberof SandboxTemplateStatus
|
|
30
|
-
*/
|
|
31
|
-
activeCount?: number;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {Array<SandboxTemplateCondition>}
|
|
35
|
-
* @memberof SandboxTemplateStatus
|
|
36
|
-
*/
|
|
37
|
-
conditions?: Array<SandboxTemplateCondition>;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {Date}
|
|
41
|
-
* @memberof SandboxTemplateStatus
|
|
42
|
-
*/
|
|
43
|
-
lastUpdateTime?: Date | null;
|
|
44
19
|
/**
|
|
45
20
|
*
|
|
46
21
|
* @type {TemplateCreationStatus}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxTemplateStatus.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxTemplateStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"SandboxTemplateStatus.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxTemplateStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAQvE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,sBAAsB,CAAC;CACrC;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAE7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAQjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAShI"}
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { TemplateCreationStatusFromJSON, TemplateCreationStatusToJSON, } from './TemplateCreationStatus.js';
|
|
15
|
-
import { SandboxTemplateConditionFromJSON, SandboxTemplateConditionToJSON, } from './SandboxTemplateCondition.js';
|
|
16
15
|
/**
|
|
17
16
|
* Check if a given object implements the SandboxTemplateStatus interface.
|
|
18
17
|
*/
|
|
@@ -27,10 +26,6 @@ export function SandboxTemplateStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
26
|
return json;
|
|
28
27
|
}
|
|
29
28
|
return {
|
|
30
|
-
'idleCount': json['idleCount'] == null ? undefined : json['idleCount'],
|
|
31
|
-
'activeCount': json['activeCount'] == null ? undefined : json['activeCount'],
|
|
32
|
-
'conditions': json['conditions'] == null ? undefined : (json['conditions'].map(SandboxTemplateConditionFromJSON)),
|
|
33
|
-
'lastUpdateTime': json['lastUpdateTime'] == null ? undefined : (new Date(json['lastUpdateTime'])),
|
|
34
29
|
'creation': json['creation'] == null ? undefined : TemplateCreationStatusFromJSON(json['creation']),
|
|
35
30
|
};
|
|
36
31
|
}
|
|
@@ -42,10 +37,6 @@ export function SandboxTemplateStatusToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
42
37
|
return value;
|
|
43
38
|
}
|
|
44
39
|
return {
|
|
45
|
-
'idleCount': value['idleCount'],
|
|
46
|
-
'activeCount': value['activeCount'],
|
|
47
|
-
'conditions': value['conditions'] == null ? undefined : (value['conditions'].map(SandboxTemplateConditionToJSON)),
|
|
48
|
-
'lastUpdateTime': value['lastUpdateTime'] == null ? value['lastUpdateTime'] : value['lastUpdateTime'].toISOString(),
|
|
49
40
|
'creation': TemplateCreationStatusToJSON(value['creation']),
|
|
50
41
|
};
|
|
51
42
|
}
|
|
@@ -10,33 +10,15 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { SandboxAppService } from './SandboxAppService.js';
|
|
13
|
-
import type { SandboxResourceConfig } from './SandboxResourceConfig.js';
|
|
14
|
-
import type { SandboxNetworkPolicy } from './SandboxNetworkPolicy.js';
|
|
15
13
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
14
|
+
* Durable lifecycle and service fields that can be updated without replacing
|
|
15
|
+
* the current runtime allocation. Network policy uses the dedicated network
|
|
16
|
+
* endpoint. Environment, resource, and webhook changes require a new runtime.
|
|
18
17
|
*
|
|
19
18
|
* @export
|
|
20
19
|
* @interface SandboxUpdateConfig
|
|
21
20
|
*/
|
|
22
21
|
export interface SandboxUpdateConfig {
|
|
23
|
-
/**
|
|
24
|
-
* Sandbox-level environment variables used as defaults for new procd-managed
|
|
25
|
-
* processes. Omitting this field preserves the existing environment map; passing
|
|
26
|
-
* an empty object clears it.
|
|
27
|
-
*
|
|
28
|
-
* @type {{ [key: string]: string; }}
|
|
29
|
-
* @memberof SandboxUpdateConfig
|
|
30
|
-
*/
|
|
31
|
-
envVars?: {
|
|
32
|
-
[key: string]: string;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {SandboxResourceConfig}
|
|
37
|
-
* @memberof SandboxUpdateConfig
|
|
38
|
-
*/
|
|
39
|
-
resources?: SandboxResourceConfig;
|
|
40
22
|
/**
|
|
41
23
|
* Runtime soft time-to-live in seconds. When it expires, Sandbox0 checkpoints the writable rootfs, pauses the sandbox, and releases runtime compute while preserving durable sandbox state.
|
|
42
24
|
* @type {number}
|
|
@@ -49,12 +31,6 @@ export interface SandboxUpdateConfig {
|
|
|
49
31
|
* @memberof SandboxUpdateConfig
|
|
50
32
|
*/
|
|
51
33
|
hardTtl?: number;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {SandboxNetworkPolicy}
|
|
55
|
-
* @memberof SandboxUpdateConfig
|
|
56
|
-
*/
|
|
57
|
-
network?: SandboxNetworkPolicy;
|
|
58
34
|
/**
|
|
59
35
|
* Controls whether supported inbound API or public exposure requests may automatically
|
|
60
36
|
* make an inactive sandbox available. This setting does not control platform-initiated
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxUpdateConfig.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxUpdateConfig.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"SandboxUpdateConfig.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxUpdateConfig.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAQ7D;;;;;;;GAOG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;;;;;OASG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACvC;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAEzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAW7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAY5H"}
|
|
@@ -12,8 +12,6 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { SandboxAppServiceFromJSON, SandboxAppServiceToJSON, } from './SandboxAppService.js';
|
|
15
|
-
import { SandboxResourceConfigFromJSON, SandboxResourceConfigToJSON, } from './SandboxResourceConfig.js';
|
|
16
|
-
import { SandboxNetworkPolicyFromJSON, SandboxNetworkPolicyToJSON, } from './SandboxNetworkPolicy.js';
|
|
17
15
|
/**
|
|
18
16
|
* Check if a given object implements the SandboxUpdateConfig interface.
|
|
19
17
|
*/
|
|
@@ -28,11 +26,8 @@ export function SandboxUpdateConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
26
|
return json;
|
|
29
27
|
}
|
|
30
28
|
return {
|
|
31
|
-
'envVars': json['env_vars'] == null ? undefined : json['env_vars'],
|
|
32
|
-
'resources': json['resources'] == null ? undefined : SandboxResourceConfigFromJSON(json['resources']),
|
|
33
29
|
'ttl': json['ttl'] == null ? undefined : json['ttl'],
|
|
34
30
|
'hardTtl': json['hard_ttl'] == null ? undefined : json['hard_ttl'],
|
|
35
|
-
'network': json['network'] == null ? undefined : SandboxNetworkPolicyFromJSON(json['network']),
|
|
36
31
|
'autoResume': json['auto_resume'] == null ? undefined : json['auto_resume'],
|
|
37
32
|
'services': json['services'] == null ? undefined : (json['services'].map(SandboxAppServiceFromJSON)),
|
|
38
33
|
};
|
|
@@ -45,11 +40,8 @@ export function SandboxUpdateConfigToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
45
40
|
return value;
|
|
46
41
|
}
|
|
47
42
|
return {
|
|
48
|
-
'env_vars': value['envVars'],
|
|
49
|
-
'resources': SandboxResourceConfigToJSON(value['resources']),
|
|
50
43
|
'ttl': value['ttl'],
|
|
51
44
|
'hard_ttl': value['hardTtl'],
|
|
52
|
-
'network': SandboxNetworkPolicyToJSON(value['network']),
|
|
53
45
|
'auto_resume': value['autoResume'],
|
|
54
46
|
'services': value['services'] == null ? undefined : (value['services'].map(SandboxAppServiceToJSON)),
|
|
55
47
|
};
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { RebaseSandboxRootFSResponse } from './RebaseSandboxRootFSResponse.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessRebaseSandboxRootFSResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessRebaseSandboxRootFSResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessRebaseSandboxRootFSResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {RebaseSandboxRootFSResponse}
|
|
28
|
+
* @memberof SuccessRebaseSandboxRootFSResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: RebaseSandboxRootFSResponse;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessRebaseSandboxRootFSResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessRebaseSandboxRootFSResponse(value: object): value is SuccessRebaseSandboxRootFSResponse;
|
|
36
|
+
export declare function SuccessRebaseSandboxRootFSResponseFromJSON(json: any): SuccessRebaseSandboxRootFSResponse;
|
|
37
|
+
export declare function SuccessRebaseSandboxRootFSResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessRebaseSandboxRootFSResponse;
|
|
38
|
+
export declare function SuccessRebaseSandboxRootFSResponseToJSON(json: any): SuccessRebaseSandboxRootFSResponse;
|
|
39
|
+
export declare function SuccessRebaseSandboxRootFSResponseToJSONTyped(value?: SuccessRebaseSandboxRootFSResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessRebaseSandboxRootFSResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessRebaseSandboxRootFSResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessRebaseSandboxRootFSResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAQjF;;;;GAIG;AACH,MAAM,WAAW,kCAAkC;IAC/C;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,2BAA2B,CAAC;CACtC;AAED;;GAEG;AACH,wBAAgB,4CAA4C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kCAAkC,CAGvH;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,GAAG,kCAAkC,CAExG;AAED,wBAAgB,+CAA+C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kCAAkC,CAS3I;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,kCAAkC,CAEtG;AAED,wBAAgB,6CAA6C,CAAC,KAAK,CAAC,EAAE,kCAAkC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU1J"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { RebaseSandboxRootFSResponseFromJSON, RebaseSandboxRootFSResponseToJSON, } from './RebaseSandboxRootFSResponse.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessRebaseSandboxRootFSResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessRebaseSandboxRootFSResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessRebaseSandboxRootFSResponseFromJSON(json) {
|
|
24
|
+
return SuccessRebaseSandboxRootFSResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessRebaseSandboxRootFSResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : RebaseSandboxRootFSResponseFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessRebaseSandboxRootFSResponseToJSON(json) {
|
|
36
|
+
return SuccessRebaseSandboxRootFSResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessRebaseSandboxRootFSResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': RebaseSandboxRootFSResponseToJSON(value['data']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -12,10 +12,8 @@
|
|
|
12
12
|
/**
|
|
13
13
|
* Asynchronous creation status for templates built from a sandbox.
|
|
14
14
|
* Traditional image-based templates omit this object and are ready
|
|
15
|
-
* immediately after creation. Ready means the template
|
|
16
|
-
*
|
|
17
|
-
* pool is zero, it does not imply that a sandbox image has already been
|
|
18
|
-
* pulled.
|
|
15
|
+
* immediately after creation. Ready means the regional template source
|
|
16
|
+
* has been committed and the claim API may consume it.
|
|
19
17
|
*
|
|
20
18
|
* @export
|
|
21
19
|
* @interface TemplateCreationStatus
|
|
@@ -51,12 +49,6 @@ export interface TemplateCreationStatus {
|
|
|
51
49
|
* @memberof TemplateCreationStatus
|
|
52
50
|
*/
|
|
53
51
|
completedAt?: Date;
|
|
54
|
-
/**
|
|
55
|
-
* Digest-pinned image reference published to the configured team registry.
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof TemplateCreationStatus
|
|
58
|
-
*/
|
|
59
|
-
outputImage?: string;
|
|
60
52
|
/**
|
|
61
53
|
*
|
|
62
54
|
* @type {string}
|
|
@@ -85,7 +77,6 @@ export type TemplateCreationStatusStateEnum = typeof TemplateCreationStatusState
|
|
|
85
77
|
export declare const TemplateCreationStatusStageEnum: {
|
|
86
78
|
readonly TemplateCreationStatusStageCapturing: "capturing";
|
|
87
79
|
readonly TemplateCreationStatusStagePublishing: "publishing";
|
|
88
|
-
readonly TemplateCreationStatusStageReconciling: "reconciling";
|
|
89
80
|
};
|
|
90
81
|
export type TemplateCreationStatusStageEnum = typeof TemplateCreationStatusStageEnum[keyof typeof TemplateCreationStatusStageEnum];
|
|
91
82
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TemplateCreationStatus.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/TemplateCreationStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH
|
|
1
|
+
{"version":3,"file":"TemplateCreationStatus.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/TemplateCreationStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;;;;;GAQG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,KAAK,EAAE,+BAA+B,CAAC;IACvC;;;;OAIG;IACH,KAAK,EAAE,+BAA+B,CAAC;IACvC;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB;;;;OAIG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAGD;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;;CAIlC,CAAC;AACX,MAAM,MAAM,+BAA+B,GAAG,OAAO,+BAA+B,CAAC,MAAM,OAAO,+BAA+B,CAAC,CAAC;AAEnI;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;CAGlC,CAAC;AACX,MAAM,MAAM,+BAA+B,GAAG,OAAO,+BAA+B,CAAC,MAAM,OAAO,+BAA+B,CAAC,CAAC;AAGnI;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAI/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAcnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAelI"}
|
|
@@ -24,8 +24,7 @@ export const TemplateCreationStatusStateEnum = {
|
|
|
24
24
|
*/
|
|
25
25
|
export const TemplateCreationStatusStageEnum = {
|
|
26
26
|
TemplateCreationStatusStageCapturing: 'capturing',
|
|
27
|
-
TemplateCreationStatusStagePublishing: 'publishing'
|
|
28
|
-
TemplateCreationStatusStageReconciling: 'reconciling'
|
|
27
|
+
TemplateCreationStatusStagePublishing: 'publishing'
|
|
29
28
|
};
|
|
30
29
|
/**
|
|
31
30
|
* Check if a given object implements the TemplateCreationStatus interface.
|
|
@@ -50,7 +49,6 @@ export function TemplateCreationStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
49
|
'startedAt': json['startedAt'] == null ? undefined : (new Date(json['startedAt'])),
|
|
51
50
|
'capturedAt': json['capturedAt'] == null ? undefined : (new Date(json['capturedAt'])),
|
|
52
51
|
'completedAt': json['completedAt'] == null ? undefined : (new Date(json['completedAt'])),
|
|
53
|
-
'outputImage': json['outputImage'] == null ? undefined : json['outputImage'],
|
|
54
52
|
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
55
53
|
'message': json['message'] == null ? undefined : json['message'],
|
|
56
54
|
};
|
|
@@ -68,7 +66,6 @@ export function TemplateCreationStatusToJSONTyped(value, ignoreDiscriminator = f
|
|
|
68
66
|
'startedAt': value['startedAt'] == null ? value['startedAt'] : value['startedAt'].toISOString(),
|
|
69
67
|
'capturedAt': value['capturedAt'] == null ? value['capturedAt'] : value['capturedAt'].toISOString(),
|
|
70
68
|
'completedAt': value['completedAt'] == null ? value['completedAt'] : value['completedAt'].toISOString(),
|
|
71
|
-
'outputImage': value['outputImage'],
|
|
72
69
|
'reason': value['reason'],
|
|
73
70
|
'message': value['message'],
|
|
74
71
|
};
|