kurtosis-sdk 1.4.3 → 2.0.0

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.
@@ -1546,6 +1546,9 @@ export class StarlarkPackagePlanYamlArgs extends jspb.Message {
1546
1546
  hasSerializedParams(): boolean;
1547
1547
  clearSerializedParams(): StarlarkPackagePlanYamlArgs;
1548
1548
 
1549
+ getIsRemote(): boolean;
1550
+ setIsRemote(value: boolean): StarlarkPackagePlanYamlArgs;
1551
+
1549
1552
  getRelativePathToMainFile(): string;
1550
1553
  setRelativePathToMainFile(value: string): StarlarkPackagePlanYamlArgs;
1551
1554
  hasRelativePathToMainFile(): boolean;
@@ -1568,6 +1571,7 @@ export namespace StarlarkPackagePlanYamlArgs {
1568
1571
  export type AsObject = {
1569
1572
  packageId: string,
1570
1573
  serializedParams?: string,
1574
+ isRemote: boolean,
1571
1575
  relativePathToMainFile?: string,
1572
1576
  mainFunctionName?: string,
1573
1577
  }
@@ -1579,12 +1583,12 @@ export namespace StarlarkPackagePlanYamlArgs {
1579
1583
 
1580
1584
  export enum RelativePathToMainFileCase {
1581
1585
  _RELATIVE_PATH_TO_MAIN_FILE_NOT_SET = 0,
1582
- RELATIVE_PATH_TO_MAIN_FILE = 3,
1586
+ RELATIVE_PATH_TO_MAIN_FILE = 4,
1583
1587
  }
1584
1588
 
1585
1589
  export enum MainFunctionNameCase {
1586
1590
  _MAIN_FUNCTION_NAME_NOT_SET = 0,
1587
- MAIN_FUNCTION_NAME = 4,
1591
+ MAIN_FUNCTION_NAME = 5,
1588
1592
  }
1589
1593
  }
1590
1594
 
@@ -11108,8 +11108,9 @@ proto.api_container_api.StarlarkPackagePlanYamlArgs.toObject = function(includeI
11108
11108
  var f, obj = {
11109
11109
  packageId: jspb.Message.getFieldWithDefault(msg, 1, ""),
11110
11110
  serializedParams: jspb.Message.getFieldWithDefault(msg, 2, ""),
11111
- relativePathToMainFile: jspb.Message.getFieldWithDefault(msg, 3, ""),
11112
- mainFunctionName: jspb.Message.getFieldWithDefault(msg, 4, "")
11111
+ isRemote: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
11112
+ relativePathToMainFile: jspb.Message.getFieldWithDefault(msg, 4, ""),
11113
+ mainFunctionName: jspb.Message.getFieldWithDefault(msg, 5, "")
11113
11114
  };
11114
11115
 
11115
11116
  if (includeInstance) {
@@ -11155,10 +11156,14 @@ proto.api_container_api.StarlarkPackagePlanYamlArgs.deserializeBinaryFromReader
11155
11156
  msg.setSerializedParams(value);
11156
11157
  break;
11157
11158
  case 3:
11159
+ var value = /** @type {boolean} */ (reader.readBool());
11160
+ msg.setIsRemote(value);
11161
+ break;
11162
+ case 4:
11158
11163
  var value = /** @type {string} */ (reader.readString());
11159
11164
  msg.setRelativePathToMainFile(value);
11160
11165
  break;
11161
- case 4:
11166
+ case 5:
11162
11167
  var value = /** @type {string} */ (reader.readString());
11163
11168
  msg.setMainFunctionName(value);
11164
11169
  break;
@@ -11205,9 +11210,9 @@ proto.api_container_api.StarlarkPackagePlanYamlArgs.serializeBinaryToWriter = fu
11205
11210
  f
11206
11211
  );
11207
11212
  }
11208
- f = /** @type {string} */ (jspb.Message.getField(message, 3));
11209
- if (f != null) {
11210
- writer.writeString(
11213
+ f = message.getIsRemote();
11214
+ if (f) {
11215
+ writer.writeBool(
11211
11216
  3,
11212
11217
  f
11213
11218
  );
@@ -11219,6 +11224,13 @@ proto.api_container_api.StarlarkPackagePlanYamlArgs.serializeBinaryToWriter = fu
11219
11224
  f
11220
11225
  );
11221
11226
  }
11227
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
11228
+ if (f != null) {
11229
+ writer.writeString(
11230
+ 5,
11231
+ f
11232
+ );
11233
+ }
11222
11234
  };
11223
11235
 
11224
11236
 
@@ -11277,11 +11289,29 @@ proto.api_container_api.StarlarkPackagePlanYamlArgs.prototype.hasSerializedParam
11277
11289
 
11278
11290
 
11279
11291
  /**
11280
- * optional string relative_path_to_main_file = 3;
11292
+ * optional bool is_remote = 3;
11293
+ * @return {boolean}
11294
+ */
11295
+ proto.api_container_api.StarlarkPackagePlanYamlArgs.prototype.getIsRemote = function() {
11296
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
11297
+ };
11298
+
11299
+
11300
+ /**
11301
+ * @param {boolean} value
11302
+ * @return {!proto.api_container_api.StarlarkPackagePlanYamlArgs} returns this
11303
+ */
11304
+ proto.api_container_api.StarlarkPackagePlanYamlArgs.prototype.setIsRemote = function(value) {
11305
+ return jspb.Message.setProto3BooleanField(this, 3, value);
11306
+ };
11307
+
11308
+
11309
+ /**
11310
+ * optional string relative_path_to_main_file = 4;
11281
11311
  * @return {string}
11282
11312
  */
11283
11313
  proto.api_container_api.StarlarkPackagePlanYamlArgs.prototype.getRelativePathToMainFile = function() {
11284
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
11314
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
11285
11315
  };
11286
11316
 
11287
11317
 
@@ -11290,7 +11320,7 @@ proto.api_container_api.StarlarkPackagePlanYamlArgs.prototype.getRelativePathToM
11290
11320
  * @return {!proto.api_container_api.StarlarkPackagePlanYamlArgs} returns this
11291
11321
  */
11292
11322
  proto.api_container_api.StarlarkPackagePlanYamlArgs.prototype.setRelativePathToMainFile = function(value) {
11293
- return jspb.Message.setField(this, 3, value);
11323
+ return jspb.Message.setField(this, 4, value);
11294
11324
  };
11295
11325
 
11296
11326
 
@@ -11299,7 +11329,7 @@ proto.api_container_api.StarlarkPackagePlanYamlArgs.prototype.setRelativePathToM
11299
11329
  * @return {!proto.api_container_api.StarlarkPackagePlanYamlArgs} returns this
11300
11330
  */
11301
11331
  proto.api_container_api.StarlarkPackagePlanYamlArgs.prototype.clearRelativePathToMainFile = function() {
11302
- return jspb.Message.setField(this, 3, undefined);
11332
+ return jspb.Message.setField(this, 4, undefined);
11303
11333
  };
11304
11334
 
11305
11335
 
@@ -11308,16 +11338,16 @@ proto.api_container_api.StarlarkPackagePlanYamlArgs.prototype.clearRelativePathT
11308
11338
  * @return {boolean}
11309
11339
  */
11310
11340
  proto.api_container_api.StarlarkPackagePlanYamlArgs.prototype.hasRelativePathToMainFile = function() {
11311
- return jspb.Message.getField(this, 3) != null;
11341
+ return jspb.Message.getField(this, 4) != null;
11312
11342
  };
11313
11343
 
11314
11344
 
11315
11345
  /**
11316
- * optional string main_function_name = 4;
11346
+ * optional string main_function_name = 5;
11317
11347
  * @return {string}
11318
11348
  */
11319
11349
  proto.api_container_api.StarlarkPackagePlanYamlArgs.prototype.getMainFunctionName = function() {
11320
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
11350
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
11321
11351
  };
11322
11352
 
11323
11353
 
@@ -11326,7 +11356,7 @@ proto.api_container_api.StarlarkPackagePlanYamlArgs.prototype.getMainFunctionNam
11326
11356
  * @return {!proto.api_container_api.StarlarkPackagePlanYamlArgs} returns this
11327
11357
  */
11328
11358
  proto.api_container_api.StarlarkPackagePlanYamlArgs.prototype.setMainFunctionName = function(value) {
11329
- return jspb.Message.setField(this, 4, value);
11359
+ return jspb.Message.setField(this, 5, value);
11330
11360
  };
11331
11361
 
11332
11362
 
@@ -11335,7 +11365,7 @@ proto.api_container_api.StarlarkPackagePlanYamlArgs.prototype.setMainFunctionNam
11335
11365
  * @return {!proto.api_container_api.StarlarkPackagePlanYamlArgs} returns this
11336
11366
  */
11337
11367
  proto.api_container_api.StarlarkPackagePlanYamlArgs.prototype.clearMainFunctionName = function() {
11338
- return jspb.Message.setField(this, 4, undefined);
11368
+ return jspb.Message.setField(this, 5, undefined);
11339
11369
  };
11340
11370
 
11341
11371
 
@@ -11344,7 +11374,7 @@ proto.api_container_api.StarlarkPackagePlanYamlArgs.prototype.clearMainFunctionN
11344
11374
  * @return {boolean}
11345
11375
  */
11346
11376
  proto.api_container_api.StarlarkPackagePlanYamlArgs.prototype.hasMainFunctionName = function() {
11347
- return jspb.Message.getField(this, 4) != null;
11377
+ return jspb.Message.getField(this, 5) != null;
11348
11378
  };
11349
11379
 
11350
11380
 
@@ -1914,17 +1914,24 @@ export declare class StarlarkPackagePlanYamlArgs extends Message<StarlarkPackage
1914
1914
  */
1915
1915
  serializedParams?: string;
1916
1916
 
1917
+ /**
1918
+ * whether or not this is package yaml should be pulled from on disk package or cloned
1919
+ *
1920
+ * @generated from field: bool is_remote = 3;
1921
+ */
1922
+ isRemote: boolean;
1923
+
1917
1924
  /**
1918
1925
  * The relative main file filepath, the default value is the "main.star" file in the root of a package
1919
1926
  *
1920
- * @generated from field: optional string relative_path_to_main_file = 3;
1927
+ * @generated from field: optional string relative_path_to_main_file = 4;
1921
1928
  */
1922
1929
  relativePathToMainFile?: string;
1923
1930
 
1924
1931
  /**
1925
1932
  * The name of the main function, the default value is "run"
1926
1933
  *
1927
- * @generated from field: optional string main_function_name = 4;
1934
+ * @generated from field: optional string main_function_name = 5;
1928
1935
  */
1929
1936
  mainFunctionName?: string;
1930
1937
 
@@ -670,8 +670,9 @@ export const StarlarkPackagePlanYamlArgs = proto3.makeMessageType(
670
670
  () => [
671
671
  { no: 1, name: "package_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
672
672
  { no: 2, name: "serialized_params", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
673
- { no: 3, name: "relative_path_to_main_file", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
674
- { no: 4, name: "main_function_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
673
+ { no: 3, name: "is_remote", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
674
+ { no: 4, name: "relative_path_to_main_file", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
675
+ { no: 5, name: "main_function_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
675
676
  ],
676
677
  );
677
678
 
@@ -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 = "1.4.3";
7
+ exports.KURTOSIS_VERSION = "2.0.0";
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": "1.4.3",
4
+ "version": "2.0.0",
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",