kurtosis-sdk 0.50.0 → 0.50.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -362,8 +362,10 @@ export class ExecuteStartosisScriptResponse extends jspb.Message {
362
362
  getInterpretationError(): string;
363
363
  setInterpretationError(value: string): ExecuteStartosisScriptResponse;
364
364
 
365
- getValidationError(): string;
366
- setValidationError(value: string): ExecuteStartosisScriptResponse;
365
+ getValidationErrorsList(): Array<StartosisValidationError>;
366
+ setValidationErrorsList(value: Array<StartosisValidationError>): ExecuteStartosisScriptResponse;
367
+ clearValidationErrorsList(): ExecuteStartosisScriptResponse;
368
+ addValidationErrors(value?: StartosisValidationError, index?: number): StartosisValidationError;
367
369
 
368
370
  getExecutionError(): string;
369
371
  setExecutionError(value: string): ExecuteStartosisScriptResponse;
@@ -380,7 +382,7 @@ export namespace ExecuteStartosisScriptResponse {
380
382
  export type AsObject = {
381
383
  serializedScriptOutput: string,
382
384
  interpretationError: string,
383
- validationError: string,
385
+ validationErrorsList: Array<StartosisValidationError.AsObject>,
384
386
  executionError: string,
385
387
  }
386
388
  }
@@ -964,3 +966,21 @@ export namespace RenderTemplatesToFilesArtifactResponse {
964
966
  }
965
967
  }
966
968
 
969
+ export class StartosisValidationError extends jspb.Message {
970
+ getError(): string;
971
+ setError(value: string): StartosisValidationError;
972
+
973
+ serializeBinary(): Uint8Array;
974
+ toObject(includeInstance?: boolean): StartosisValidationError.AsObject;
975
+ static toObject(includeInstance: boolean, msg: StartosisValidationError): StartosisValidationError.AsObject;
976
+ static serializeBinaryToWriter(message: StartosisValidationError, writer: jspb.BinaryWriter): void;
977
+ static deserializeBinary(bytes: Uint8Array): StartosisValidationError;
978
+ static deserializeBinaryFromReader(message: StartosisValidationError, reader: jspb.BinaryReader): StartosisValidationError;
979
+ }
980
+
981
+ export namespace StartosisValidationError {
982
+ export type AsObject = {
983
+ error: string,
984
+ }
985
+ }
986
+
@@ -48,6 +48,7 @@ goog.exportSymbol('proto.api_container_api.ServiceConfig', null, global);
48
48
  goog.exportSymbol('proto.api_container_api.ServiceInfo', null, global);
49
49
  goog.exportSymbol('proto.api_container_api.StartServicesArgs', null, global);
50
50
  goog.exportSymbol('proto.api_container_api.StartServicesResponse', null, global);
51
+ goog.exportSymbol('proto.api_container_api.StartosisValidationError', null, global);
51
52
  goog.exportSymbol('proto.api_container_api.StoreFilesArtifactFromServiceArgs', null, global);
52
53
  goog.exportSymbol('proto.api_container_api.StoreFilesArtifactFromServiceResponse', null, global);
53
54
  goog.exportSymbol('proto.api_container_api.StoreWebFilesArtifactArgs', null, global);
@@ -343,7 +344,7 @@ if (goog.DEBUG && !COMPILED) {
343
344
  * @constructor
344
345
  */
345
346
  proto.api_container_api.ExecuteStartosisScriptResponse = function(opt_data) {
346
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
347
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.api_container_api.ExecuteStartosisScriptResponse.repeatedFields_, null);
347
348
  };
348
349
  goog.inherits(proto.api_container_api.ExecuteStartosisScriptResponse, jspb.Message);
