@lightningai/sdk 2026.5.15-post0 → 2026.6.5
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/dist/lightning_cloud/openapi/SandboxesService.d.ts +168 -1
- package/dist/lightning_cloud/openapi/SandboxesService.d.ts.map +1 -1
- package/dist/lightning_cloud/openapi/SandboxesService.js +209 -0
- package/dist/lightning_cloud/openapi/SandboxesService.js.map +1 -1
- package/dist/lightning_cloud/openapi/data-contracts.d.ts +330 -0
- package/dist/lightning_cloud/openapi/data-contracts.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SandboxesServiceCreateSandboxDirectoryBody, SandboxesServiceExtendSandboxTimeoutBody, SandboxesServiceRunSandboxCommandBody, SandboxesServiceWriteSandboxFileBody, V1CreateSandboxRequest } from "./data-contracts";
|
|
1
|
+
import { SandboxesServiceCreateSandboxDirectoryBody, SandboxesServiceCreateSandboxSnapshotBody, SandboxesServiceExtendSandboxTimeoutBody, SandboxesServiceFinalizeSandboxSnapshotBody, SandboxesServiceGetSandboxSnapshotBlobDownloadUrlsBody, SandboxesServiceGetSandboxSnapshotBlobUploadUrlsBody, SandboxesServiceRunSandboxCommandBody, SandboxesServiceStopSandboxBody, SandboxesServiceUpdateSandboxBody, SandboxesServiceWriteSandboxFileBody, V1CreateSandboxRequest } from "./data-contracts";
|
|
2
2
|
import { HttpClient, RequestParams } from "./http-client";
|
|
3
3
|
export declare class SandboxesService<SecurityDataType = unknown> extends HttpClient<SecurityDataType> {
|
|
4
4
|
/**
|
|
@@ -6,6 +6,7 @@ export declare class SandboxesService<SecurityDataType = unknown> extends HttpCl
|
|
|
6
6
|
*
|
|
7
7
|
* @tags SandboxesService
|
|
8
8
|
* @name SandboxesServiceListSandboxes
|
|
9
|
+
* @summary Sandboxes
|
|
9
10
|
* @request GET:/v1/core/sandboxes
|
|
10
11
|
*/
|
|
11
12
|
sandboxesServiceListSandboxes: (query?: {
|
|
@@ -13,6 +14,14 @@ export declare class SandboxesService<SecurityDataType = unknown> extends HttpCl
|
|
|
13
14
|
pageToken?: string;
|
|
14
15
|
/** @format int64 */
|
|
15
16
|
limit?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Optional teamspace/project scoping. When set, only sandboxes belonging
|
|
19
|
+
* to this project are returned. Mirrors `ListSandboxSnapshotsRequest`.
|
|
20
|
+
* Sandboxes created before this field landed have no `project_id`
|
|
21
|
+
* persisted server-side, so filtering will return an empty set until
|
|
22
|
+
* sandboxes are recreated with a project context.
|
|
23
|
+
*/
|
|
24
|
+
projectId?: string;
|
|
16
25
|
}, params?: RequestParams) => any;
|
|
17
26
|
/**
|
|
18
27
|
* No description
|
|
@@ -22,6 +31,107 @@ export declare class SandboxesService<SecurityDataType = unknown> extends HttpCl
|
|
|
22
31
|
* @request POST:/v1/core/sandboxes
|
|
23
32
|
*/
|
|
24
33
|
sandboxesServiceCreateSandbox: (body: V1CreateSandboxRequest, params?: RequestParams) => any;
|
|
34
|
+
/**
|
|
35
|
+
* No description
|
|
36
|
+
*
|
|
37
|
+
* @tags SandboxesService
|
|
38
|
+
* @name SandboxesServiceListArchivedSandboxes
|
|
39
|
+
* @summary ListArchivedSandboxes lists terminated (soft-deleted) sandboxes for the
|
|
40
|
+
archive surface. Gated on Feature.sandboxLogs.
|
|
41
|
+
* @request GET:/v1/core/sandboxes/archived
|
|
42
|
+
*/
|
|
43
|
+
sandboxesServiceListArchivedSandboxes: (query?: {
|
|
44
|
+
organizationId?: string;
|
|
45
|
+
projectId?: string;
|
|
46
|
+
/** @format int64 */
|
|
47
|
+
limit?: string;
|
|
48
|
+
}, params?: RequestParams) => any;
|
|
49
|
+
/**
|
|
50
|
+
* No description
|
|
51
|
+
*
|
|
52
|
+
* @tags SandboxesService
|
|
53
|
+
* @name SandboxesServiceGetArchivedSandbox
|
|
54
|
+
* @summary GetArchivedSandbox returns full post-mortem detail for one archived
|
|
55
|
+
sandbox (the table row plus the termination payload). Gated on
|
|
56
|
+
Feature.sandboxLogs.
|
|
57
|
+
* @request GET:/v1/core/sandboxes/archived/{id}
|
|
58
|
+
*/
|
|
59
|
+
sandboxesServiceGetArchivedSandbox: (id: string, query?: {
|
|
60
|
+
organizationId?: string;
|
|
61
|
+
}, params?: RequestParams) => any;
|
|
62
|
+
/**
|
|
63
|
+
* No description
|
|
64
|
+
*
|
|
65
|
+
* @tags SandboxesService
|
|
66
|
+
* @name SandboxesServiceListSandboxSnapshots
|
|
67
|
+
* @summary Snapshots
|
|
68
|
+
* @request GET:/v1/core/sandboxes/snapshots
|
|
69
|
+
*/
|
|
70
|
+
sandboxesServiceListSandboxSnapshots: (query?: {
|
|
71
|
+
organizationId?: string;
|
|
72
|
+
pageToken?: string;
|
|
73
|
+
/** @format int64 */
|
|
74
|
+
limit?: string;
|
|
75
|
+
projectId?: string;
|
|
76
|
+
name?: string;
|
|
77
|
+
sortOrder?: string;
|
|
78
|
+
}, params?: RequestParams) => any;
|
|
79
|
+
/**
|
|
80
|
+
* No description
|
|
81
|
+
*
|
|
82
|
+
* @tags SandboxesService
|
|
83
|
+
* @name SandboxesServiceGetSandboxSnapshot
|
|
84
|
+
* @request GET:/v1/core/sandboxes/snapshots/{snapshotId}
|
|
85
|
+
*/
|
|
86
|
+
sandboxesServiceGetSandboxSnapshot: (snapshotId: string, query?: {
|
|
87
|
+
organizationId?: string;
|
|
88
|
+
}, params?: RequestParams) => any;
|
|
89
|
+
/**
|
|
90
|
+
* No description
|
|
91
|
+
*
|
|
92
|
+
* @tags SandboxesService
|
|
93
|
+
* @name SandboxesServiceDeleteSandboxSnapshot
|
|
94
|
+
* @request DELETE:/v1/core/sandboxes/snapshots/{snapshotId}
|
|
95
|
+
*/
|
|
96
|
+
sandboxesServiceDeleteSandboxSnapshot: (snapshotId: string, query?: {
|
|
97
|
+
organizationId?: string;
|
|
98
|
+
}, params?: RequestParams) => any;
|
|
99
|
+
/**
|
|
100
|
+
* No description
|
|
101
|
+
*
|
|
102
|
+
* @tags SandboxesService
|
|
103
|
+
* @name SandboxesServiceGetSandboxSnapshotBlobDownloadUrls
|
|
104
|
+
* @summary GetSandboxSnapshotBlobDownloadUrls mints presigned GET URLs for a
|
|
105
|
+
batch of sha256 digests so the restoring agent can pull missing
|
|
106
|
+
blobs from S3 directly. One URL per digest, in request order.
|
|
107
|
+
* @request POST:/v1/core/sandboxes/snapshots/{snapshotId}/blobs/download-urls
|
|
108
|
+
*/
|
|
109
|
+
sandboxesServiceGetSandboxSnapshotBlobDownloadUrls: (snapshotId: string, body: SandboxesServiceGetSandboxSnapshotBlobDownloadUrlsBody, params?: RequestParams) => any;
|
|
110
|
+
/**
|
|
111
|
+
* No description
|
|
112
|
+
*
|
|
113
|
+
* @tags SandboxesService
|
|
114
|
+
* @name SandboxesServiceGetSandboxSnapshotBlobUploadUrls
|
|
115
|
+
* @summary GetSandboxSnapshotBlobUploadUrls performs an existence check on
|
|
116
|
+
the supplied sha256 digests in the cluster blob store and returns
|
|
117
|
+
presigned PUT URLs only for those not already present. Existing
|
|
118
|
+
digests are echoed back in `existing_digests` so the caller can
|
|
119
|
+
skip uploading them.
|
|
120
|
+
* @request POST:/v1/core/sandboxes/snapshots/{snapshotId}/blobs/upload-urls
|
|
121
|
+
*/
|
|
122
|
+
sandboxesServiceGetSandboxSnapshotBlobUploadUrls: (snapshotId: string, body: SandboxesServiceGetSandboxSnapshotBlobUploadUrlsBody, params?: RequestParams) => any;
|
|
123
|
+
/**
|
|
124
|
+
* No description
|
|
125
|
+
*
|
|
126
|
+
* @tags SandboxesService
|
|
127
|
+
* @name SandboxesServiceFinalizeSandboxSnapshot
|
|
128
|
+
* @summary FinalizeSandboxSnapshot flips the row from "saving" to "ready"
|
|
129
|
+
after the agent has uploaded every blob and the manifest body to
|
|
130
|
+
`object_key`. The controlplane records final size_bytes +
|
|
131
|
+
rootfs_digest from the manifest.
|
|
132
|
+
* @request POST:/v1/core/sandboxes/snapshots/{snapshotId}/finalize
|
|
133
|
+
*/
|
|
134
|
+
sandboxesServiceFinalizeSandboxSnapshot: (snapshotId: string, body: SandboxesServiceFinalizeSandboxSnapshotBody, params?: RequestParams) => any;
|
|
25
135
|
/**
|
|
26
136
|
* No description
|
|
27
137
|
*
|
|
@@ -42,6 +152,20 @@ export declare class SandboxesService<SecurityDataType = unknown> extends HttpCl
|
|
|
42
152
|
sandboxesServiceDeleteSandbox: (id: string, query?: {
|
|
43
153
|
organizationId?: string;
|
|
44
154
|
}, params?: RequestParams) => any;
|
|
155
|
+
/**
|
|
156
|
+
* No description
|
|
157
|
+
*
|
|
158
|
+
* @tags SandboxesService
|
|
159
|
+
* @name SandboxesServiceUpdateSandbox
|
|
160
|
+
* @summary UpdateSandbox updates a sandbox in place. Currently the only
|
|
161
|
+
supported mutation is `resume = true`, which resumes a previously
|
|
162
|
+
stopped persistent sandbox from its most recent auto-snapshot while
|
|
163
|
+
preserving the sandbox id. Modelled on Vercel's update-sandbox
|
|
164
|
+
endpoint:
|
|
165
|
+
https://vercel.com/docs/rest-api/sandboxes-v2-beta/update-a-sandbox.
|
|
166
|
+
* @request PATCH:/v1/core/sandboxes/{id}
|
|
167
|
+
*/
|
|
168
|
+
sandboxesServiceUpdateSandbox: (id: string, body: SandboxesServiceUpdateSandboxBody, params?: RequestParams) => any;
|
|
45
169
|
/**
|
|
46
170
|
* No description
|
|
47
171
|
*
|
|
@@ -115,5 +239,48 @@ export declare class SandboxesService<SecurityDataType = unknown> extends HttpCl
|
|
|
115
239
|
* @request POST:/v1/core/sandboxes/{id}/files
|
|
116
240
|
*/
|
|
117
241
|
sandboxesServiceWriteSandboxFile: (id: string, body: SandboxesServiceWriteSandboxFileBody, params?: RequestParams) => any;
|
|
242
|
+
/**
|
|
243
|
+
* No description
|
|
244
|
+
*
|
|
245
|
+
* @tags SandboxesService
|
|
246
|
+
* @name SandboxesServiceGetSandboxLogs
|
|
247
|
+
* @summary GetSandboxLogs returns log lines for a sandbox (live or archived) from
|
|
248
|
+
object storage via the controlplane logs Reader. Paginated; for live
|
|
249
|
+
tailing the UI polls with the returned next_page_token. Gated on
|
|
250
|
+
Feature.sandboxLogs.
|
|
251
|
+
* @request GET:/v1/core/sandboxes/{id}/logs
|
|
252
|
+
*/
|
|
253
|
+
sandboxesServiceGetSandboxLogs: (id: string, query?: {
|
|
254
|
+
organizationId?: string;
|
|
255
|
+
/** @format date-time */
|
|
256
|
+
start?: string;
|
|
257
|
+
/** @format date-time */
|
|
258
|
+
end?: string;
|
|
259
|
+
/** @format int64 */
|
|
260
|
+
pageSize?: string;
|
|
261
|
+
pageToken?: string;
|
|
262
|
+
}, params?: RequestParams) => any;
|
|
263
|
+
/**
|
|
264
|
+
* No description
|
|
265
|
+
*
|
|
266
|
+
* @tags SandboxesService
|
|
267
|
+
* @name SandboxesServiceCreateSandboxSnapshot
|
|
268
|
+
* @request POST:/v1/core/sandboxes/{id}/snapshot
|
|
269
|
+
*/
|
|
270
|
+
sandboxesServiceCreateSandboxSnapshot: (id: string, body: SandboxesServiceCreateSandboxSnapshotBody, params?: RequestParams) => any;
|
|
271
|
+
/**
|
|
272
|
+
* No description
|
|
273
|
+
*
|
|
274
|
+
* @tags SandboxesService
|
|
275
|
+
* @name SandboxesServiceStopSandbox
|
|
276
|
+
* @summary StopSandbox stops a running sandbox. For sandboxes created with
|
|
277
|
+
`persistent = true`, the controlplane first captures an auto-snapshot
|
|
278
|
+
keyed to the sandbox id (returned in `auto_snapshot_id`) so the
|
|
279
|
+
sandbox can later be brought back via UpdateSandbox(resume=true)
|
|
280
|
+
without losing filesystem state. For non-persistent sandboxes the
|
|
281
|
+
server is simply stopped and no snapshot is taken.
|
|
282
|
+
* @request POST:/v1/core/sandboxes/{id}/stop
|
|
283
|
+
*/
|
|
284
|
+
sandboxesServiceStopSandbox: (id: string, body: SandboxesServiceStopSandboxBody, params?: RequestParams) => any;
|
|
118
285
|
}
|
|
119
286
|
//# sourceMappingURL=SandboxesService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxesService.d.ts","sourceRoot":"","sources":["../../../src/lightning_cloud/openapi/SandboxesService.ts"],"names":[],"mappings":"AAYA,OAAO,EAEL,0CAA0C,EAC1C,wCAAwC,EACxC,qCAAqC,EACrC,oCAAoC,
|
|
1
|
+
{"version":3,"file":"SandboxesService.d.ts","sourceRoot":"","sources":["../../../src/lightning_cloud/openapi/SandboxesService.ts"],"names":[],"mappings":"AAYA,OAAO,EAEL,0CAA0C,EAC1C,yCAAyC,EACzC,wCAAwC,EACxC,2CAA2C,EAC3C,sDAAsD,EACtD,oDAAoD,EACpD,qCAAqC,EACrC,+BAA+B,EAC/B,iCAAiC,EACjC,oCAAoC,EAGpC,sBAAsB,EAmBvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAe,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEvE,qBAAa,gBAAgB,CAC3B,gBAAgB,GAAG,OAAO,CAC1B,SAAQ,UAAU,CAAC,gBAAgB,CAAC;IACpC;;;;;;;OAOG;IACH,6BAA6B,GAC3B,QAAQ;QACN,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,oBAAoB;QACpB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf;;;;;;WAMG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,EACD,SAAQ,aAAkB,SAQvB;IACL;;;;;;OAMG;IACH,6BAA6B,GAC3B,MAAM,sBAAsB,EAC5B,SAAQ,aAAkB,SASvB;IACL;;;;;;;;KAQC;IACD,qCAAqC,GACnC,QAAQ;QACN,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,oBAAoB;QACpB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,EACD,SAAQ,aAAkB,SAQvB;IACL;;;;;;;;;KASC;IACD,kCAAkC,GAChC,IAAI,MAAM,EACV,QAAQ;QACN,cA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ACb,oBAAoB;QACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,EACD,SAAQ,aAAkB,SAQvB;IACL;;;;;;OAMG;IACH,qCAAqC,GACnC,IAAI,MAAM,EACV,MAAM,yCAAyC,EAC/C,SAAQ,aAAkB,SASvB;IACL;;;;;;;;;;;;KAYC;IACD,2BAA2B,GACzB,IAAI,MAAM,EACV,MAAM,+BAA+B,EACrC,SAAQ,aAAkB,SASvB;CACN"}
|
|
@@ -16,6 +16,7 @@ export class SandboxesService extends HttpClient {
|
|
|
16
16
|
*
|
|
17
17
|
* @tags SandboxesService
|
|
18
18
|
* @name SandboxesServiceListSandboxes
|
|
19
|
+
* @summary Sandboxes
|
|
19
20
|
* @request GET:/v1/core/sandboxes
|
|
20
21
|
*/
|
|
21
22
|
sandboxesServiceListSandboxes = (query, params = {}) => this.request({
|
|
@@ -40,6 +41,139 @@ export class SandboxesService extends HttpClient {
|
|
|
40
41
|
format: "json",
|
|
41
42
|
...params,
|
|
42
43
|
});
|
|
44
|
+
/**
|
|
45
|
+
* No description
|
|
46
|
+
*
|
|
47
|
+
* @tags SandboxesService
|
|
48
|
+
* @name SandboxesServiceListArchivedSandboxes
|
|
49
|
+
* @summary ListArchivedSandboxes lists terminated (soft-deleted) sandboxes for the
|
|
50
|
+
archive surface. Gated on Feature.sandboxLogs.
|
|
51
|
+
* @request GET:/v1/core/sandboxes/archived
|
|
52
|
+
*/
|
|
53
|
+
sandboxesServiceListArchivedSandboxes = (query, params = {}) => this.request({
|
|
54
|
+
path: `/v1/core/sandboxes/archived`,
|
|
55
|
+
method: "GET",
|
|
56
|
+
query: query,
|
|
57
|
+
format: "json",
|
|
58
|
+
...params,
|
|
59
|
+
});
|
|
60
|
+
/**
|
|
61
|
+
* No description
|
|
62
|
+
*
|
|
63
|
+
* @tags SandboxesService
|
|
64
|
+
* @name SandboxesServiceGetArchivedSandbox
|
|
65
|
+
* @summary GetArchivedSandbox returns full post-mortem detail for one archived
|
|
66
|
+
sandbox (the table row plus the termination payload). Gated on
|
|
67
|
+
Feature.sandboxLogs.
|
|
68
|
+
* @request GET:/v1/core/sandboxes/archived/{id}
|
|
69
|
+
*/
|
|
70
|
+
sandboxesServiceGetArchivedSandbox = (id, query, params = {}) => this.request({
|
|
71
|
+
path: `/v1/core/sandboxes/archived/${id}`,
|
|
72
|
+
method: "GET",
|
|
73
|
+
query: query,
|
|
74
|
+
format: "json",
|
|
75
|
+
...params,
|
|
76
|
+
});
|
|
77
|
+
/**
|
|
78
|
+
* No description
|
|
79
|
+
*
|
|
80
|
+
* @tags SandboxesService
|
|
81
|
+
* @name SandboxesServiceListSandboxSnapshots
|
|
82
|
+
* @summary Snapshots
|
|
83
|
+
* @request GET:/v1/core/sandboxes/snapshots
|
|
84
|
+
*/
|
|
85
|
+
sandboxesServiceListSandboxSnapshots = (query, params = {}) => this.request({
|
|
86
|
+
path: `/v1/core/sandboxes/snapshots`,
|
|
87
|
+
method: "GET",
|
|
88
|
+
query: query,
|
|
89
|
+
format: "json",
|
|
90
|
+
...params,
|
|
91
|
+
});
|
|
92
|
+
/**
|
|
93
|
+
* No description
|
|
94
|
+
*
|
|
95
|
+
* @tags SandboxesService
|
|
96
|
+
* @name SandboxesServiceGetSandboxSnapshot
|
|
97
|
+
* @request GET:/v1/core/sandboxes/snapshots/{snapshotId}
|
|
98
|
+
*/
|
|
99
|
+
sandboxesServiceGetSandboxSnapshot = (snapshotId, query, params = {}) => this.request({
|
|
100
|
+
path: `/v1/core/sandboxes/snapshots/${snapshotId}`,
|
|
101
|
+
method: "GET",
|
|
102
|
+
query: query,
|
|
103
|
+
format: "json",
|
|
104
|
+
...params,
|
|
105
|
+
});
|
|
106
|
+
/**
|
|
107
|
+
* No description
|
|
108
|
+
*
|
|
109
|
+
* @tags SandboxesService
|
|
110
|
+
* @name SandboxesServiceDeleteSandboxSnapshot
|
|
111
|
+
* @request DELETE:/v1/core/sandboxes/snapshots/{snapshotId}
|
|
112
|
+
*/
|
|
113
|
+
sandboxesServiceDeleteSandboxSnapshot = (snapshotId, query, params = {}) => this.request({
|
|
114
|
+
path: `/v1/core/sandboxes/snapshots/${snapshotId}`,
|
|
115
|
+
method: "DELETE",
|
|
116
|
+
query: query,
|
|
117
|
+
format: "json",
|
|
118
|
+
...params,
|
|
119
|
+
});
|
|
120
|
+
/**
|
|
121
|
+
* No description
|
|
122
|
+
*
|
|
123
|
+
* @tags SandboxesService
|
|
124
|
+
* @name SandboxesServiceGetSandboxSnapshotBlobDownloadUrls
|
|
125
|
+
* @summary GetSandboxSnapshotBlobDownloadUrls mints presigned GET URLs for a
|
|
126
|
+
batch of sha256 digests so the restoring agent can pull missing
|
|
127
|
+
blobs from S3 directly. One URL per digest, in request order.
|
|
128
|
+
* @request POST:/v1/core/sandboxes/snapshots/{snapshotId}/blobs/download-urls
|
|
129
|
+
*/
|
|
130
|
+
sandboxesServiceGetSandboxSnapshotBlobDownloadUrls = (snapshotId, body, params = {}) => this.request({
|
|
131
|
+
path: `/v1/core/sandboxes/snapshots/${snapshotId}/blobs/download-urls`,
|
|
132
|
+
method: "POST",
|
|
133
|
+
body: body,
|
|
134
|
+
type: ContentType.Json,
|
|
135
|
+
format: "json",
|
|
136
|
+
...params,
|
|
137
|
+
});
|
|
138
|
+
/**
|
|
139
|
+
* No description
|
|
140
|
+
*
|
|
141
|
+
* @tags SandboxesService
|
|
142
|
+
* @name SandboxesServiceGetSandboxSnapshotBlobUploadUrls
|
|
143
|
+
* @summary GetSandboxSnapshotBlobUploadUrls performs an existence check on
|
|
144
|
+
the supplied sha256 digests in the cluster blob store and returns
|
|
145
|
+
presigned PUT URLs only for those not already present. Existing
|
|
146
|
+
digests are echoed back in `existing_digests` so the caller can
|
|
147
|
+
skip uploading them.
|
|
148
|
+
* @request POST:/v1/core/sandboxes/snapshots/{snapshotId}/blobs/upload-urls
|
|
149
|
+
*/
|
|
150
|
+
sandboxesServiceGetSandboxSnapshotBlobUploadUrls = (snapshotId, body, params = {}) => this.request({
|
|
151
|
+
path: `/v1/core/sandboxes/snapshots/${snapshotId}/blobs/upload-urls`,
|
|
152
|
+
method: "POST",
|
|
153
|
+
body: body,
|
|
154
|
+
type: ContentType.Json,
|
|
155
|
+
format: "json",
|
|
156
|
+
...params,
|
|
157
|
+
});
|
|
158
|
+
/**
|
|
159
|
+
* No description
|
|
160
|
+
*
|
|
161
|
+
* @tags SandboxesService
|
|
162
|
+
* @name SandboxesServiceFinalizeSandboxSnapshot
|
|
163
|
+
* @summary FinalizeSandboxSnapshot flips the row from "saving" to "ready"
|
|
164
|
+
after the agent has uploaded every blob and the manifest body to
|
|
165
|
+
`object_key`. The controlplane records final size_bytes +
|
|
166
|
+
rootfs_digest from the manifest.
|
|
167
|
+
* @request POST:/v1/core/sandboxes/snapshots/{snapshotId}/finalize
|
|
168
|
+
*/
|
|
169
|
+
sandboxesServiceFinalizeSandboxSnapshot = (snapshotId, body, params = {}) => this.request({
|
|
170
|
+
path: `/v1/core/sandboxes/snapshots/${snapshotId}/finalize`,
|
|
171
|
+
method: "POST",
|
|
172
|
+
body: body,
|
|
173
|
+
type: ContentType.Json,
|
|
174
|
+
format: "json",
|
|
175
|
+
...params,
|
|
176
|
+
});
|
|
43
177
|
/**
|
|
44
178
|
* No description
|
|
45
179
|
*
|
|
@@ -68,6 +202,27 @@ export class SandboxesService extends HttpClient {
|
|
|
68
202
|
format: "json",
|
|
69
203
|
...params,
|
|
70
204
|
});
|
|
205
|
+
/**
|
|
206
|
+
* No description
|
|
207
|
+
*
|
|
208
|
+
* @tags SandboxesService
|
|
209
|
+
* @name SandboxesServiceUpdateSandbox
|
|
210
|
+
* @summary UpdateSandbox updates a sandbox in place. Currently the only
|
|
211
|
+
supported mutation is `resume = true`, which resumes a previously
|
|
212
|
+
stopped persistent sandbox from its most recent auto-snapshot while
|
|
213
|
+
preserving the sandbox id. Modelled on Vercel's update-sandbox
|
|
214
|
+
endpoint:
|
|
215
|
+
https://vercel.com/docs/rest-api/sandboxes-v2-beta/update-a-sandbox.
|
|
216
|
+
* @request PATCH:/v1/core/sandboxes/{id}
|
|
217
|
+
*/
|
|
218
|
+
sandboxesServiceUpdateSandbox = (id, body, params = {}) => this.request({
|
|
219
|
+
path: `/v1/core/sandboxes/${id}`,
|
|
220
|
+
method: "PATCH",
|
|
221
|
+
body: body,
|
|
222
|
+
type: ContentType.Json,
|
|
223
|
+
format: "json",
|
|
224
|
+
...params,
|
|
225
|
+
});
|
|
71
226
|
/**
|
|
72
227
|
* No description
|
|
73
228
|
*
|
|
@@ -184,5 +339,59 @@ export class SandboxesService extends HttpClient {
|
|
|
184
339
|
format: "json",
|
|
185
340
|
...params,
|
|
186
341
|
});
|
|
342
|
+
/**
|
|
343
|
+
* No description
|
|
344
|
+
*
|
|
345
|
+
* @tags SandboxesService
|
|
346
|
+
* @name SandboxesServiceGetSandboxLogs
|
|
347
|
+
* @summary GetSandboxLogs returns log lines for a sandbox (live or archived) from
|
|
348
|
+
object storage via the controlplane logs Reader. Paginated; for live
|
|
349
|
+
tailing the UI polls with the returned next_page_token. Gated on
|
|
350
|
+
Feature.sandboxLogs.
|
|
351
|
+
* @request GET:/v1/core/sandboxes/{id}/logs
|
|
352
|
+
*/
|
|
353
|
+
sandboxesServiceGetSandboxLogs = (id, query, params = {}) => this.request({
|
|
354
|
+
path: `/v1/core/sandboxes/${id}/logs`,
|
|
355
|
+
method: "GET",
|
|
356
|
+
query: query,
|
|
357
|
+
format: "json",
|
|
358
|
+
...params,
|
|
359
|
+
});
|
|
360
|
+
/**
|
|
361
|
+
* No description
|
|
362
|
+
*
|
|
363
|
+
* @tags SandboxesService
|
|
364
|
+
* @name SandboxesServiceCreateSandboxSnapshot
|
|
365
|
+
* @request POST:/v1/core/sandboxes/{id}/snapshot
|
|
366
|
+
*/
|
|
367
|
+
sandboxesServiceCreateSandboxSnapshot = (id, body, params = {}) => this.request({
|
|
368
|
+
path: `/v1/core/sandboxes/${id}/snapshot`,
|
|
369
|
+
method: "POST",
|
|
370
|
+
body: body,
|
|
371
|
+
type: ContentType.Json,
|
|
372
|
+
format: "json",
|
|
373
|
+
...params,
|
|
374
|
+
});
|
|
375
|
+
/**
|
|
376
|
+
* No description
|
|
377
|
+
*
|
|
378
|
+
* @tags SandboxesService
|
|
379
|
+
* @name SandboxesServiceStopSandbox
|
|
380
|
+
* @summary StopSandbox stops a running sandbox. For sandboxes created with
|
|
381
|
+
`persistent = true`, the controlplane first captures an auto-snapshot
|
|
382
|
+
keyed to the sandbox id (returned in `auto_snapshot_id`) so the
|
|
383
|
+
sandbox can later be brought back via UpdateSandbox(resume=true)
|
|
384
|
+
without losing filesystem state. For non-persistent sandboxes the
|
|
385
|
+
server is simply stopped and no snapshot is taken.
|
|
386
|
+
* @request POST:/v1/core/sandboxes/{id}/stop
|
|
387
|
+
*/
|
|
388
|
+
sandboxesServiceStopSandbox = (id, body, params = {}) => this.request({
|
|
389
|
+
path: `/v1/core/sandboxes/${id}/stop`,
|
|
390
|
+
method: "POST",
|
|
391
|
+
body: body,
|
|
392
|
+
type: ContentType.Json,
|
|
393
|
+
format: "json",
|
|
394
|
+
...params,
|
|
395
|
+
});
|
|
187
396
|
}
|
|
188
397
|
//# sourceMappingURL=SandboxesService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxesService.js","sourceRoot":"","sources":["../../../src/lightning_cloud/openapi/SandboxesService.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"SandboxesService.js","sourceRoot":"","sources":["../../../src/lightning_cloud/openapi/SandboxesService.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;AAoCH,OAAO,EAAE,WAAW,EAAE,UAAU,EAAiB,MAAM,eAAe,CAAC;AAEvE,MAAM,OAAO,gBAEX,SAAQ,UAA4B;IACpC;;;;;;;OAO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ACV,CAAC,CAAC;IACL;;;;;;OAMG;IACH,qCAAqC,GAAG,CACtC,EAAU,EACV,IAA+C,EAC/C,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,OAAO,CAA+B;QACzC,IAAI,EAAE,sBAAsB,EAAE,WAAW;QACzC,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,WAAW,CAAC,IAAI;QACtB,MAAM,EAAE,MAAM;QACd,GAAG,MAAM;KACV,CAAC,CAAC;IACL;;;;;;;;;;;;KAYC;IACD,2BAA2B,GAAG,CAC5B,EAAU,EACV,IAAqC,EACrC,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,OAAO,CAAmC;QAC7C,IAAI,EAAE,sBAAsB,EAAE,OAAO;QACrC,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,WAAW,CAAC,IAAI;QACtB,MAAM,EAAE,MAAM;QACd,GAAG,MAAM;KACV,CAAC,CAAC;CACN"}
|
|
@@ -2,6 +2,22 @@ export interface SandboxesServiceCreateSandboxDirectoryBody {
|
|
|
2
2
|
organizationId?: string;
|
|
3
3
|
path?: string;
|
|
4
4
|
}
|
|
5
|
+
export interface SandboxesServiceCreateSandboxSnapshotBody {
|
|
6
|
+
organizationId?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Optional expiration in milliseconds. When unset, the platform default applies.
|
|
9
|
+
* Use 0 to request no expiration.
|
|
10
|
+
* @format uint64
|
|
11
|
+
*/
|
|
12
|
+
expiration?: string;
|
|
13
|
+
/** Optional tar exclude override for this snapshot. When unset, the platform default applies. */
|
|
14
|
+
excludes?: string[];
|
|
15
|
+
/**
|
|
16
|
+
* project_id is required: snapshots are stored in the cluster bucket
|
|
17
|
+
* under the project's prefix and authorization is project-scoped.
|
|
18
|
+
*/
|
|
19
|
+
projectId?: string;
|
|
20
|
+
}
|
|
5
21
|
export interface SandboxesServiceExtendSandboxTimeoutBody {
|
|
6
22
|
organizationId?: string;
|
|
7
23
|
/**
|
|
@@ -10,6 +26,43 @@ export interface SandboxesServiceExtendSandboxTimeoutBody {
|
|
|
10
26
|
*/
|
|
11
27
|
timeout?: string;
|
|
12
28
|
}
|
|
29
|
+
export interface SandboxesServiceFinalizeSandboxSnapshotBody {
|
|
30
|
+
organizationId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* sha256 digest of the manifest body the agent just PUT to
|
|
33
|
+
* object_key. Lets the controlplane verify it's actually there
|
|
34
|
+
* before flipping the row to "ready".
|
|
35
|
+
*/
|
|
36
|
+
manifestSha256?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Total logical size of the snapshot — sum of all unique blob
|
|
39
|
+
* sizes plus the manifest body. Surfaced in the row's size_bytes
|
|
40
|
+
* for billing/display.
|
|
41
|
+
* @format uint64
|
|
42
|
+
*/
|
|
43
|
+
sizeBytes?: string;
|
|
44
|
+
/**
|
|
45
|
+
* rootfs digest the snapshot was captured against; persisted on
|
|
46
|
+
* the row so restore-compatibility check doesn't have to fetch
|
|
47
|
+
* and parse the manifest.
|
|
48
|
+
*/
|
|
49
|
+
rootfsDigest?: string;
|
|
50
|
+
}
|
|
51
|
+
export interface SandboxesServiceGetSandboxSnapshotBlobDownloadUrlsBody {
|
|
52
|
+
organizationId?: string;
|
|
53
|
+
sha256Digests?: string[];
|
|
54
|
+
}
|
|
55
|
+
export interface SandboxesServiceGetSandboxSnapshotBlobUploadUrlsBody {
|
|
56
|
+
organizationId?: string;
|
|
57
|
+
/**
|
|
58
|
+
* sha256 hex digests of the unique blobs the caller wants to upload.
|
|
59
|
+
* The server checks each against the cluster blob store; missing
|
|
60
|
+
* ones get presigned URLs returned in `upload_urls`, present ones
|
|
61
|
+
* are echoed in `existing_digests` so the caller skips them.
|
|
62
|
+
* Empty list rejected.
|
|
63
|
+
*/
|
|
64
|
+
sha256Digests?: string[];
|
|
65
|
+
}
|
|
13
66
|
export interface SandboxesServiceRunSandboxCommandBody {
|
|
14
67
|
organizationId?: string;
|
|
15
68
|
command?: string;
|
|
@@ -19,6 +72,28 @@ export interface SandboxesServiceRunSandboxCommandBody {
|
|
|
19
72
|
env?: Record<string, string>;
|
|
20
73
|
sudo?: boolean;
|
|
21
74
|
}
|
|
75
|
+
export interface SandboxesServiceStopSandboxBody {
|
|
76
|
+
organizationId?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Optional project the auto-snapshot is written under for persistent
|
|
79
|
+
* sandboxes. When unset, the controlplane falls back to the project the
|
|
80
|
+
* sandbox was originally created in (recorded on the underlying server
|
|
81
|
+
* row). Ignored for non-persistent sandboxes (no snapshot is taken in
|
|
82
|
+
* that case).
|
|
83
|
+
*/
|
|
84
|
+
projectId?: string;
|
|
85
|
+
}
|
|
86
|
+
export interface SandboxesServiceUpdateSandboxBody {
|
|
87
|
+
organizationId?: string;
|
|
88
|
+
/**
|
|
89
|
+
* When true, resume a previously stopped persistent sandbox from
|
|
90
|
+
* its most recent auto-snapshot. The sandbox id is preserved. The
|
|
91
|
+
* call is a no-op (returns the current Sandbox) when the sandbox
|
|
92
|
+
* is already running. Returns an error when the sandbox is not
|
|
93
|
+
* persistent or has no resumable auto-snapshot.
|
|
94
|
+
*/
|
|
95
|
+
resume?: boolean;
|
|
96
|
+
}
|
|
22
97
|
export interface SandboxesServiceWriteSandboxFileBody {
|
|
23
98
|
organizationId?: string;
|
|
24
99
|
path?: string;
|
|
@@ -168,6 +243,43 @@ export interface RpcStatus {
|
|
|
168
243
|
*/
|
|
169
244
|
details?: ProtobufAny[];
|
|
170
245
|
}
|
|
246
|
+
/**
|
|
247
|
+
* A terminated sandbox surfaced by the archive UI. List returns the row
|
|
248
|
+
* fields (1-22); GetArchivedSandbox additionally fills the detail-only
|
|
249
|
+
* fields (23-25) from the termination payload.
|
|
250
|
+
*/
|
|
251
|
+
export interface V1ArchivedSandbox {
|
|
252
|
+
id?: string;
|
|
253
|
+
name?: string;
|
|
254
|
+
organizationId?: string;
|
|
255
|
+
projectId?: string;
|
|
256
|
+
ownerId?: string;
|
|
257
|
+
ownerName?: string;
|
|
258
|
+
clusterId?: string;
|
|
259
|
+
machineId?: string;
|
|
260
|
+
instanceType?: string;
|
|
261
|
+
image?: string;
|
|
262
|
+
runtime?: string;
|
|
263
|
+
ports?: string[];
|
|
264
|
+
persistent?: boolean;
|
|
265
|
+
spot?: boolean;
|
|
266
|
+
autoSnapshotId?: string;
|
|
267
|
+
/** @format date-time */
|
|
268
|
+
createdAt?: string;
|
|
269
|
+
/** @format date-time */
|
|
270
|
+
startedAt?: string;
|
|
271
|
+
/** @format date-time */
|
|
272
|
+
terminatedAt?: string;
|
|
273
|
+
lastKnownState?: string;
|
|
274
|
+
/** Stable token: timeout|user_delete|agent_error|oom|scheduler_kill|unknown. */
|
|
275
|
+
terminationReason?: string;
|
|
276
|
+
/** @format int32 */
|
|
277
|
+
exitCode?: number;
|
|
278
|
+
oomKilled?: boolean;
|
|
279
|
+
envHash?: string;
|
|
280
|
+
phaseDurations?: V1SandboxPhaseDuration[];
|
|
281
|
+
networkConnections?: V1SandboxNetworkConnection[];
|
|
282
|
+
}
|
|
171
283
|
export type V1CreateSandboxDirectoryResponse = object;
|
|
172
284
|
export interface V1CreateSandboxRequest {
|
|
173
285
|
name?: string;
|
|
@@ -197,8 +309,33 @@ export interface V1CreateSandboxRequest {
|
|
|
197
309
|
* network policy.
|
|
198
310
|
*/
|
|
199
311
|
networkPolicy?: V1NetworkPolicy;
|
|
312
|
+
snapshotId?: string;
|
|
313
|
+
/**
|
|
314
|
+
* Whether the sandbox persists its state across restarts via automatic
|
|
315
|
+
* snapshots. Defaults to true.
|
|
316
|
+
*
|
|
317
|
+
* When true, the controlplane automatically snapshots the sandbox on idle,
|
|
318
|
+
* sleep, or eviction, and transparently restores it (via the FUSE
|
|
319
|
+
* snapshot/restore path; see sandbox_fuse_snapshot_restore.md) the next
|
|
320
|
+
* time the sandbox id is accessed. This makes the sandbox id a durable
|
|
321
|
+
* handle suitable for long-lived workflow orchestration that may pause
|
|
322
|
+
* across step boundaries.
|
|
323
|
+
*
|
|
324
|
+
* When false, the sandbox is best-effort ephemeral: state is lost on
|
|
325
|
+
* stop, idle reclaim, or host reschedule.
|
|
326
|
+
*/
|
|
327
|
+
persistent?: boolean;
|
|
328
|
+
/**
|
|
329
|
+
* Project the sandbox is owned by. Recommended for persistent
|
|
330
|
+
* sandboxes — the controlplane needs a project to scope the
|
|
331
|
+
* auto-snapshot bucket prefix on idle eviction and on later
|
|
332
|
+
* StopSandbox calls without an explicit project_id. Optional for
|
|
333
|
+
* non-persistent sandboxes (no auto-snapshot is taken).
|
|
334
|
+
*/
|
|
335
|
+
projectId?: string;
|
|
200
336
|
}
|
|
201
337
|
export type V1DeleteSandboxResponse = object;
|
|
338
|
+
export type V1DeleteSandboxSnapshotResponse = object;
|
|
202
339
|
export type V1ExtendSandboxTimeoutResponse = object;
|
|
203
340
|
export interface V1GetSandboxCommandLogsResponse {
|
|
204
341
|
logs?: V1LogMessage[];
|
|
@@ -213,7 +350,38 @@ export interface V1GetSandboxCommandResponse {
|
|
|
213
350
|
export interface V1GetSandboxFileResponse {
|
|
214
351
|
content?: string;
|
|
215
352
|
}
|
|
353
|
+
export interface V1GetSandboxLogsResponse {
|
|
354
|
+
entries?: V1SandboxLogEntry[];
|
|
355
|
+
nextPageToken?: string;
|
|
356
|
+
/**
|
|
357
|
+
* True when the sandbox has no retained logs (died before ingestion or
|
|
358
|
+
* predates log capture) — drives the UI's "logs not retained" state.
|
|
359
|
+
*/
|
|
360
|
+
logsNotRetained?: boolean;
|
|
361
|
+
}
|
|
362
|
+
export interface V1GetSandboxSnapshotBlobDownloadUrlsResponse {
|
|
363
|
+
downloadUrls?: V1SandboxSnapshotBlobDownloadUrl[];
|
|
364
|
+
}
|
|
365
|
+
export interface V1GetSandboxSnapshotBlobUploadUrlsResponse {
|
|
366
|
+
/** Presigned PUT URL per blob the caller still needs to upload. */
|
|
367
|
+
uploadUrls?: V1SandboxSnapshotBlobUploadUrl[];
|
|
368
|
+
/**
|
|
369
|
+
* sha256 digests already present in the cluster bucket. Caller
|
|
370
|
+
* skips upload for these.
|
|
371
|
+
*/
|
|
372
|
+
existingDigests?: string[];
|
|
373
|
+
}
|
|
216
374
|
export type V1KillSandboxCommandResponse = object;
|
|
375
|
+
export interface V1ListArchivedSandboxesResponse {
|
|
376
|
+
archivedSandboxes?: V1ArchivedSandbox[];
|
|
377
|
+
}
|
|
378
|
+
export interface V1ListSandboxSnapshotsResponse {
|
|
379
|
+
snapshots?: V1SandboxSnapshot[];
|
|
380
|
+
nextPageToken?: string;
|
|
381
|
+
previousPageToken?: string;
|
|
382
|
+
/** @format int64 */
|
|
383
|
+
totalSize?: string;
|
|
384
|
+
}
|
|
217
385
|
export interface V1ListSandboxesResponse {
|
|
218
386
|
sandboxes?: V1Sandbox[];
|
|
219
387
|
nextPageToken?: string;
|
|
@@ -266,6 +434,17 @@ export interface V1Sandbox {
|
|
|
266
434
|
clusterId?: string;
|
|
267
435
|
instanceType?: string;
|
|
268
436
|
spot?: boolean;
|
|
437
|
+
/**
|
|
438
|
+
* Lifecycle status of the sandbox. In addition to the underlying
|
|
439
|
+
* server states (running, stopping, stopped, error, ...) the
|
|
440
|
+
* controlplane surfaces:
|
|
441
|
+
* - "paused": the sandbox is a persistent sandbox whose server
|
|
442
|
+
* row no longer exists, but whose auto-snapshot does.
|
|
443
|
+
* ListSandboxes and GetSandbox synthesise a Sandbox
|
|
444
|
+
* from the most recent auto-snapshot so the sandbox
|
|
445
|
+
* id keeps appearing in user-facing surfaces while it
|
|
446
|
+
* is hibernated. Resume via UpdateSandbox(resume=true).
|
|
447
|
+
*/
|
|
269
448
|
status?: string;
|
|
270
449
|
cloudspaceId?: string;
|
|
271
450
|
ports?: string[];
|
|
@@ -274,6 +453,157 @@ export interface V1Sandbox {
|
|
|
274
453
|
createdAt?: string;
|
|
275
454
|
/** @format date-time */
|
|
276
455
|
updatedAt?: string;
|
|
456
|
+
/**
|
|
457
|
+
* Mirrors CreateSandboxRequest.persistent. Reflects the durability
|
|
458
|
+
* setting the sandbox was created with. See
|
|
459
|
+
* sandbox_fuse_snapshot_restore.md for the lifecycle.
|
|
460
|
+
*/
|
|
461
|
+
persistent?: boolean;
|
|
462
|
+
/**
|
|
463
|
+
* Project the sandbox belongs to. Mirrors CreateSandboxRequest.project_id
|
|
464
|
+
* captured onto Server.Metadata.ProjectId at create time, surfaced here
|
|
465
|
+
* so list/get callers (UI, SDK) can group sandboxes per teamspace
|
|
466
|
+
* without joining against the underlying server row. Empty for
|
|
467
|
+
* sandboxes created before this field landed and for sandboxes whose
|
|
468
|
+
* create request omitted project_id.
|
|
469
|
+
*/
|
|
470
|
+
projectId?: string;
|
|
471
|
+
}
|
|
472
|
+
/**
|
|
473
|
+
* One log line. Mirrors logs.LogEntry (sidecar) plus the optional
|
|
474
|
+
* level/phase the UI renders when a structured emitter populates them.
|
|
475
|
+
*/
|
|
476
|
+
export interface V1SandboxLogEntry {
|
|
477
|
+
/**
|
|
478
|
+
* Stable absolute line index across the sandbox's full log stream.
|
|
479
|
+
* @format uint64
|
|
480
|
+
*/
|
|
481
|
+
line?: string;
|
|
482
|
+
/** @format date-time */
|
|
483
|
+
timestamp?: string;
|
|
484
|
+
/** stdout | stderr | system */
|
|
485
|
+
stream?: string;
|
|
486
|
+
/** info | warn | error | debug (optional). */
|
|
487
|
+
level?: string;
|
|
488
|
+
/** Phase tag, e.g. "litvisor.create" (optional). */
|
|
489
|
+
phase?: string;
|
|
490
|
+
message?: string;
|
|
491
|
+
}
|
|
492
|
+
/** A single observed network connection (5-tuple) during the sandbox's life. */
|
|
493
|
+
export interface V1SandboxNetworkConnection {
|
|
494
|
+
protocol?: string;
|
|
495
|
+
localAddr?: string;
|
|
496
|
+
/** @format int32 */
|
|
497
|
+
localPort?: number;
|
|
498
|
+
remoteAddr?: string;
|
|
499
|
+
/** @format int32 */
|
|
500
|
+
remotePort?: number;
|
|
501
|
+
/** @format int64 */
|
|
502
|
+
bytesSent?: string;
|
|
503
|
+
/** @format int64 */
|
|
504
|
+
bytesRecv?: string;
|
|
505
|
+
}
|
|
506
|
+
/** Per-phase wall-clock duration captured by the litvisor controller. */
|
|
507
|
+
export interface V1SandboxPhaseDuration {
|
|
508
|
+
phase?: string;
|
|
509
|
+
/** @format int64 */
|
|
510
|
+
durationMs?: string;
|
|
511
|
+
}
|
|
512
|
+
export interface V1SandboxSnapshot {
|
|
513
|
+
id?: string;
|
|
514
|
+
organizationId?: string;
|
|
515
|
+
projectId?: string;
|
|
516
|
+
sourceSandboxId?: string;
|
|
517
|
+
/**
|
|
518
|
+
* status transitions on the controlplane:
|
|
519
|
+
* - "saving": row created, agent capture + S3 upload in progress.
|
|
520
|
+
* - "ready": tarball lives in object storage; restorable.
|
|
521
|
+
* - "failed": capture or upload failed; not restorable.
|
|
522
|
+
* Only "ready" snapshots may be used to create a new sandbox.
|
|
523
|
+
*/
|
|
524
|
+
status?: string;
|
|
525
|
+
/** @format uint64 */
|
|
526
|
+
sizeBytes?: string;
|
|
527
|
+
/** @format date-time */
|
|
528
|
+
createdAt?: string;
|
|
529
|
+
/** @format date-time */
|
|
530
|
+
updatedAt?: string;
|
|
531
|
+
/** @format date-time */
|
|
532
|
+
expiresAt?: string;
|
|
533
|
+
runtime?: string;
|
|
534
|
+
runtimeImage?: string;
|
|
535
|
+
rootfsDigest?: string;
|
|
536
|
+
tarExcludes?: string[];
|
|
537
|
+
/**
|
|
538
|
+
* True when this snapshot was auto-captured by the controlplane
|
|
539
|
+
* because its source sandbox was created with `persistent = true`
|
|
540
|
+
* and was stopped (via StopSandbox or idle/eviction). Auto-snapshots
|
|
541
|
+
* represent the durable state of a paused persistent sandbox: one
|
|
542
|
+
* current auto-snapshot per sandbox id, rotated in place on each
|
|
543
|
+
* capture. A persistent sandbox is resumed from its auto-snapshot
|
|
544
|
+
* via UpdateSandbox(resume=true), which preserves the sandbox id.
|
|
545
|
+
*
|
|
546
|
+
* User-initiated snapshots created via CreateSandboxSnapshot have
|
|
547
|
+
* this field set to false, and `source_sandbox_id` may point at a
|
|
548
|
+
* sandbox that has since been deleted.
|
|
549
|
+
*/
|
|
550
|
+
sourceSandboxPersistent?: boolean;
|
|
551
|
+
/**
|
|
552
|
+
* The source sandbox's instance type at capture time, in the form
|
|
553
|
+
* the controlplane persisted on `Server.Spec.InstanceType` (i.e. the
|
|
554
|
+
* post-translation sandbox-pool slug such as "cpu-sandbox-4").
|
|
555
|
+
* Replayed verbatim by UpdateSandbox(resume=true) so the resumed
|
|
556
|
+
* sandbox comes back with the same CPU / memory / disk shape as the
|
|
557
|
+
* original. Best-effort: empty for snapshots captured before this
|
|
558
|
+
* field landed; the resume path then falls back to a default.
|
|
559
|
+
*/
|
|
560
|
+
sourceSandboxInstanceType?: string;
|
|
561
|
+
/**
|
|
562
|
+
* The source sandbox's user-facing name (CreateSandboxRequest.name)
|
|
563
|
+
* at capture time. Surfaced back via ListSandboxes / GetSandbox for
|
|
564
|
+
* paused persistent sandboxes so the original name keeps appearing
|
|
565
|
+
* while the sandbox is hibernated, and reused by UpdateSandbox(
|
|
566
|
+
* resume=true) so the resumed sandbox keeps its identity instead of
|
|
567
|
+
* regressing to a synthetic placeholder. Best-effort: empty for
|
|
568
|
+
* snapshots captured before this field landed.
|
|
569
|
+
*/
|
|
570
|
+
sourceSandboxName?: string;
|
|
571
|
+
/**
|
|
572
|
+
* Outbound network policy captured from the source sandbox at snapshot
|
|
573
|
+
* time. Replayed by UpdateSandbox(resume=true) so a paused persistent
|
|
574
|
+
* sandbox keeps the same egress restrictions after resume. Best-effort:
|
|
575
|
+
* unset for snapshots captured before this field landed; the resume
|
|
576
|
+
* path then treats missing policy as allow-all.
|
|
577
|
+
*/
|
|
578
|
+
sourceSandboxNetworkPolicy?: V1NetworkPolicy;
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* SandboxSnapshotBlobDownloadUrl pairs a sha256 with its presigned GET
|
|
582
|
+
* URL. One per requested digest, in request order.
|
|
583
|
+
*/
|
|
584
|
+
export interface V1SandboxSnapshotBlobDownloadUrl {
|
|
585
|
+
sha256?: string;
|
|
586
|
+
url?: string;
|
|
587
|
+
}
|
|
588
|
+
/**
|
|
589
|
+
* SandboxSnapshotBlobUploadUrl pairs a sha256 digest with the presigned
|
|
590
|
+
* PUT URL the agent uses to push that blob. Digests are echoed back so
|
|
591
|
+
* the agent doesn't need to maintain its own index-to-URL mapping when
|
|
592
|
+
* it issues a batched request.
|
|
593
|
+
*/
|
|
594
|
+
export interface V1SandboxSnapshotBlobUploadUrl {
|
|
595
|
+
sha256?: string;
|
|
596
|
+
url?: string;
|
|
597
|
+
}
|
|
598
|
+
export interface V1StopSandboxResponse {
|
|
599
|
+
/**
|
|
600
|
+
* For sandboxes created with `persistent = true`, the id of the
|
|
601
|
+
* auto-snapshot the controlplane captured before stopping the
|
|
602
|
+
* server. Subsequent UpdateSandbox(resume=true) calls against the
|
|
603
|
+
* sandbox id will resume from this snapshot. Empty when the
|
|
604
|
+
* sandbox is non-persistent (no snapshot is taken in that case).
|
|
605
|
+
*/
|
|
606
|
+
autoSnapshotId?: string;
|
|
277
607
|
}
|
|
278
608
|
export type V1WriteSandboxFileResponse = object;
|
|
279
609
|
//# sourceMappingURL=data-contracts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-contracts.d.ts","sourceRoot":"","sources":["../../../src/lightning_cloud/openapi/data-contracts.ts"],"names":[],"mappings":"AAYA,MAAM,WAAW,0CAA0C;IACzD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,wCAAwC;IACvD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,qCAAqC;IACpD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,E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nB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,aAAa,CAAC,EAAE,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"data-contracts.d.ts","sourceRoot":"","sources":["../../../src/lightning_cloud/openapi/data-contracts.ts"],"names":[],"mappings":"AAYA,MAAM,WAAW,0CAA0C;IACzD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,yCAAyC;IACxD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iGAAiG;IACjG,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,wCAAwC;IACvD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,2CAA2C;IAC1D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,sDAAsD;IACrE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED,MAAM,WAAW,oDAAoD;IACnE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED,MAAM,WAAW,qCAAqC;IACpD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,C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