kurtosis-sdk 0.76.2 → 0.76.4

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.
@@ -318,6 +318,11 @@ export class StarlarkRunResponseLine extends jspb.Message {
318
318
  hasRunFinishedEvent(): boolean;
319
319
  clearRunFinishedEvent(): StarlarkRunResponseLine;
320
320
 
321
+ getWarning(): StarlarkWarning | undefined;
322
+ setWarning(value?: StarlarkWarning): StarlarkRunResponseLine;
323
+ hasWarning(): boolean;
324
+ clearWarning(): StarlarkRunResponseLine;
325
+
321
326
  getRunResponseLineCase(): StarlarkRunResponseLine.RunResponseLineCase;
322
327
 
323
328
  serializeBinary(): Uint8Array;
@@ -335,6 +340,7 @@ export namespace StarlarkRunResponseLine {
335
340
  progressInfo?: StarlarkRunProgress.AsObject,
336
341
  instructionResult?: StarlarkInstructionResult.AsObject,
337
342
  runFinishedEvent?: StarlarkRunFinishedEvent.AsObject,
343
+ warning?: StarlarkWarning.AsObject,
338
344
  }
339
345
 
340
346
  export enum RunResponseLineCase {
@@ -344,6 +350,25 @@ export namespace StarlarkRunResponseLine {
344
350
  PROGRESS_INFO = 3,
345
351
  INSTRUCTION_RESULT = 4,
346
352
  RUN_FINISHED_EVENT = 5,
353
+ WARNING = 6,
354
+ }
355
+ }
356
+
357
+ export class StarlarkWarning extends jspb.Message {
358
+ getWarningMessage(): string;
359
+ setWarningMessage(value: string): StarlarkWarning;
360
+
361
+ serializeBinary(): Uint8Array;
362
+ toObject(includeInstance?: boolean): StarlarkWarning.AsObject;
363
+ static toObject(includeInstance: boolean, msg: StarlarkWarning): StarlarkWarning.AsObject;
364
+ static serializeBinaryToWriter(message: StarlarkWarning, writer: jspb.BinaryWriter): void;
365
+ static deserializeBinary(bytes: Uint8Array): StarlarkWarning;
366
+ static deserializeBinaryFromReader(message: StarlarkWarning, reader: jspb.BinaryReader): StarlarkWarning;
367
+ }
368
+
369
+ export namespace StarlarkWarning {
370
+ export type AsObject = {
371
+ warningMessage: string,
347
372
  }
348
373
  }
349
374
 
@@ -58,6 +58,7 @@ goog.exportSymbol('proto.api_container_api.StarlarkRunProgress', null, global);
58
58
  goog.exportSymbol('proto.api_container_api.StarlarkRunResponseLine', null, global);
59
59
  goog.exportSymbol('proto.api_container_api.StarlarkRunResponseLine.RunResponseLineCase', null, global);
60
60
  goog.exportSymbol('proto.api_container_api.StarlarkValidationError', null, global);
61
+ goog.exportSymbol('proto.api_container_api.StarlarkWarning', null, global);
61
62
  goog.exportSymbol('proto.api_container_api.StartServicesArgs', null, global);
62
63
  goog.exportSymbol('proto.api_container_api.StartServicesResponse', null, global);
63
64
  goog.exportSymbol('proto.api_container_api.StoreFilesArtifactFromServiceArgs', null, global);
@@ -218,6 +219,27 @@ if (goog.DEBUG && !COMPILED) {
218
219
  */
219
220
  proto.api_container_api.StarlarkRunResponseLine.displayName = 'proto.api_container_api.StarlarkRunResponseLine';
220
221
  }
222
+ /**
223
+ * Generated by JsPbCodeGenerator.
224
+ * @param {Array=} opt_data Optional initial data array, typically from a
225
+ * server response, or constructed directly in Javascript. The array is used
226
+ * in place and becomes part of the constructed object. It is not cloned.
227
+ * If no data is provided, the constructed object will be empty, but still
228
+ * valid.
229
+ * @extends {jspb.Message}
230
+ * @constructor
231
+ */
232
+ proto.api_container_api.StarlarkWarning = function(opt_data) {
233
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
234
+ };
235
+ goog.inherits(proto.api_container_api.StarlarkWarning, jspb.Message);
236
+ if (goog.DEBUG && !COMPILED) {
237
+ /**
238
+ * @public
239
+ * @override
240
+ */
241
+ proto.api_container_api.StarlarkWarning.displayName = 'proto.api_container_api.StarlarkWarning';
242
+ }
221
243
  /**
222
244
  * Generated by JsPbCodeGenerator.
223
245
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3034,7 +3056,7 @@ proto.api_container_api.RunStarlarkPackageArgs.prototype.hasClonePackage = funct
3034
3056
  * @private {!Array<!Array<number>>}
3035
3057
  * @const
3036
3058
  */
3037
- proto.api_container_api.StarlarkRunResponseLine.oneofGroups_ = [[1,2,3,4,5]];
3059
+ proto.api_container_api.StarlarkRunResponseLine.oneofGroups_ = [[1,2,3,4,5,6]];
3038
3060
 
3039
3061
  /**
3040
3062
  * @enum {number}
@@ -3045,7 +3067,8 @@ proto.api_container_api.StarlarkRunResponseLine.RunResponseLineCase = {
3045
3067
  ERROR: 2,
3046
3068
  PROGRESS_INFO: 3,
3047
3069
  INSTRUCTION_RESULT: 4,
3048
- RUN_FINISHED_EVENT: 5
3070
+ RUN_FINISHED_EVENT: 5,
3071
+ WARNING: 6
3049
3072
  };
3050
3073
 
3051
3074
  /**
@@ -3090,7 +3113,8 @@ proto.api_container_api.StarlarkRunResponseLine.toObject = function(includeInsta
3090
3113
  error: (f = msg.getError()) && proto.api_container_api.StarlarkError.toObject(includeInstance, f),
3091
3114
  progressInfo: (f = msg.getProgressInfo()) && proto.api_container_api.StarlarkRunProgress.toObject(includeInstance, f),
3092
3115
  instructionResult: (f = msg.getInstructionResult()) && proto.api_container_api.StarlarkInstructionResult.toObject(includeInstance, f),
3093
- runFinishedEvent: (f = msg.getRunFinishedEvent()) && proto.api_container_api.StarlarkRunFinishedEvent.toObject(includeInstance, f)
3116
+ runFinishedEvent: (f = msg.getRunFinishedEvent()) && proto.api_container_api.StarlarkRunFinishedEvent.toObject(includeInstance, f),
3117
+ warning: (f = msg.getWarning()) && proto.api_container_api.StarlarkWarning.toObject(includeInstance, f)
3094
3118
  };
3095
3119
 
3096
3120
  if (includeInstance) {
@@ -3152,6 +3176,11 @@ proto.api_container_api.StarlarkRunResponseLine.deserializeBinaryFromReader = fu
3152
3176
  reader.readMessage(value,proto.api_container_api.StarlarkRunFinishedEvent.deserializeBinaryFromReader);
3153
3177
  msg.setRunFinishedEvent(value);
3154
3178
  break;
3179
+ case 6:
3180
+ var value = new proto.api_container_api.StarlarkWarning;
3181
+ reader.readMessage(value,proto.api_container_api.StarlarkWarning.deserializeBinaryFromReader);
3182
+ msg.setWarning(value);
3183
+ break;
3155
3184
  default:
3156
3185
  reader.skipField();
3157
3186
  break;
@@ -3221,6 +3250,14 @@ proto.api_container_api.StarlarkRunResponseLine.serializeBinaryToWriter = functi
3221
3250
  proto.api_container_api.StarlarkRunFinishedEvent.serializeBinaryToWriter
3222
3251
  );
3223
3252
  }
3253
+ f = message.getWarning();
3254
+ if (f != null) {
3255
+ writer.writeMessage(
3256
+ 6,
3257
+ f,
3258
+ proto.api_container_api.StarlarkWarning.serializeBinaryToWriter
3259
+ );
3260
+ }
3224
3261
  };
3225
3262
 
3226
3263
 
@@ -3409,6 +3446,173 @@ proto.api_container_api.StarlarkRunResponseLine.prototype.hasRunFinishedEvent =
3409
3446
  };
3410
3447
 
3411
3448
 
3449
+ /**
3450
+ * optional StarlarkWarning warning = 6;
3451
+ * @return {?proto.api_container_api.StarlarkWarning}
3452
+ */
3453
+ proto.api_container_api.StarlarkRunResponseLine.prototype.getWarning = function() {
3454
+ return /** @type{?proto.api_container_api.StarlarkWarning} */ (
3455
+ jspb.Message.getWrapperField(this, proto.api_container_api.StarlarkWarning, 6));
3456
+ };
3457
+
3458
+
3459
+ /**
3460
+ * @param {?proto.api_container_api.StarlarkWarning|undefined} value
3461
+ * @return {!proto.api_container_api.StarlarkRunResponseLine} returns this
3462
+ */
3463
+ proto.api_container_api.StarlarkRunResponseLine.prototype.setWarning = function(value) {
3464
+ return jspb.Message.setOneofWrapperField(this, 6, proto.api_container_api.StarlarkRunResponseLine.oneofGroups_[0], value);
3465
+ };
3466
+
3467
+
3468
+ /**
3469
+ * Clears the message field making it undefined.
3470
+ * @return {!proto.api_container_api.StarlarkRunResponseLine} returns this
3471
+ */
3472
+ proto.api_container_api.StarlarkRunResponseLine.prototype.clearWarning = function() {
3473
+ return this.setWarning(undefined);
3474
+ };
3475
+
3476
+
3477
+ /**
3478
+ * Returns whether this field is set.
3479
+ * @return {boolean}
3480
+ */
3481
+ proto.api_container_api.StarlarkRunResponseLine.prototype.hasWarning = function() {
3482
+ return jspb.Message.getField(this, 6) != null;
3483
+ };
3484
+
3485
+
3486
+
3487
+
3488
+
3489
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3490
+ /**
3491
+ * Creates an object representation of this proto.
3492
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3493
+ * Optional fields that are not set will be set to undefined.
3494
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3495
+ * For the list of reserved names please see:
3496
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3497
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3498
+ * JSPB instance for transitional soy proto support:
3499
+ * http://goto/soy-param-migration
3500
+ * @return {!Object}
3501
+ */
3502
+ proto.api_container_api.StarlarkWarning.prototype.toObject = function(opt_includeInstance) {
3503
+ return proto.api_container_api.StarlarkWarning.toObject(opt_includeInstance, this);
3504
+ };
3505
+
3506
+
3507
+ /**
3508
+ * Static version of the {@see toObject} method.
3509
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3510
+ * the JSPB instance for transitional soy proto support:
3511
+ * http://goto/soy-param-migration
3512
+ * @param {!proto.api_container_api.StarlarkWarning} msg The msg instance to transform.
3513
+ * @return {!Object}
3514
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3515
+ */
3516
+ proto.api_container_api.StarlarkWarning.toObject = function(includeInstance, msg) {
3517
+ var f, obj = {
3518
+ warningMessage: jspb.Message.getFieldWithDefault(msg, 1, "")
3519
+ };
3520
+
3521
+ if (includeInstance) {
3522
+ obj.$jspbMessageInstance = msg;
3523
+ }
3524
+ return obj;
3525
+ };
3526
+ }
3527
+
3528
+
3529
+ /**
3530
+ * Deserializes binary data (in protobuf wire format).
3531
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3532
+ * @return {!proto.api_container_api.StarlarkWarning}
3533
+ */
3534
+ proto.api_container_api.StarlarkWarning.deserializeBinary = function(bytes) {
3535
+ var reader = new jspb.BinaryReader(bytes);
3536
+ var msg = new proto.api_container_api.StarlarkWarning;
3537
+ return proto.api_container_api.StarlarkWarning.deserializeBinaryFromReader(msg, reader);
3538
+ };
3539
+
3540
+
3541
+ /**
3542
+ * Deserializes binary data (in protobuf wire format) from the
3543
+ * given reader into the given message object.
3544
+ * @param {!proto.api_container_api.StarlarkWarning} msg The message object to deserialize into.
3545
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3546
+ * @return {!proto.api_container_api.StarlarkWarning}
3547
+ */
3548
+ proto.api_container_api.StarlarkWarning.deserializeBinaryFromReader = function(msg, reader) {
3549
+ while (reader.nextField()) {
3550
+ if (reader.isEndGroup()) {
3551
+ break;
3552
+ }
3553
+ var field = reader.getFieldNumber();
3554
+ switch (field) {
3555
+ case 1:
3556
+ var value = /** @type {string} */ (reader.readString());
3557
+ msg.setWarningMessage(value);
3558
+ break;
3559
+ default:
3560
+ reader.skipField();
3561
+ break;
3562
+ }
3563
+ }
3564
+ return msg;
3565
+ };
3566
+
3567
+
3568
+ /**
3569
+ * Serializes the message to binary data (in protobuf wire format).
3570
+ * @return {!Uint8Array}
3571
+ */
3572
+ proto.api_container_api.StarlarkWarning.prototype.serializeBinary = function() {
3573
+ var writer = new jspb.BinaryWriter();
3574
+ proto.api_container_api.StarlarkWarning.serializeBinaryToWriter(this, writer);
3575
+ return writer.getResultBuffer();
3576
+ };
3577
+
3578
+
3579
+ /**
3580
+ * Serializes the given message to binary data (in protobuf wire
3581
+ * format), writing to the given BinaryWriter.
3582
+ * @param {!proto.api_container_api.StarlarkWarning} message
3583
+ * @param {!jspb.BinaryWriter} writer
3584
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3585
+ */
3586
+ proto.api_container_api.StarlarkWarning.serializeBinaryToWriter = function(message, writer) {
3587
+ var f = undefined;
3588
+ f = message.getWarningMessage();
3589
+ if (f.length > 0) {
3590
+ writer.writeString(
3591
+ 1,
3592
+ f
3593
+ );
3594
+ }
3595
+ };
3596
+
3597
+
3598
+ /**
3599
+ * optional string warning_message = 1;
3600
+ * @return {string}
3601
+ */
3602
+ proto.api_container_api.StarlarkWarning.prototype.getWarningMessage = function() {
3603
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3604
+ };
3605
+
3606
+
3607
+ /**
3608
+ * @param {string} value
3609
+ * @return {!proto.api_container_api.StarlarkWarning} returns this
3610
+ */
3611
+ proto.api_container_api.StarlarkWarning.prototype.setWarningMessage = function(value) {
3612
+ return jspb.Message.setProto3StringField(this, 1, value);
3613
+ };
3614
+
3615
+
3412
3616
 