349
350
  if (goog.DEBUG && !COMPILED) {
@@ -920,6 +921,27 @@ if (goog.DEBUG && !COMPILED) {
920
921
  */
921
922
  proto.api_container_api.RenderTemplatesToFilesArtifactResponse.displayName = 'proto.api_container_api.RenderTemplatesToFilesArtifactResponse';
922
923
  }
924
+ /**
925
+ * Generated by JsPbCodeGenerator.
926
+ * @param {Array=} opt_data Optional initial data array, typically from a
927
+ * server response, or constructed directly in Javascript. The array is used
928
+ * in place and becomes part of the constructed object. It is not cloned.
929
+ * If no data is provided, the constructed object will be empty, but still
930
+ * valid.
931
+ * @extends {jspb.Message}
932
+ * @constructor
933
+ */
934
+ proto.api_container_api.StartosisValidationError = function(opt_data) {
935
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
936
+ };
937
+ goog.inherits(proto.api_container_api.StartosisValidationError, jspb.Message);
938
+ if (goog.DEBUG && !COMPILED) {
939
+ /**
940
+ * @public
941
+ * @override
942
+ */
943
+ proto.api_container_api.StartosisValidationError.displayName = 'proto.api_container_api.StartosisValidationError';
944
+ }
923
945
 
924
946
 
925
947
 
@@ -3523,6 +3545,13 @@ proto.api_container_api.ExecuteStartosisScriptArgs.prototype.setSerializedScript
3523
3545
 
3524
3546
 
3525
3547
 
3548
+ /**
3549
+ * List of repeated fields within this message type.
3550
+ * @private {!Array<number>}
3551
+ * @const
3552
+ */
3553
+ proto.api_container_api.ExecuteStartosisScriptResponse.repeatedFields_ = [3];
3554
+
3526
3555
 
3527
3556
 
3528
3557
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -3556,7 +3585,8 @@ proto.api_container_api.ExecuteStartosisScriptResponse.toObject = function(inclu
3556
3585
  var f, obj = {
3557
3586
  serializedScriptOutput: jspb.Message.getFieldWithDefault(msg, 1, ""),
3558
3587
  interpretationError: jspb.Message.getFieldWithDefault(msg, 2, ""),
3559
- validationError: jspb.Message.getFieldWithDefault(msg, 3, ""),
3588
+ validationErrorsList: jspb.Message.toObjectList(msg.getValidationErrorsList(),
3589
+ proto.api_container_api.StartosisValidationError.toObject, includeInstance),
3560
3590
  executionError: jspb.Message.getFieldWithDefault(msg, 4, "")
3561
3591
  };
3562
3592
 
@@ -3603,8 +3633,9 @@ proto.api_container_api.ExecuteStartosisScriptResponse.deserializeBinaryFromRead
3603
3633
  msg.setInterpretationError(value);
3604
3634
  break;
3605
3635
  case 3:
3606
- var value = /** @type {string} */ (reader.readString());
3607
- msg.setValidationError(value);
3636
+ var value = new proto.api_container_api.StartosisValidationError;
3637
+ reader.readMessage(value,proto.api_container_api.StartosisValidationError.deserializeBinaryFromReader);
3638
+ msg.addValidationErrors(value);
3608
3639
  break;
3609
3640
  case 4:
3610
3641
  var value = /** @type {string} */ (reader.readString());
@@ -3653,11 +3684,12 @@ proto.api_container_api.ExecuteStartosisScriptResponse.serializeBinaryToWriter =
3653
3684
  f
3654
3685
  );
3655
3686
  }
