kurtosis-sdk 0.80.4 → 0.80.6
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/build/core/kurtosis_core_rpc_api_bindings/api_container_service_grpc_pb.d.ts +9 -19
- package/build/core/kurtosis_core_rpc_api_bindings/api_container_service_grpc_pb.js +0 -50
- package/build/core/kurtosis_core_rpc_api_bindings/api_container_service_grpc_web_pb.d.ts +0 -24
- package/build/core/kurtosis_core_rpc_api_bindings/api_container_service_grpc_web_pb.js +7 -129
- package/build/core/kurtosis_core_rpc_api_bindings/api_container_service_pb.d.ts +4 -48
- package/build/core/kurtosis_core_rpc_api_bindings/api_container_service_pb.js +7 -389
- package/build/core/lib/constructor_calls.d.ts +1 -2
- package/build/core/lib/constructor_calls.js +1 -11
- package/build/core/lib/enclaves/enclave_context.d.ts +1 -1
- package/build/core/lib/enclaves/enclave_context.js +2 -6
- package/build/core/lib/enclaves/files_artifact.d.ts +1 -0
- package/build/core/lib/enclaves/files_artifact.js +2 -0
- package/build/core/lib/enclaves/generic_api_container_client.d.ts +3 -3
- package/build/core/lib/enclaves/grpc_node_api_container_client.d.ts +4 -3
- package/build/core/lib/enclaves/grpc_node_api_container_client.js +56 -12
- package/build/core/lib/enclaves/starlark_run_blocking.js +1 -1
- package/build/index.d.ts +1 -2
- package/build/index.js +1 -3
- package/build/kurtosis_version/kurtosis_version.js +1 -1
- package/package.json +1 -1
- package/build/core/lib/services/container_config.d.ts +0 -39
- package/build/core/lib/services/container_config.js +0 -85
|
@@ -16,10 +16,8 @@ interface IApiContainerServiceService extends grpc.ServiceDefinition<grpc.Untype
|
|
|
16
16
|
execCommand: grpc.MethodDefinition<api_container_service_pb.ExecCommandArgs, api_container_service_pb.ExecCommandResponse>;
|
|
17
17
|
waitForHttpGetEndpointAvailability: grpc.MethodDefinition<api_container_service_pb.WaitForHttpGetEndpointAvailabilityArgs, google_protobuf_empty_pb.Empty>;
|
|
18
18
|
waitForHttpPostEndpointAvailability: grpc.MethodDefinition<api_container_service_pb.WaitForHttpPostEndpointAvailabilityArgs, google_protobuf_empty_pb.Empty>;
|
|
19
|
-
uploadFilesArtifact: grpc.MethodDefinition<api_container_service_pb.
|
|
20
|
-
|
|
21
|
-
downloadFilesArtifact: grpc.MethodDefinition<api_container_service_pb.DownloadFilesArtifactArgs, api_container_service_pb.DownloadFilesArtifactResponse>;
|
|
22
|
-
downloadFilesArtifactV2: grpc.MethodDefinition<api_container_service_pb.DownloadFilesArtifactArgs, api_container_service_pb.StreamedDataChunk>;
|
|
19
|
+
uploadFilesArtifact: grpc.MethodDefinition<api_container_service_pb.StreamedDataChunk, api_container_service_pb.UploadFilesArtifactResponse>;
|
|
20
|
+
downloadFilesArtifact: grpc.MethodDefinition<api_container_service_pb.DownloadFilesArtifactArgs, api_container_service_pb.StreamedDataChunk>;
|
|
23
21
|
storeWebFilesArtifact: grpc.MethodDefinition<api_container_service_pb.StoreWebFilesArtifactArgs, api_container_service_pb.StoreWebFilesArtifactResponse>;
|
|
24
22
|
storeFilesArtifactFromService: grpc.MethodDefinition<api_container_service_pb.StoreFilesArtifactFromServiceArgs, api_container_service_pb.StoreFilesArtifactFromServiceResponse>;
|
|
25
23
|
listFilesArtifactNamesAndUuids: grpc.MethodDefinition<google_protobuf_empty_pb.Empty, api_container_service_pb.ListFilesArtifactNamesAndUuidsResponse>;
|
|
@@ -36,10 +34,8 @@ export interface IApiContainerServiceServer extends grpc.UntypedServiceImplement
|
|
|
36
34
|
execCommand: grpc.handleUnaryCall<api_container_service_pb.ExecCommandArgs, api_container_service_pb.ExecCommandResponse>;
|
|
37
35
|
waitForHttpGetEndpointAvailability: grpc.handleUnaryCall<api_container_service_pb.WaitForHttpGetEndpointAvailabilityArgs, google_protobuf_empty_pb.Empty>;
|
|
38
36
|
waitForHttpPostEndpointAvailability: grpc.handleUnaryCall<api_container_service_pb.WaitForHttpPostEndpointAvailabilityArgs, google_protobuf_empty_pb.Empty>;
|
|
39
|
-
uploadFilesArtifact: grpc.
|
|
40
|
-
|
|
41
|
-
downloadFilesArtifact: grpc.handleUnaryCall<api_container_service_pb.DownloadFilesArtifactArgs, api_container_service_pb.DownloadFilesArtifactResponse>;
|
|
42
|
-
downloadFilesArtifactV2: grpc.handleServerStreamingCall<api_container_service_pb.DownloadFilesArtifactArgs, api_container_service_pb.StreamedDataChunk>;
|
|
37
|
+
uploadFilesArtifact: grpc.handleClientStreamingCall<api_container_service_pb.StreamedDataChunk, api_container_service_pb.UploadFilesArtifactResponse>;
|
|
38
|
+
downloadFilesArtifact: grpc.handleServerStreamingCall<api_container_service_pb.DownloadFilesArtifactArgs, api_container_service_pb.StreamedDataChunk>;
|
|
43
39
|
storeWebFilesArtifact: grpc.handleUnaryCall<api_container_service_pb.StoreWebFilesArtifactArgs, api_container_service_pb.StoreWebFilesArtifactResponse>;
|
|
44
40
|
storeFilesArtifactFromService: grpc.handleUnaryCall<api_container_service_pb.StoreFilesArtifactFromServiceArgs, api_container_service_pb.StoreFilesArtifactFromServiceResponse>;
|
|
45
41
|
listFilesArtifactNamesAndUuids: grpc.handleUnaryCall<google_protobuf_empty_pb.Empty, api_container_service_pb.ListFilesArtifactNamesAndUuidsResponse>;
|
|
@@ -69,17 +65,11 @@ export class ApiContainerServiceClient extends grpc.Client {
|
|
|
69
65
|
waitForHttpPostEndpointAvailability(argument: api_container_service_pb.WaitForHttpPostEndpointAvailabilityArgs, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
|
70
66
|
waitForHttpPostEndpointAvailability(argument: api_container_service_pb.WaitForHttpPostEndpointAvailabilityArgs, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
|
71
67
|
waitForHttpPostEndpointAvailability(argument: api_container_service_pb.WaitForHttpPostEndpointAvailabilityArgs, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
|
72
|
-
uploadFilesArtifact(
|
|
73
|
-
uploadFilesArtifact(
|
|
74
|
-
uploadFilesArtifact(
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
uploadFilesArtifactV2(metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.UploadFilesArtifactResponse>): grpc.ClientWritableStream<api_container_service_pb.StreamedDataChunk>;
|
|
78
|
-
downloadFilesArtifact(argument: api_container_service_pb.DownloadFilesArtifactArgs, callback: grpc.requestCallback<api_container_service_pb.DownloadFilesArtifactResponse>): grpc.ClientUnaryCall;
|
|
79
|
-
downloadFilesArtifact(argument: api_container_service_pb.DownloadFilesArtifactArgs, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.DownloadFilesArtifactResponse>): grpc.ClientUnaryCall;
|
|
80
|
-
downloadFilesArtifact(argument: api_container_service_pb.DownloadFilesArtifactArgs, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.DownloadFilesArtifactResponse>): grpc.ClientUnaryCall;
|
|
81
|
-
downloadFilesArtifactV2(argument: api_container_service_pb.DownloadFilesArtifactArgs, metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null): grpc.ClientReadableStream<api_container_service_pb.StreamedDataChunk>;
|
|
82
|
-
downloadFilesArtifactV2(argument: api_container_service_pb.DownloadFilesArtifactArgs, metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientReadableStream<api_container_service_pb.StreamedDataChunk>;
|
|
68
|
+
uploadFilesArtifact(callback: grpc.requestCallback<api_container_service_pb.UploadFilesArtifactResponse>): grpc.ClientWritableStream<api_container_service_pb.StreamedDataChunk>;
|
|
69
|
+
uploadFilesArtifact(metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.UploadFilesArtifactResponse>): grpc.ClientWritableStream<api_container_service_pb.StreamedDataChunk>;
|
|
70
|
+
uploadFilesArtifact(metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.UploadFilesArtifactResponse>): grpc.ClientWritableStream<api_container_service_pb.StreamedDataChunk>;
|
|
71
|
+
downloadFilesArtifact(argument: api_container_service_pb.DownloadFilesArtifactArgs, metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null): grpc.ClientReadableStream<api_container_service_pb.StreamedDataChunk>;
|
|
72
|
+
downloadFilesArtifact(argument: api_container_service_pb.DownloadFilesArtifactArgs, metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientReadableStream<api_container_service_pb.StreamedDataChunk>;
|
|
83
73
|
storeWebFilesArtifact(argument: api_container_service_pb.StoreWebFilesArtifactArgs, callback: grpc.requestCallback<api_container_service_pb.StoreWebFilesArtifactResponse>): grpc.ClientUnaryCall;
|
|
84
74
|
storeWebFilesArtifact(argument: api_container_service_pb.StoreWebFilesArtifactArgs, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.StoreWebFilesArtifactResponse>): grpc.ClientUnaryCall;
|
|
85
75
|
storeWebFilesArtifact(argument: api_container_service_pb.StoreWebFilesArtifactArgs, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.StoreWebFilesArtifactResponse>): grpc.ClientUnaryCall;
|
|
@@ -16,17 +16,6 @@ function deserialize_api_container_api_DownloadFilesArtifactArgs(buffer_arg) {
|
|
|
16
16
|
return api_container_service_pb.DownloadFilesArtifactArgs.deserializeBinary(new Uint8Array(buffer_arg));
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
function serialize_api_container_api_DownloadFilesArtifactResponse(arg) {
|
|
20
|
-
if (!(arg instanceof api_container_service_pb.DownloadFilesArtifactResponse)) {
|
|
21
|
-
throw new Error('Expected argument of type api_container_api.DownloadFilesArtifactResponse');
|
|
22
|
-
}
|
|
23
|
-
return Buffer.from(arg.serializeBinary());
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
function deserialize_api_container_api_DownloadFilesArtifactResponse(buffer_arg) {
|
|
27
|
-
return api_container_service_pb.DownloadFilesArtifactResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
28
|
-
}
|
|
29
|
-
|
|
30
19
|
function serialize_api_container_api_ExecCommandArgs(arg) {
|
|
31
20
|
if (!(arg instanceof api_container_service_pb.ExecCommandArgs)) {
|
|
32
21
|
throw new Error('Expected argument of type api_container_api.ExecCommandArgs');
|
|
@@ -181,17 +170,6 @@ function deserialize_api_container_api_StreamedDataChunk(buffer_arg) {
|
|
|
181
170
|
return api_container_service_pb.StreamedDataChunk.deserializeBinary(new Uint8Array(buffer_arg));
|
|
182
171
|
}
|
|
183
172
|
|
|
184
|
-
function serialize_api_container_api_UploadFilesArtifactArgs(arg) {
|
|
185
|
-
if (!(arg instanceof api_container_service_pb.UploadFilesArtifactArgs)) {
|
|
186
|
-
throw new Error('Expected argument of type api_container_api.UploadFilesArtifactArgs');
|
|
187
|
-
}
|
|
188
|
-
return Buffer.from(arg.serializeBinary());
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
function deserialize_api_container_api_UploadFilesArtifactArgs(buffer_arg) {
|
|
192
|
-
return api_container_service_pb.UploadFilesArtifactArgs.deserializeBinary(new Uint8Array(buffer_arg));
|
|
193
|
-
}
|
|
194
|
-
|
|
195
173
|
function serialize_api_container_api_UploadFilesArtifactResponse(arg) {
|
|
196
174
|
if (!(arg instanceof api_container_service_pb.UploadFilesArtifactResponse)) {
|
|
197
175
|
throw new Error('Expected argument of type api_container_api.UploadFilesArtifactResponse');
|
|
@@ -335,23 +313,8 @@ waitForHttpPostEndpointAvailability: {
|
|
|
335
313
|
responseDeserialize: deserialize_google_protobuf_Empty,
|
|
336
314
|
},
|
|
337
315
|
// Uploads a files artifact to the Kurtosis File System
|
|
338
|
-
// Deprecated: please use UploadFilesArtifactV2 to stream the data and not be blocked by the 4MB limit
|
|
339
316
|
uploadFilesArtifact: {
|
|
340
317
|
path: '/api_container_api.ApiContainerService/UploadFilesArtifact',
|
|
341
|
-
requestStream: false,
|
|
342
|
-
responseStream: false,
|
|
343
|
-
requestType: api_container_service_pb.UploadFilesArtifactArgs,
|
|
344
|
-
responseType: api_container_service_pb.UploadFilesArtifactResponse,
|
|
345
|
-
requestSerialize: serialize_api_container_api_UploadFilesArtifactArgs,
|
|
346
|
-
requestDeserialize: deserialize_api_container_api_UploadFilesArtifactArgs,
|
|
347
|
-
responseSerialize: serialize_api_container_api_UploadFilesArtifactResponse,
|
|
348
|
-
responseDeserialize: deserialize_api_container_api_UploadFilesArtifactResponse,
|
|
349
|
-
},
|
|
350
|
-
// Uploads a files artifact to the Kurtosis File System
|
|
351
|
-
// Can be deprecated once we do not use it anymore. For now, it is still used in the TS SDK as grp-file-transfer
|
|
352
|
-
// library is only implemented in Go
|
|
353
|
-
uploadFilesArtifactV2: {
|
|
354
|
-
path: '/api_container_api.ApiContainerService/UploadFilesArtifactV2',
|
|
355
318
|
requestStream: true,
|
|
356
319
|
responseStream: false,
|
|
357
320
|
requestType: api_container_service_pb.StreamedDataChunk,
|
|
@@ -362,22 +325,9 @@ uploadFilesArtifactV2: {
|
|
|
362
325
|
responseDeserialize: deserialize_api_container_api_UploadFilesArtifactResponse,
|
|
363
326
|
},
|
|
364
327
|
// Downloads a files artifact from the Kurtosis File System
|
|
365
|
-
// Deprecated: Use DownloadFilesArtifactV2 to stream the data and not be limited by GRPC 4MB limit
|
|
366
328
|
downloadFilesArtifact: {
|
|
367
329
|
path: '/api_container_api.ApiContainerService/DownloadFilesArtifact',
|
|
368
330
|
requestStream: false,
|
|
369
|
-
responseStream: false,
|
|
370
|
-
requestType: api_container_service_pb.DownloadFilesArtifactArgs,
|
|
371
|
-
responseType: api_container_service_pb.DownloadFilesArtifactResponse,
|
|
372
|
-
requestSerialize: serialize_api_container_api_DownloadFilesArtifactArgs,
|
|
373
|
-
requestDeserialize: deserialize_api_container_api_DownloadFilesArtifactArgs,
|
|
374
|
-
responseSerialize: serialize_api_container_api_DownloadFilesArtifactResponse,
|
|
375
|
-
responseDeserialize: deserialize_api_container_api_DownloadFilesArtifactResponse,
|
|
376
|
-
},
|
|
377
|
-
// Downloads a files artifact from the Kurtosis File System
|
|
378
|
-
downloadFilesArtifactV2: {
|
|
379
|
-
path: '/api_container_api.ApiContainerService/DownloadFilesArtifactV2',
|
|
380
|
-
requestStream: false,
|
|
381
331
|
responseStream: true,
|
|
382
332
|
requestType: api_container_service_pb.DownloadFilesArtifactArgs,
|
|
383
333
|
responseType: api_container_service_pb.StreamedDataChunk,
|
|
@@ -54,21 +54,7 @@ export class ApiContainerServiceClient {
|
|
|
54
54
|
response: google_protobuf_empty_pb.Empty) => void
|
|
55
55
|
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
|
56
56
|
|
|
57
|
-
uploadFilesArtifact(
|
|
58
|
-
request: api_container_service_pb.UploadFilesArtifactArgs,
|
|
59
|
-
metadata: grpcWeb.Metadata | undefined,
|
|
60
|
-
callback: (err: grpcWeb.RpcError,
|
|
61
|
-
response: api_container_service_pb.UploadFilesArtifactResponse) => void
|
|
62
|
-
): grpcWeb.ClientReadableStream<api_container_service_pb.UploadFilesArtifactResponse>;
|
|
63
|
-
|
|
64
57
|
downloadFilesArtifact(
|
|
65
|
-
request: api_container_service_pb.DownloadFilesArtifactArgs,
|
|
66
|
-
metadata: grpcWeb.Metadata | undefined,
|
|
67
|
-
callback: (err: grpcWeb.RpcError,
|
|
68
|
-
response: api_container_service_pb.DownloadFilesArtifactResponse) => void
|
|
69
|
-
): grpcWeb.ClientReadableStream<api_container_service_pb.DownloadFilesArtifactResponse>;
|
|
70
|
-
|
|
71
|
-
downloadFilesArtifactV2(
|
|
72
58
|
request: api_container_service_pb.DownloadFilesArtifactArgs,
|
|
73
59
|
metadata?: grpcWeb.Metadata
|
|
74
60
|
): grpcWeb.ClientReadableStream<api_container_service_pb.StreamedDataChunk>;
|
|
@@ -136,19 +122,9 @@ export class ApiContainerServicePromiseClient {
|
|
|
136
122
|
metadata?: grpcWeb.Metadata
|
|
137
123
|
): Promise<google_protobuf_empty_pb.Empty>;
|
|
138
124
|
|
|
139
|
-
uploadFilesArtifact(
|
|
140
|
-
request: api_container_service_pb.UploadFilesArtifactArgs,
|
|
141
|
-
metadata?: grpcWeb.Metadata
|
|
142
|
-
): Promise<api_container_service_pb.UploadFilesArtifactResponse>;
|
|
143
|
-
|
|
144
125
|
downloadFilesArtifact(
|
|
145
126
|
request: api_container_service_pb.DownloadFilesArtifactArgs,
|
|
146
127
|
metadata?: grpcWeb.Metadata
|
|
147
|
-
): Promise<api_container_service_pb.DownloadFilesArtifactResponse>;
|
|
148
|
-
|
|
149
|
-
downloadFilesArtifactV2(
|
|
150
|
-
request: api_container_service_pb.DownloadFilesArtifactArgs,
|
|
151
|
-
metadata?: grpcWeb.Metadata
|
|
152
128
|
): grpcWeb.ClientReadableStream<api_container_service_pb.StreamedDataChunk>;
|
|
153
129
|
|
|
154
130
|
storeWebFilesArtifact(
|
|
@@ -493,136 +493,14 @@ proto.api_container_api.ApiContainerServicePromiseClient.prototype.waitForHttpPo
|
|
|
493
493
|
};
|
|
494
494
|
|
|
495
495
|
|
|
496
|
-
/**
|
|
497
|
-
* @const
|
|
498
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
499
|
-
* !proto.api_container_api.UploadFilesArtifactArgs,
|
|
500
|
-
* !proto.api_container_api.UploadFilesArtifactResponse>}
|
|
501
|
-
*/
|
|
502
|
-
const methodDescriptor_ApiContainerService_UploadFilesArtifact = new grpc.web.MethodDescriptor(
|
|
503
|
-
'/api_container_api.ApiContainerService/UploadFilesArtifact',
|
|
504
|
-
grpc.web.MethodType.UNARY,
|
|
505
|
-
proto.api_container_api.UploadFilesArtifactArgs,
|
|
506
|
-
proto.api_container_api.UploadFilesArtifactResponse,
|
|
507
|
-
/**
|
|
508
|
-
* @param {!proto.api_container_api.UploadFilesArtifactArgs} request
|
|
509
|
-
* @return {!Uint8Array}
|
|
510
|
-
*/
|
|
511
|
-
function(request) {
|
|
512
|
-
return request.serializeBinary();
|
|
513
|
-
},
|
|
514
|
-
proto.api_container_api.UploadFilesArtifactResponse.deserializeBinary
|
|
515
|
-
);
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
/**
|
|
519
|
-
* @param {!proto.api_container_api.UploadFilesArtifactArgs} request The
|
|
520
|
-
* request proto
|
|
521
|
-
* @param {?Object<string, string>} metadata User defined
|
|
522
|
-
* call metadata
|
|
523
|
-
* @param {function(?grpc.web.RpcError, ?proto.api_container_api.UploadFilesArtifactResponse)}
|
|
524
|
-
* callback The callback function(error, response)
|
|
525
|
-
* @return {!grpc.web.ClientReadableStream<!proto.api_container_api.UploadFilesArtifactResponse>|undefined}
|
|
526
|
-
* The XHR Node Readable Stream
|
|
527
|
-
*/
|
|
528
|
-
proto.api_container_api.ApiContainerServiceClient.prototype.uploadFilesArtifact =
|
|
529
|
-
function(request, metadata, callback) {
|
|
530
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
531
|
-
'/api_container_api.ApiContainerService/UploadFilesArtifact',
|
|
532
|
-
request,
|
|
533
|
-
metadata || {},
|
|
534
|
-
methodDescriptor_ApiContainerService_UploadFilesArtifact,
|
|
535
|
-
callback);
|
|
536
|
-
};
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
/**
|
|
540
|
-
* @param {!proto.api_container_api.UploadFilesArtifactArgs} request The
|
|
541
|
-
* request proto
|
|
542
|
-
* @param {?Object<string, string>=} metadata User defined
|
|
543
|
-
* call metadata
|
|
544
|
-
* @return {!Promise<!proto.api_container_api.UploadFilesArtifactResponse>}
|
|
545
|
-
* Promise that resolves to the response
|
|
546
|
-
*/
|
|
547
|
-
proto.api_container_api.ApiContainerServicePromiseClient.prototype.uploadFilesArtifact =
|
|
548
|
-
function(request, metadata) {
|
|
549
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
550
|
-
'/api_container_api.ApiContainerService/UploadFilesArtifact',
|
|
551
|
-
request,
|
|
552
|
-
metadata || {},
|
|
553
|
-
methodDescriptor_ApiContainerService_UploadFilesArtifact);
|
|
554
|
-
};
|
|
555
|
-
|
|
556
|
-
|
|
557
496
|
/**
|
|
558
497
|
* @const
|
|
559
498
|
* @type {!grpc.web.MethodDescriptor<
|
|
560
499
|
* !proto.api_container_api.DownloadFilesArtifactArgs,
|
|
561
|
-
* !proto.api_container_api.
|
|
500
|
+
* !proto.api_container_api.StreamedDataChunk>}
|
|
562
501
|
*/
|
|
563
502
|
const methodDescriptor_ApiContainerService_DownloadFilesArtifact = new grpc.web.MethodDescriptor(
|
|
564
503
|
'/api_container_api.ApiContainerService/DownloadFilesArtifact',
|
|
565
|
-
grpc.web.MethodType.UNARY,
|
|
566
|
-
proto.api_container_api.DownloadFilesArtifactArgs,
|
|
567
|
-
proto.api_container_api.DownloadFilesArtifactResponse,
|
|
568
|
-
/**
|
|
569
|
-
* @param {!proto.api_container_api.DownloadFilesArtifactArgs} request
|
|
570
|
-
* @return {!Uint8Array}
|
|
571
|
-
*/
|
|
572
|
-
function(request) {
|
|
573
|
-
return request.serializeBinary();
|
|
574
|
-
},
|
|
575
|
-
proto.api_container_api.DownloadFilesArtifactResponse.deserializeBinary
|
|
576
|
-
);
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
/**
|
|
580
|
-
* @param {!proto.api_container_api.DownloadFilesArtifactArgs} request The
|
|
581
|
-
* request proto
|
|
582
|
-
* @param {?Object<string, string>} metadata User defined
|
|
583
|
-
* call metadata
|
|
584
|
-
* @param {function(?grpc.web.RpcError, ?proto.api_container_api.DownloadFilesArtifactResponse)}
|
|
585
|
-
* callback The callback function(error, response)
|
|
586
|
-
* @return {!grpc.web.ClientReadableStream<!proto.api_container_api.DownloadFilesArtifactResponse>|undefined}
|
|
587
|
-
* The XHR Node Readable Stream
|
|
588
|
-
*/
|
|
589
|
-
proto.api_container_api.ApiContainerServiceClient.prototype.downloadFilesArtifact =
|
|
590
|
-
function(request, metadata, callback) {
|
|
591
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
592
|
-
'/api_container_api.ApiContainerService/DownloadFilesArtifact',
|
|
593
|
-
request,
|
|
594
|
-
metadata || {},
|
|
595
|
-
methodDescriptor_ApiContainerService_DownloadFilesArtifact,
|
|
596
|
-
callback);
|
|
597
|
-
};
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
/**
|
|
601
|
-
* @param {!proto.api_container_api.DownloadFilesArtifactArgs} request The
|
|
602
|
-
* request proto
|
|
603
|
-
* @param {?Object<string, string>=} metadata User defined
|
|
604
|
-
* call metadata
|
|
605
|
-
* @return {!Promise<!proto.api_container_api.DownloadFilesArtifactResponse>}
|
|
606
|
-
* Promise that resolves to the response
|
|
607
|
-
*/
|
|
608
|
-
proto.api_container_api.ApiContainerServicePromiseClient.prototype.downloadFilesArtifact =
|
|
609
|
-
function(request, metadata) {
|
|
610
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
611
|
-
'/api_container_api.ApiContainerService/DownloadFilesArtifact',
|
|
612
|
-
request,
|
|
613
|
-
metadata || {},
|
|
614
|
-
methodDescriptor_ApiContainerService_DownloadFilesArtifact);
|
|
615
|
-
};
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
/**
|
|
619
|
-
* @const
|
|
620
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
621
|
-
* !proto.api_container_api.DownloadFilesArtifactArgs,
|
|
622
|
-
* !proto.api_container_api.StreamedDataChunk>}
|
|
623
|
-
*/
|
|
624
|
-
const methodDescriptor_ApiContainerService_DownloadFilesArtifactV2 = new grpc.web.MethodDescriptor(
|
|
625
|
-
'/api_container_api.ApiContainerService/DownloadFilesArtifactV2',
|
|
626
504
|
grpc.web.MethodType.SERVER_STREAMING,
|
|
627
505
|
proto.api_container_api.DownloadFilesArtifactArgs,
|
|
628
506
|
proto.api_container_api.StreamedDataChunk,
|
|
@@ -644,13 +522,13 @@ const methodDescriptor_ApiContainerService_DownloadFilesArtifactV2 = new grpc.we
|
|
|
644
522
|
* @return {!grpc.web.ClientReadableStream<!proto.api_container_api.StreamedDataChunk>}
|
|
645
523
|
* The XHR Node Readable Stream
|
|
646
524
|
*/
|
|
647
|
-
proto.api_container_api.ApiContainerServiceClient.prototype.
|
|
525
|
+
proto.api_container_api.ApiContainerServiceClient.prototype.downloadFilesArtifact =
|
|
648
526
|
function(request, metadata) {
|
|
649
527
|
return this.client_.serverStreaming(this.hostname_ +
|
|
650
|
-
'/api_container_api.ApiContainerService/
|
|
528
|
+
'/api_container_api.ApiContainerService/DownloadFilesArtifact',
|
|
651
529
|
request,
|
|
652
530
|
metadata || {},
|
|
653
|
-
|
|
531
|
+
methodDescriptor_ApiContainerService_DownloadFilesArtifact);
|
|
654
532
|
};
|
|
655
533
|
|
|
656
534
|
|
|
@@ -661,13 +539,13 @@ proto.api_container_api.ApiContainerServiceClient.prototype.downloadFilesArtifac
|
|
|
661
539
|
* @return {!grpc.web.ClientReadableStream<!proto.api_container_api.StreamedDataChunk>}
|
|
662
540
|
* The XHR Node Readable Stream
|
|
663
541
|
*/
|
|
664
|
-
proto.api_container_api.ApiContainerServicePromiseClient.prototype.
|
|
542
|
+
proto.api_container_api.ApiContainerServicePromiseClient.prototype.downloadFilesArtifact =
|
|
665
543
|
function(request, metadata) {
|
|
666
544
|
return this.client_.serverStreaming(this.hostname_ +
|
|
667
|
-
'/api_container_api.ApiContainerService/
|
|
545
|
+
'/api_container_api.ApiContainerService/DownloadFilesArtifact',
|
|
668
546
|
request,
|
|
669
547
|
metadata || {},
|
|
670
|
-
|
|
548
|
+
methodDescriptor_ApiContainerService_DownloadFilesArtifact);
|
|
671
549
|
};
|
|
672
550
|
|
|
673
551
|
|
|
@@ -562,8 +562,8 @@ export namespace StarlarkRunProgress {
|
|
|
562
562
|
}
|
|
563
563
|
|
|
564
564
|
export class StarlarkRunFinishedEvent extends jspb.Message {
|
|
565
|
-
|
|
566
|
-
|
|
565
|
+
getIsRunSuccessful(): boolean;
|
|
566
|
+
setIsRunSuccessful(value: boolean): StarlarkRunFinishedEvent;
|
|
567
567
|
|
|
568
568
|
getSerializedOutput(): string;
|
|
569
569
|
setSerializedOutput(value: string): StarlarkRunFinishedEvent;
|
|
@@ -580,7 +580,7 @@ export class StarlarkRunFinishedEvent extends jspb.Message {
|
|
|
580
580
|
|
|
581
581
|
export namespace StarlarkRunFinishedEvent {
|
|
582
582
|
export type AsObject = {
|
|
583
|
-
|
|
583
|
+
isRunSuccessful: boolean,
|
|
584
584
|
serializedOutput?: string,
|
|
585
585
|
}
|
|
586
586
|
|
|
@@ -854,30 +854,6 @@ export namespace DataChunkMetadata {
|
|
|
854
854
|
}
|
|
855
855
|
}
|
|
856
856
|
|
|
857
|
-
export class UploadFilesArtifactArgs extends jspb.Message {
|
|
858
|
-
getData(): Uint8Array | string;
|
|
859
|
-
getData_asU8(): Uint8Array;
|
|
860
|
-
getData_asB64(): string;
|
|
861
|
-
setData(value: Uint8Array | string): UploadFilesArtifactArgs;
|
|
862
|
-
|
|
863
|
-
getName(): string;
|
|
864
|
-
setName(value: string): UploadFilesArtifactArgs;
|
|
865
|
-
|
|
866
|
-
serializeBinary(): Uint8Array;
|
|
867
|
-
toObject(includeInstance?: boolean): UploadFilesArtifactArgs.AsObject;
|
|
868
|
-
static toObject(includeInstance: boolean, msg: UploadFilesArtifactArgs): UploadFilesArtifactArgs.AsObject;
|
|
869
|
-
static serializeBinaryToWriter(message: UploadFilesArtifactArgs, writer: jspb.BinaryWriter): void;
|
|
870
|
-
static deserializeBinary(bytes: Uint8Array): UploadFilesArtifactArgs;
|
|
871
|
-
static deserializeBinaryFromReader(message: UploadFilesArtifactArgs, reader: jspb.BinaryReader): UploadFilesArtifactArgs;
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
export namespace UploadFilesArtifactArgs {
|
|
875
|
-
export type AsObject = {
|
|
876
|
-
data: Uint8Array | string,
|
|
877
|
-
name: string,
|
|
878
|
-
}
|
|
879
|
-
}
|
|
880
|
-
|
|
881
857
|
export class UploadFilesArtifactResponse extends jspb.Message {
|
|
882
858
|
getUuid(): string;
|
|
883
859
|
setUuid(value: string): UploadFilesArtifactResponse;
|
|
@@ -918,26 +894,6 @@ export namespace DownloadFilesArtifactArgs {
|
|
|
918
894
|
}
|
|
919
895
|
}
|
|
920
896
|
|
|
921
|
-
export class DownloadFilesArtifactResponse extends jspb.Message {
|
|
922
|
-
getData(): Uint8Array | string;
|
|
923
|
-
getData_asU8(): Uint8Array;
|
|
924
|
-
getData_asB64(): string;
|
|
925
|
-
setData(value: Uint8Array | string): DownloadFilesArtifactResponse;
|
|
926
|
-
|
|
927
|
-
serializeBinary(): Uint8Array;
|
|
928
|
-
toObject(includeInstance?: boolean): DownloadFilesArtifactResponse.AsObject;
|
|
929
|
-
static toObject(includeInstance: boolean, msg: DownloadFilesArtifactResponse): DownloadFilesArtifactResponse.AsObject;
|
|
930
|
-
static serializeBinaryToWriter(message: DownloadFilesArtifactResponse, writer: jspb.BinaryWriter): void;
|
|
931
|
-
static deserializeBinary(bytes: Uint8Array): DownloadFilesArtifactResponse;
|
|
932
|
-
static deserializeBinaryFromReader(message: DownloadFilesArtifactResponse, reader: jspb.BinaryReader): DownloadFilesArtifactResponse;
|
|
933
|
-
}
|
|
934
|
-
|
|
935
|
-
export namespace DownloadFilesArtifactResponse {
|
|
936
|
-
export type AsObject = {
|
|
937
|
-
data: Uint8Array | string,
|
|
938
|
-
}
|
|
939
|
-
}
|
|
940
|
-
|
|
941
897
|
export class StoreWebFilesArtifactArgs extends jspb.Message {
|
|
942
898
|
getUrl(): string;
|
|
943
899
|
setUrl(value: string): StoreWebFilesArtifactArgs;
|
|
@@ -1065,5 +1021,5 @@ export namespace ListFilesArtifactNamesAndUuidsResponse {
|
|
|
1065
1021
|
}
|
|
1066
1022
|
|
|
1067
1023
|
export enum KurtosisFeatureFlag {
|
|
1068
|
-
|
|
1024
|
+
NO_INSTRUCTIONS_CACHING = 0,
|
|
1069
1025
|
}
|