3413
3617
  /**
3414
3618
  * List of repeated fields within this message type.
@@ -31,7 +31,7 @@ const service_identifiers_1 = require("../services/service_identifiers");
31
31
  // or it was repartitioned away)
32
32
  const DEFAULT_PARTITION_ID = "";
33
33
  exports.KURTOSIS_YAML_FILENAME = "kurtosis.yml";
34
- // Docs available at https://docs.kurtosis.com/sdk/#enclavecontext
34
+ // Docs available at https://docs.kurtosistech.com/sdk/#enclavecontext
35
35
  class EnclaveContext {
36
36
  constructor(backend, pathJoiner, genericTgzArchiver) {
37
37
  this.backend = backend;
@@ -94,15 +94,15 @@ class EnclaveContext {
94
94
  return (0, neverthrow_1.ok)(enclaveContext);
95
95
  });
96
96
  }
97
- // Docs available at https://docs.kurtosis.com/sdk/#getenclaveuuid---enclaveuuid
97
+ // Docs available at https://docs.kurtosistech.com/sdk/#getenclaveuuid---enclaveuuid
98
98
  getEnclaveUuid() {
99
99
  return this.backend.getEnclaveUuid();
100
100
  }
101
- // Docs available at https://docs.kurtosis.com/sdk/#getenclavename---string
101
+ // Docs available at https://docs.kurtosistech.com/sdk/#getenclavename---string
102
102
  getEnclaveName() {
103
103
  return this.backend.getEnclaveName();
104
104
  }
105
- // Docs available at https://docs.kurtosis.com/sdk/#runstarlarkscriptstring-serializedstarlarkscript-boolean-dryrun---streamstarlarkrunresponseline-responselines-error-error
105
+ // Docs available at https://docs.kurtosistech.com/sdk/#runstarlarkscriptstring-serializedstarlarkscript-boolean-dryrun---streamstarlarkrunresponseline-responselines-error-error
106
106
  runStarlarkScript(serializedStartosisScript, serializedParams, dryRun) {
107
107
  return __awaiter(this, void 0, void 0, function* () {
108
108
  const args = new api_container_service_pb_1.RunStarlarkScriptArgs();
@@ -116,7 +116,7 @@ class EnclaveContext {
116
116
  return (0, neverthrow_1.ok)(scriptRunResult.value);
117
117
  });
118
118
  }
119
- // Docs available at https://docs.kurtosis.com/sdk/#runstarlarkscriptblockingstring-serializedstarlarkscript-boolean-dryrun---starlarkrunresult-runresult-error-error
119
+ // Docs available at https://docs.kurtosistech.com/sdk/#runstarlarkscriptblockingstring-serializedstarlarkscript-boolean-dryrun---starlarkrunresult-runresult-error-error
120
120
  runStarlarkScriptBlocking(serializedStartosisScript, serializedParams, dryRun) {
121
121
  return __awaiter(this, void 0, void 0, function* () {
122
122
  const runAsyncResponse = yield this.runStarlarkScript(serializedStartosisScript, serializedParams, dryRun);
@@ -127,7 +127,7 @@ class EnclaveContext {
127
127
  return (0, neverthrow_1.ok)(fullRunResult);
128
128
  });
129
129
  }
130
- // Docs available at https://docs.kurtosis.com/sdk/#runstarlarkpackagestring-packagerootpath-string-serializedparams-boolean-dryrun---streamstarlarkrunresponseline-responselines-error-error
130
+ // Docs available at https://docs.kurtosistech.com/sdk/#runstarlarkpackagestring-packagerootpath-string-serializedparams-boolean-dryrun---streamstarlarkrunresponseline-responselines-error-error
131
131
  runStarlarkPackage(packageRootPath, serializedParams, dryRun) {
132
132
  return __awaiter(this, void 0, void 0, function* () {
133
133
  const args = yield this.assembleRunStarlarkPackageArg(packageRootPath, serializedParams, dryRun);
@@ -141,7 +141,7 @@ class EnclaveContext {
141
141
  return (0, neverthrow_1.ok)(packageRunResult.value);
142
142
  });
143
143
  }
144
- // Docs available at https://docs.kurtosis.com/sdk/#runstarlarkpackageblockingstring-packagerootpath-string-serializedparams-boolean-dryrun---starlarkrunresult-runresult-error-error
144
+ // Docs available at https://docs.kurtosistech.com/sdk/#runstarlarkpackageblockingstring-packagerootpath-string-serializedparams-boolean-dryrun---starlarkrunresult-runresult-error-error
145
145
  runStarlarkPackageBlocking(packageRootPath, serializedParams, dryRun) {
146
146
  return __awaiter(this, void 0, void 0, function* () {
147
147
  const runAsyncResponse = yield this.runStarlarkPackage(packageRootPath, serializedParams, dryRun);
@@ -152,7 +152,7 @@ class EnclaveContext {
152
152
  return (0, neverthrow_1.ok)(fullRunResult);
153
153
  });
154
154
  }
155
- // Docs available at https://docs.kurtosis.com/sdk/#runremotestarlarkpackagestring-packageid-string-serializedparams-boolean-dryrun---streamstarlarkrunresponseline-responselines-error-error
155
+ // Docs available at https://docs.kurtosistech.com/sdk/#runremotestarlarkpackagestring-packageid-string-serializedparams-boolean-dryrun---streamstarlarkrunresponseline-responselines-error-error
156
156
  runStarlarkRemotePackage(moduleId, serializedParams, dryRun) {
157
157
  return __awaiter(this, void 0, void 0, function* () {
158
158
  const args = new api_container_service_pb_1.RunStarlarkPackageArgs();
@@ -167,7 +167,7 @@ class EnclaveContext {
167
167
  return (0, neverthrow_1.ok)(remotePackageRunResult.value);
168
168
  });
169
169
  }
170
- // Docs available at https://docs.kurtosis.com/sdk/#runstarlarkremotepackageblockingstring-packageid-string-serializedparams-boolean-dryrun---starlarkrunresult-runresult-error-error
170
+ // Docs available at https://docs.kurtosistech.com/sdk/#runstarlarkremotepackageblockingstring-packageid-string-serializedparams-boolean-dryrun---starlarkrunresult-runresult-error-error
171
171
  runStarlarkRemotePackageBlocking(moduleId, serializedParams, dryRun) {
172
172
  return __awaiter(this, void 0, void 0, function* () {
173
173
  const runAsyncResponse = yield this.runStarlarkRemotePackage(moduleId, serializedParams, dryRun);
@@ -178,7 +178,7 @@ class EnclaveContext {
178
178
  return (0, neverthrow_1.ok)(fullRunResult);
179
179
  });
180
180
  }
181
- // Docs available at https://docs.kurtosis.com/sdk/#addserviceserviceid-serviceid--containerconfig-containerconfig---servicecontext-servicecontext
181
+ // Docs available at https://docs.kurtosistech.com/sdk/#addserviceserviceid-serviceid--containerconfig-containerconfig---servicecontext-servicecontext
182
182
  addService(serviceName, containerConfig) {
183
183
  return __awaiter(this, void 0, void 0, function* () {
184
184
  const containerConfigs = new Map();
@@ -199,7 +199,7 @@ class EnclaveContext {
199
199
  return (0, neverthrow_1.ok)(serviceCtx);
200
200
  });
201
201
  }
202
- // Docs available at https://docs.kurtosis.com/sdk/#addservicetopartitionserviceid-serviceid-partitionid-partitionid-containerconfig-containerconfig---servicecontext-servicecontext
202
+ // Docs available at https://docs.kurtosistech.com/sdk/#addservicetopartitionserviceid-serviceid-partitionid-partitionid-containerconfig-containerconfig---servicecontext-servicecontext
203
203
  addServiceToPartition(serviceName, partitionId, containerConfig) {
204
204
  return __awaiter(this, void 0, void 0, function* () {
205
205
  const containerConfigs = new Map();
@@ -220,7 +220,7 @@ class EnclaveContext {
220
220
  return (0, neverthrow_1.ok)(serviceCtx);
221
221
  });
222
222
  }
223
- // Docs available at https://docs.kurtosis.com/sdk/#addservicestopartitionmapserviceid-containerconfig-containerconfigs-partitionid-partitionid---mapserviceid-servicecontext-successfulservices-mapserviceid-error-failedservices
223
+ // Docs available at https://docs.kurtosistech.com/sdk/#addservicestopartitionmapserviceid-containerconfig-containerconfigs-partitionid-partitionid---mapserviceid-servicecontext-successfulservices-mapserviceid-error-failedservices
224
224
  addServicesToPartition(containerConfigs, partitionID) {
225
225
  return __awaiter(this, void 0, void 0, function* () {
226
226
  const failedServicesPool = new Map();
@@ -313,7 +313,7 @@ class EnclaveContext {
313
313
  return (0, neverthrow_1.ok)([successfulServices, failedServicesPool]);
314
314
  });
315
315
  }
316
- // Docs available at https://docs.kurtosis.com/sdk#getservicecontextstring-serviceidentifier---servicecontext-servicecontext
316
+ // Docs available at https://docs.kurtosistech.com/sdk#getservicecontextstring-serviceidentifier---servicecontext-servicecontext
317
317
  getServiceContext(serviceIdentifier) {
318
318
  return __awaiter(this, void 0, void 0, function* () {
319
319
  const serviceArgMap = new Map();
@@ -344,7 +344,7 @@ class EnclaveContext {
344
344
  return (0, neverthrow_1.ok)(serviceContext);
345
345
  });
346
346
  }
347
- // Docs available at https://docs.kurtosis.com/sdk#getservices---mapservicename--serviceuuid-serviceidentifiers
347
+ // Docs available at https://docs.kurtosistech.com/sdk#getservices---mapservicename--serviceuuid-serviceidentifiers
348
348
  getServices() {
349
349
  return __awaiter(this, void 0, void 0, function* () {
350
350
  const getAllServicesArgMap = new Map();
@@ -361,7 +361,7 @@ class EnclaveContext {
361
361
  return (0, neverthrow_1.ok)(serviceInfos);
362
362
  });
363
363
  }
364
- // Docs available at https://docs.kurtosis.com/sdk#uploadfilesstring-pathtoupload-string-artifactname
364
+ // Docs available at https://docs.kurtosistech.com/sdk#uploadfilesstring-pathtoupload-string-artifactname
365
365
  uploadFiles(pathToArchive, name) {
366
366
  return __awaiter(this, void 0, void 0, function* () {
367
367
  const archiverResponse = yield this.genericTgzArchiver.createTgzByteArray(pathToArchive);
@@ -376,7 +376,7 @@ class EnclaveContext {
376
376
  return (0, neverthrow_1.ok)(uploadResult.value.getUuid());
377
377
  });
378
378
  }
379
- // Docs available at https://docs.kurtosis.com/sdk#storewebfilesstring-urltodownload-string-artifactname
379
+ // Docs available at https://docs.kurtosistech.com/sdk#storewebfilesstring-urltodownload-string-artifactname
380
380
  storeWebFiles(url, name) {
381
381
  return __awaiter(this, void 0, void 0, function* () {
382
382
  const args = (0, constructor_calls_1.newStoreWebFilesArtifactArgs)(url, name);
@@ -388,7 +388,7 @@ class EnclaveContext {
388
388
  return (0, neverthrow_1.ok)(storeWebFilesArtifactResponse.getUuid());
389
389
  });
390
390
  }
391
- // Docs available at https://docs.kurtosis.com/sdk#downloadfilesartifact-fileidentifier-string
391
+ // Docs available at https://docs.kurtosistech.com/sdk#downloadfilesartifact-fileidentifier-string
392
392
  downloadFilesArtifact(identifier) {
393
393
  return __awaiter(this, void 0, void 0, function* () {
394
394
  const args = (0, constructor_calls_1.newDownloadFilesArtifactArgs)(identifier);
@@ -400,7 +400,7 @@ class EnclaveContext {
400
400
  return (0, neverthrow_1.ok)(downloadFilesArtifactResponse.getData_asU8());
401
401
  });
402
402
  }
403
- // Docs available at https://docs.kurtosis.com/sdk#getexistingandhistoricalserviceidentifiers---serviceidentifiers-serviceidentifiers
403
+ // Docs available at https://docs.kurtosistech.com/sdk#getexistingandhistoricalserviceidentifiers---serviceidentifiers-serviceidentifiers
404
404
  getExistingAndHistoricalServiceIdentifiers() {
405
405
  return __awaiter(this, void 0, void 0, function* () {
406
406
  const getExistingAndHistoricalServiceIdentifiersResponseResult = yield this.backend.getExistingAndHistoricalServiceIdentifiers();
@@ -411,7 +411,7 @@ class EnclaveContext {
411
411
  return (0, neverthrow_1.ok)(new service_identifiers_1.ServiceIdentifiers(getExistingAndHistoricalIdentifiersValue.getAllidentifiersList()));
412
412
  });
413
413
  }
414
- // Docs available at https://docs.kurtosis.com/#getallfilesartifactnamesanduuids---filesartifactnameanduuid-filesartifactnamesanduuids
414
+ // Docs available at https://docs.kurtosistech.com/#getallfilesartifactnamesanduuids---filesartifactnameanduuid-filesartifactnamesanduuids
415
415
  getAllFilesArtifactNamesAndUuids() {
416
416
  return __awaiter(this, void 0, void 0, function* () {
417
417
  const getAllFilesArtifactsNamesAndUuidsResponseResult = yield this.backend.getAllFilesArtifactNamesAndUuids();
@@ -14,7 +14,7 @@ const fs = require("fs");
14
14
  const neverthrow_1 = require("neverthrow");
15
15
  const yaml = require("js-yaml");
16
16
  const enclave_context_1 = require("./enclave_context");
17
- const PACKAGES_URL = "https://docs.kurtosis.com/concepts-reference/packages";
17
+ const PACKAGES_URL = "https://docs.kurtosistech.com/concepts-reference/packages";
18
18
  class KurtosisYaml {
19
19
  constructor(name) {
20
20
  this.name = name;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TemplateAndData = void 0;
4
- // Docs available at ttps://docs.kurtosis.com/sdk#templateanddata
4
+ // Docs available at ttps://docs.kurtosistech.com/sdk#templateanddata
5
5
  class TemplateAndData {
6
6
  constructor(template, templateData) {
7
7
  this.template = template;
@@ -6,7 +6,7 @@ const DEFAULT_PRIVATE_IP_ADDR_PLACEHOLDER = "KURTOSIS_PRIVATE_IP_ADDR_PLACEHOLDE
6
6
  // Config Object
7
7
  // ====================================================================================================
8
8
  // TODO defensive copy when we're giving back complex objects?????
9
- // Docs available at https://docs.kurtosis.com/sdk/#containerconfig
9
+ // Docs available at https://docs.kurtosistech.com/sdk/#containerconfig
10
10
  class ContainerConfig {
11
11
  constructor(image, usedPorts, publicPorts, //TODO this is a huge hack to temporarily enable static ports for NEAR until we have a more productized solution
12
12
  filesArtifactMountpoints, entrypointOverrideArgs, cmdOverrideArgs, environmentVariableOverrides, cpuAllocationMillicpus, memoryAllocationMegabytes, privateIPAddrPlaceholder) {
@@ -27,7 +27,7 @@ exports.ContainerConfig = ContainerConfig;
27
27
  // Builder
28
28
  // ====================================================================================================
29
29
  // TODO Defensive copies on all these With... functions???
30
- // Docs available at https://docs.kurtosis.com/sdk/#containerconfigbuilder
30
+ // Docs available at https://docs.kurtosistech.com/sdk/#containerconfigbuilder
31
31
  class ContainerConfigBuilder {
32
32
  constructor(image) {
33
33
  this.image = image;
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ServiceContext = void 0;
13
13
  const neverthrow_1 = require("neverthrow");
14
14
  const constructor_calls_1 = require("../constructor_calls");
15
- // Docs available at https://docs.kurtosis.com/sdk/#servicecontext
15
+ // Docs available at https://docs.kurtosistech.com/sdk/#servicecontext
16
16
  class ServiceContext {
17
17
  constructor(client, serviceName, serviceUuid, privateIpAddress, privatePorts, publicIpAddress, publicPorts) {
18
18
  this.client = client;
@@ -23,31 +23,31 @@ class ServiceContext {
23
23
  this.publicIpAddress = publicIpAddress;
24
24
  this.publicPorts = publicPorts;
25
25
  }
26
- // Docs available at https://docs.kurtosis.com/sdk/#getservicename---servicename
26
+ // Docs available at https://docs.kurtosistech.com/sdk/#getservicename---servicename
27
27
  getServiceName() {
28
28
  return this.serviceName;
29
29
  }
30
- // Docs available at https://docs.kurtosis.com/sdk/#getserviceuuid---serviceuuid
30
+ // Docs available at https://docs.kurtosistech.com/sdk/#getserviceuuid---serviceuuid
31
31
  getServiceUUID() {
32
32
  return this.serviceUuid;
33
33
  }
34
- // Docs available at https://docs.kurtosis.com/sdk/#getprivateipaddress---string
34
+ // Docs available at https://docs.kurtosistech.com/sdk/#getprivateipaddress---string
35
35
  getPrivateIPAddress() {
36
36
  return this.privateIpAddress;
37
37
  }
38
- // Docs available at https://docs.kurtosis.com/sdk/#getprivateports---mapportid-portspec
38
+ // Docs available at https://docs.kurtosistech.com/sdk/#getprivateports---mapportid-portspec
39
39
  getPrivatePorts() {
40
40
  return this.privatePorts;
41
41
  }
42
- // Docs available at https://docs.kurtosis.com/sdk/#getmaybepublicipaddress---string
42
+ // Docs available at https://docs.kurtosistech.com/sdk/#getmaybepublicipaddress---string
43
43
  getMaybePublicIPAddress() {
44
44
  return this.publicIpAddress;
45
45
  }
46
- // Docs available at https://docs.kurtosis.com/sdk/#getpublicports---mapportid-portspec
46
+ // Docs available at https://docs.kurtosistech.com/sdk/#getpublicports---mapportid-portspec
47
47
  getPublicPorts() {
48
48
  return this.publicPorts;
49
49
  }
50
- // Docs available at https://docs.kurtosis.com/sdk/#execcommandliststring-command---int-exitcode-string-logs
50
+ // Docs available at https://docs.kurtosistech.com/sdk/#execcommandliststring-command---int-exitcode-string-logs
51
51
  execCommand(command) {
52
52
  return __awaiter(this, void 0, void 0, function* () {
53
53
  const execCommandArgs = (0, constructor_calls_1.newExecCommandArgs)(this.serviceName, command);
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ServiceIdentifiers = void 0;
4
4
  const VALID_UUID_MATCHES_ALLOWED = 1;
5
- // Docs available at https://docs.kurtosis.com/sdk#service-identifiers
5
+ // Docs available at https://docs.kurtosistech.com/sdk#service-identifiers
6
6
  class ServiceIdentifiers {
7
7
  constructor(historicalIdentifiers) {
8
8
  this.serviceUuids = new Map();
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EnclaveIdentifiers = void 0;
4
4
  const VALID_UUID_MATCHES_ALLOWED = 1;
5
- // Docs available at https://docs.kurtosis.com/sdk#enclave-identifiers
5
+ // Docs available at https://docs.kurtosistech.com/sdk#enclave-identifiers
6
6
  class EnclaveIdentifiers {
7
7
  constructor(historicalIdentifiers) {
8
8
  this.enclaveUuids = new Map();
@@ -29,7 +29,7 @@ exports.DEFAULT_GRPC_ENGINE_SERVER_PORT_NUM = 9710;
29
29
  exports.DEFAULT_GRPC_PROXY_ENGINE_SERVER_PORT_NUM = 9711;
30
30
  // Blank tells the engine server to use the default
31
31
  const DEFAULT_API_CONTAINER_VERSION_TAG = "";
32
- // Docs available at https://docs.kurtosis.com/sdk#kurtosiscontext
32
+ // Docs available at https://docs.kurtosistech.com/sdk#kurtosiscontext
33
33
  class KurtosisContext {
34
34
  constructor(client) {
35
35
  this.client = client;
@@ -72,7 +72,7 @@ class KurtosisContext {
72
72
  return (0, neverthrow_1.ok)(kurtosisContext);
73
73
  });
74
74
  }
75
- // Docs available at https://docs.kurtosis.com/sdk#createenclaveenclaveid-enclaveid-boolean-issubnetworkingenabled---enclavecontextenclavecontext-enclavecontext
75
+ // Docs available at https://docs.kurtosistech.com/sdk#createenclaveenclaveid-enclaveid-boolean-issubnetworkingenabled---enclavecontextenclavecontext-enclavecontext
76
76
  createEnclave(enclaveName, isSubnetworkingEnabled) {
77
77
  return __awaiter(this, void 0, void 0, function* () {
78
78
  const enclaveArgs = (0, constructor_calls_1.newCreateEnclaveArgs)(enclaveName, DEFAULT_API_CONTAINER_VERSION_TAG, API_CONTAINER_LOG_LEVEL, isSubnetworkingEnabled);
@@ -94,7 +94,7 @@ class KurtosisContext {
94
94
  return (0, neverthrow_1.ok)(enclaveContext);
95
95
  });
96
96
  }
97
- // Docs available at https://docs.kurtosis.com/sdk/#getenclavecontextstring-enclaveidentifier---enclavecontextenclavecontext-enclavecontext
97
+ // Docs available at https://docs.kurtosistech.com/sdk/#getenclavecontextstring-enclaveidentifier---enclavecontextenclavecontext-enclavecontext
98
98
  getEnclaveContext(enclaveIdentifier) {
99
99
  return __awaiter(this, void 0, void 0, function* () {
100
100
  const enclaveInfoResult = yield this.getEnclave(enclaveIdentifier);
@@ -109,7 +109,7 @@ class KurtosisContext {
109
109
  return (0, neverthrow_1.ok)(newEnclaveContextResult.value);
110
110
  });
111
111
  }
112
- // Docs available at https://docs.kurtosis.com/sdk#getenclaves---enclaves-enclaves
112
+ // Docs available at https://docs.kurtosistech.com/sdk#getenclaves---enclaves-enclaves
113
113
  getEnclaves() {
114
114
  return __awaiter(this, void 0, void 0, function* () {
115
115
  const getEnclavesResponseResult = yield this.client.getEnclavesResponse();
@@ -134,7 +134,7 @@ class KurtosisContext {
134
134
  return (0, neverthrow_1.ok)(new enclaves_1.Enclaves(enclavesByUuid, enclavesByName, enclavesByShortenedUuid));
135
135
  });
136
136
  }
137
- // Docs available at https://docs.kurtosis.com/sdk/#getenclavestring-enclaveidentifier---enclaveinfo-enclaveinfo
137
+ // Docs available at https://docs.kurtosistech.com/sdk/#getenclavestring-enclaveidentifier---enclaveinfo-enclaveinfo
138
138
  getEnclave(enclaveIdentifier) {
139
139
  return __awaiter(this, void 0, void 0, function* () {
140
140
  const enclavesResult = yield this.getEnclaves();
@@ -160,7 +160,7 @@ class KurtosisContext {
160
160
  return (0, neverthrow_1.err)(new Error(`Couldn't find enclave for identifier '${enclaveIdentifier}'`));
161
161
  });
162
162
  }
163
- // Docs available at https://docs.kurtosis.com/sdk/#stopenclavestring-enclaveidentifier
163
+ // Docs available at https://docs.kurtosistech.com/sdk/#stopenclavestring-enclaveidentifier
164
164
  stopEnclave(enclaveIdentifier) {
165
165
  return __awaiter(this, void 0, void 0, function* () {
166
166
  const stopEnclaveArgs = (0, constructor_calls_1.newStopEnclaveArgs)(enclaveIdentifier);
@@ -171,7 +171,7 @@ class KurtosisContext {
171
171
  return (0, neverthrow_1.ok)(null);
172
172
  });
173
173
  }
174
- // Docs available at https://docs.kurtosis.com/sdk/#destroyenclavestring-enclaveidentifier
174
+ // Docs available at https://docs.kurtosistech.com/sdk/#destroyenclavestring-enclaveidentifier
175
175
  destroyEnclave(enclaveIdentifier) {
176
176
  return __awaiter(this, void 0, void 0, function* () {
177
177
  const destroyEnclaveArgs = (0, constructor_calls_1.newDestroyEnclaveArgs)(enclaveIdentifier);
@@ -182,7 +182,7 @@ class KurtosisContext {
182
182
  return (0, neverthrow_1.ok)(null);
183
183
  });
184
184
  }
185
- // Docs available at https://docs.kurtosis.com/sdk#cleanboolean-shouldcleanall---enclavenameanduuid-removedenclavenameanduuids
185
+ // Docs available at https://docs.kurtosistech.com/sdk#cleanboolean-shouldcleanall---enclavenameanduuid-removedenclavenameanduuids
186
186
  clean(shouldCleanAll) {
187
187
  return __awaiter(this, void 0, void 0, function* () {
188
188
  const cleanArgs = (0, constructor_calls_1.newCleanArgs)(shouldCleanAll);
@@ -207,7 +207,7 @@ class KurtosisContext {
207
207
  // //insert your code here
208
208
  //})
209
209
  //You can cancel receiving the stream from the service calling serviceLogsReadable.destroy()
210
- // Docs available at https://docs.kurtosis.com/sdk#getservicelogsstring-enclaveidentifier-setserviceuuid-serviceuuids-boolean-shouldfollowlogs-loglinefilter-loglinefilter---servicelogsstreamcontent-servicelogsstreamcontent
210
+ // Docs available at https://docs.kurtosistech.com/sdk#getservicelogsstring-enclaveidentifier-setserviceuuid-serviceuuids-boolean-shouldfollowlogs-loglinefilter-loglinefilter---servicelogsstreamcontent-servicelogsstreamcontent
211
211
  getServiceLogs(enclaveIdentifier, serviceUuids, shouldFollowLogs, logLineFilter) {
212
212
  return __awaiter(this, void 0, void 0, function* () {
213
213
  let getServiceLogsArgs;
@@ -294,7 +294,7 @@ class KurtosisContext {
294
294
  const doApiVersionsMatch = libraryEngineMajorVersion === runningEngineMajorVersion && libraryEngineMinorVersion === runningEngineMinorVersion;
295
295
  if (!doApiVersionsMatch) {
296
296
  return (0, neverthrow_1.err)(new Error(`An API version mismatch was detected between the running engine version '${runningEngineSemver.version}' and the engine version this Kurtosis SDK library expects, '${libraryEngineSemver.version}'. You should:\n` +
297
- ` 1) upgrade your Kurtosis CLI to latest using the instructions at https://docs.kurtosis.com/install#upgrading\n` +
297
+ ` 1) upgrade your Kurtosis CLI to latest using the instructions at https://docs.kurtosistech.com/install#upgrading\n` +
298
298
  ` 2) use the Kurtosis CLI to restart your engine via 'kurtosis engine restart'\n` +
299
299
  ` 3) upgrade your Kurtosis SDK library using the instructions at https://github.com/kurtosis-tech/kurtosis-sdk\n`));
300
300
  }
@@ -7,11 +7,11 @@ class ServiceLogsStreamContent {
7
7
  this.serviceLogsByServiceUuids = serviceLogsByServiceUuids;
8
8
  this.notFoundServiceUuids = notFoundServiceUuids;
9
9
  }
10
- // Docs available at https://docs.kurtosis.com/sdk#getservicelogsbyserviceuuids----mapserviceuuid-arrayservicelog-servicelogsbyserviceuuids
10
+ // Docs available at https://docs.kurtosistech.com/sdk#getservicelogsbyserviceuuids----mapserviceuuid-arrayservicelog-servicelogsbyserviceuuids
11
11
  getServiceLogsByServiceUuids() {
12
12
  return this.serviceLogsByServiceUuids;
13
13
  }
14
- // Docs available at https://docs.kurtosis.com/sdk#getnotfoundserviceuuids---setserviceuuid-notfoundserviceuuids
14
+ // Docs available at https://docs.kurtosistech.com/sdk#getnotfoundserviceuuids---setserviceuuid-notfoundserviceuuids
15
15
  getNotFoundServiceUuids() {
16
16
  return this.notFoundServiceUuids;
17
17
  }
@@ -4,5 +4,5 @@ exports.KURTOSIS_VERSION = void 0;
4
4
  // !!!!!!!!!!! DO NOT UPDATE! WILL BE MANUALLY UPDATED DURING THE RELEASE PROCESS !!!!!!!!!!!!!!!!!!!!!!
5
5
  // This is necessary so that Kurt Core consumers (e.g. modules) will know if they're compatible with the currently-running
6
6
  // API container
7
- exports.KURTOSIS_VERSION = "0.76.2";
7
+ exports.KURTOSIS_VERSION = "0.76.4";
8
8
  // !!!!!!!!!!! DO NOT UPDATE! WILL BE MANUALLY UPDATED DURING THE RELEASE PROCESS !!!!!!!!!!!!!!!!!!!!!!
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kurtosis-sdk",
3
3
  "//": "NOTE: DO NOT UPDATE THIS VERSION MANUALLY - IT WILL BE UPDATED DURING THE RELEASE PROCESS!",
4
- "version": "0.76.2",
4
+ "version": "0.76.4",
5
5
  "main": "./build/index",
6
6
  "description": "This repo contains a Typescript client for communicating with the Kurtosis Engine server, which is responsible for creating, managing and destroying Kurtosis Enclaves.",
7
7
  "types": "./build/index",