3656
- f = message.getValidationError();
3687
+ f = message.getValidationErrorsList();
3657
3688
  if (f.length > 0) {
3658
- writer.writeString(
3689
+ writer.writeRepeatedMessage(
3659
3690
  3,
3660
- f
3691
+ f,
3692
+ proto.api_container_api.StartosisValidationError.serializeBinaryToWriter
3661
3693
  );
3662
3694
  }
3663
3695
  f = message.getExecutionError();
@@ -3707,20 +3739,40 @@ proto.api_container_api.ExecuteStartosisScriptResponse.prototype.setInterpretati
3707
3739
 
3708
3740
 
3709
3741
  /**
3710
- * optional string validation_error = 3;
3711
- * @return {string}
3742
+ * repeated StartosisValidationError validation_errors = 3;
3743
+ * @return {!Array<!proto.api_container_api.StartosisValidationError>}
3712
3744
  */
3713
- proto.api_container_api.ExecuteStartosisScriptResponse.prototype.getValidationError = function() {
3714
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3745
+ proto.api_container_api.ExecuteStartosisScriptResponse.prototype.getValidationErrorsList = function() {
3746
+ return /** @type{!Array<!proto.api_container_api.StartosisValidationError>} */ (
3747
+ jspb.Message.getRepeatedWrapperField(this, proto.api_container_api.StartosisValidationError, 3));
3715
3748
  };
3716
3749
 
3717
3750
 
3718
3751
  /**
3719
- * @param {string} value
3752
+ * @param {!Array<!proto.api_container_api.StartosisValidationError>} value
3720
3753
  * @return {!proto.api_container_api.ExecuteStartosisScriptResponse} returns this
3754
+ */
3755
+ proto.api_container_api.ExecuteStartosisScriptResponse.prototype.setValidationErrorsList = function(value) {
3756
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
3757
+ };
3758
+
3759
+
3760
+ /**
3761
+ * @param {!proto.api_container_api.StartosisValidationError=} opt_value
3762
+ * @param {number=} opt_index
3763
+ * @return {!proto.api_container_api.StartosisValidationError}
3721
3764
  */
3722
- proto.api_container_api.ExecuteStartosisScriptResponse.prototype.setValidationError = function(value) {
3723
- return jspb.Message.setProto3StringField(this, 3, value);
3765
+ proto.api_container_api.ExecuteStartosisScriptResponse.prototype.addValidationErrors = function(opt_value, opt_index) {
3766
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.api_container_api.StartosisValidationError, opt_index);
3767
+ };
3768
+
3769
+
3770
+ /**
3771
+ * Clears the list making it empty but non-null.
3772
+ * @return {!proto.api_container_api.ExecuteStartosisScriptResponse} returns this
3773
+ */
3774
+ proto.api_container_api.ExecuteStartosisScriptResponse.prototype.clearValidationErrorsList = function() {
3775
+ return this.setValidationErrorsList([]);
3724
3776
  };
3725
3777
 
3726
3778
 
@@ -8007,4 +8059,134 @@ proto.api_container_api.RenderTemplatesToFilesArtifactResponse.prototype.setUuid
8007
8059
  };
8008
8060
 
8009
8061
 
8062
+
8063
+
8064
+
8065
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8066
+ /**
8067
+ * Creates an object representation of this proto.
8068
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
8069
+ * Optional fields that are not set will be set to undefined.
8070
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8071
+ * For the list of reserved names please see:
8072
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
8073
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
8074
+ * JSPB instance for transitional soy proto support:
8075
+ * http://goto/soy-param-migration
8076
+ * @return {!Object}
8077
+ */
8078
+ proto.api_container_api.StartosisValidationError.prototype.toObject = function(opt_includeInstance) {
8079
+ return proto.api_container_api.StartosisValidationError.toObject(opt_includeInstance, this);
8080
+ };
8081
+
8082
+
8083
+ /**
8084
+ * Static version of the {@see toObject} method.
8085
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8086
+ * the JSPB instance for transitional soy proto support:
8087
+ * http://goto/soy-param-migration
8088
+ * @param {!proto.api_container_api.StartosisValidationError} msg The msg instance to transform.
8089
+ * @return {!Object}
8090
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8091
+ */
8092
+ proto.api_container_api.StartosisValidationError.toObject = function(includeInstance, msg) {
8093
+ var f, obj = {
8094
+ error: jspb.Message.getFieldWithDefault(msg, 1, "")
8095
+ };
8096
+
8097
+ if (includeInstance) {
8098
+ obj.$jspbMessageInstance = msg;
8099
+ }
8100
+ return obj;
8101
+ };
8102
+ }
8103
+
8104
+
8105
+ /**
8106
+ * Deserializes binary data (in protobuf wire format).
8107
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
8108
+ * @return {!proto.api_container_api.StartosisValidationError}
8109
+ */
8110
+ proto.api_container_api.StartosisValidationError.deserializeBinary = function(bytes) {
8111
+ var reader = new jspb.BinaryReader(bytes);
8112
+ var msg = new proto.api_container_api.StartosisValidationError;
8113
+ return proto.api_container_api.StartosisValidationError.deserializeBinaryFromReader(msg, reader);
8114
+ };
8115
+
8116
+
8117
+ /**
8118
+ * Deserializes binary data (in protobuf wire format) from the
8119
+ * given reader into the given message object.
8120
+ * @param {!proto.api_container_api.StartosisValidationError} msg The message object to deserialize into.
8121
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8122
+ * @return {!proto.api_container_api.StartosisValidationError}
8123
+ */
8124
+ proto.api_container_api.StartosisValidationError.deserializeBinaryFromReader = function(msg, reader) {
8125
+ while (reader.nextField()) {
8126
+ if (reader.isEndGroup()) {
8127
+ break;
8128
+ }
8129
+ var field = reader.getFieldNumber();
8130
+ switch (field) {
8131
+ case 1:
8132
+ var value = /** @type {string} */ (reader.readString());
8133
+ msg.setError(value);
8134
+ break;
8135
+ default:
8136
+ reader.skipField();
8137
+ break;
8138
+ }
8139
+ }
8140
+ return msg;
8141
+ };
8142
+
8143
+
8144
+ /**
8145
+ * Serializes the message to binary data (in protobuf wire format).
8146
+ * @return {!Uint8Array}
8147
+ */
8148
+ proto.api_container_api.StartosisValidationError.prototype.serializeBinary = function() {
8149
+ var writer = new jspb.BinaryWriter();
8150
+ proto.api_container_api.StartosisValidationError.serializeBinaryToWriter(this, writer);
8151
+ return writer.getResultBuffer();
8152
+ };
8153
+
8154
+
8155
+ /**
8156
+ * Serializes the given message to binary data (in protobuf wire
8157
+ * format), writing to the given BinaryWriter.
8158
+ * @param {!proto.api_container_api.StartosisValidationError} message
8159
+ * @param {!jspb.BinaryWriter} writer
8160
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8161
+ */
8162
+ proto.api_container_api.StartosisValidationError.serializeBinaryToWriter = function(message, writer) {
8163
+ var f = undefined;
8164
+ f = message.getError();
8165
+ if (f.length > 0) {
8166
+ writer.writeString(
8167
+ 1,
8168
+ f
8169
+ );
8170
+ }
8171
+ };
8172
+
8173
+
8174
+ /**
8175
+ * optional string error = 1;
8176
+ * @return {string}
8177
+ */
8178
+ proto.api_container_api.StartosisValidationError.prototype.getError = function() {
8179
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
8180
+ };
8181
+
8182
+
8183
+ /**
8184
+ * @param {string} value
8185
+ * @return {!proto.api_container_api.StartosisValidationError} returns this
8186
+ */
8187
+ proto.api_container_api.StartosisValidationError.prototype.setError = function(value) {
8188
+ return jspb.Message.setProto3StringField(this, 1, value);
8189
+ };
8190
+
8191
+
8010
8192
  goog.object.extend(exports, proto.api_container_api);
@@ -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.50.0";
7
+ exports.KURTOSIS_VERSION = "0.50.2";
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.50.0",
4
+ "version": "0.50.2",
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",