kurtosis-sdk 0.82.9 → 0.82.12

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.
@@ -7,7 +7,7 @@
7
7
  // Code generated by protoc-gen-grpc-web. DO NOT EDIT.
8
8
  // versions:
9
9
  // protoc-gen-grpc-web v1.4.2
10
- // protoc v3.19.1
10
+ // protoc v3.15.6
11
11
  // source: api_container_service.proto
12
12
 
13
13
 
@@ -13,13 +13,7 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global = Function('return this')();
23
17
 
24
18
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
25
19
  goog.object.extend(proto, google_protobuf_empty_pb);
@@ -6,6 +6,21 @@
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
7
7
  import { Message, proto3 } from "@bufbuild/protobuf";
8
8
 
9
+ /**
10
+ * @generated from enum engine_api.EnclaveMode
11
+ */
12
+ export declare enum EnclaveMode {
13
+ /**
14
+ * @generated from enum value: TEST = 0;
15
+ */
16
+ TEST = 0,
17
+
18
+ /**
19
+ * @generated from enum value: PRODUCTION = 1;
20
+ */
21
+ PRODUCTION = 1,
22
+ }
23
+
9
24
  /**
10
25
  * ==============================================================================================
11
26
  * Get Enclaves
@@ -157,6 +172,11 @@ export declare class CreateEnclaveArgs extends Message<CreateEnclaveArgs> {
157
172
  */
158
173
  apiContainerLogLevel: string;
159
174
 
175
+ /**
176
+ * @generated from field: engine_api.EnclaveMode mode = 4;
177
+ */
178
+ mode: EnclaveMode;
179
+
160
180
  constructor(data?: PartialMessage<CreateEnclaveArgs>);
161
181
 
162
182
  static readonly runtime: typeof proto3;
@@ -5,6 +5,17 @@
5
5
 
6
6
  import { proto3, Timestamp } from "@bufbuild/protobuf";
7
7
 
8
+ /**
9
+ * @generated from enum engine_api.EnclaveMode
10
+ */
11
+ export const EnclaveMode = proto3.makeEnum(
12
+ "engine_api.EnclaveMode",
13
+ [
14
+ {no: 0, name: "TEST"},
15
+ {no: 1, name: "PRODUCTION"},
16
+ ],
17
+ );
18
+
8
19
  /**
9
20
  * ==============================================================================================
10
21
  * Get Enclaves
@@ -80,6 +91,7 @@ export const CreateEnclaveArgs = proto3.makeMessageType(
80
91
  { no: 1, name: "enclave_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
81
92
  { no: 2, name: "api_container_version_tag", kind: "scalar", T: 9 /* ScalarType.STRING */ },
82
93
  { no: 3, name: "api_container_log_level", kind: "scalar", T: 9 /* ScalarType.STRING */ },
94
+ { no: 4, name: "mode", kind: "enum", T: proto3.getEnumType(EnclaveMode) },
83
95
  ],
84
96
  );
85
97
 
@@ -7,7 +7,7 @@
7
7
  // Code generated by protoc-gen-grpc-web. DO NOT EDIT.
8
8
  // versions:
9
9
  // protoc-gen-grpc-web v1.4.2
10
- // protoc v3.19.1
10
+ // protoc v3.15.6
11
11
  // source: engine_service.proto
12
12
 
13
13
 
@@ -32,6 +32,9 @@ export class CreateEnclaveArgs extends jspb.Message {
32
32
  getApiContainerLogLevel(): string;
33
33
  setApiContainerLogLevel(value: string): CreateEnclaveArgs;
34
34
 
35
+ getMode(): EnclaveMode;
36
+ setMode(value: EnclaveMode): CreateEnclaveArgs;
37
+
35
38
  serializeBinary(): Uint8Array;
36
39
  toObject(includeInstance?: boolean): CreateEnclaveArgs.AsObject;
37
40
  static toObject(includeInstance: boolean, msg: CreateEnclaveArgs): CreateEnclaveArgs.AsObject;
@@ -45,6 +48,7 @@ export namespace CreateEnclaveArgs {
45
48
  enclaveName: string,
46
49
  apiContainerVersionTag: string,
47
50
  apiContainerLogLevel: string,
51
+ mode: EnclaveMode,
48
52
  }
49
53
  }
50
54
 
@@ -428,6 +432,10 @@ export namespace LogLineFilter {
428
432
  }
429
433
  }
430
434
 
435
+ export enum EnclaveMode {
436
+ TEST = 0,
437
+ PRODUCTION = 1,
438
+ }
431
439
  export enum EnclaveContainersStatus {
432
440
  ENCLAVECONTAINERSSTATUS_EMPTY = 0,
433
441
  ENCLAVECONTAINERSSTATUS_RUNNING = 1,
@@ -13,13 +13,7 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global = Function('return this')();
23
17
 
24
18
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
25
19
  goog.object.extend(proto, google_protobuf_empty_pb);
@@ -36,6 +30,7 @@ goog.exportSymbol('proto.engine_api.EnclaveAPIContainerStatus', null, global);
36
30
  goog.exportSymbol('proto.engine_api.EnclaveContainersStatus', null, global);
37
31
  goog.exportSymbol('proto.engine_api.EnclaveIdentifiers', null, global);
38
32
  goog.exportSymbol('proto.engine_api.EnclaveInfo', null, global);
33
+ goog.exportSymbol('proto.engine_api.EnclaveMode', null, global);
39
34
  goog.exportSymbol('proto.engine_api.EnclaveNameAndUuid', null, global);
40
35
  goog.exportSymbol('proto.engine_api.GetEnclavesResponse', null, global);
41
36
  goog.exportSymbol('proto.engine_api.GetEngineInfoResponse', null, global);
@@ -588,7 +583,8 @@ proto.engine_api.CreateEnclaveArgs.toObject = function(includeInstance, msg) {
588
583
  var f, obj = {
589
584
  enclaveName: jspb.Message.getFieldWithDefault(msg, 1, ""),
590
585
  apiContainerVersionTag: jspb.Message.getFieldWithDefault(msg, 2, ""),
591
- apiContainerLogLevel: jspb.Message.getFieldWithDefault(msg, 3, "")
586
+ apiContainerLogLevel: jspb.Message.getFieldWithDefault(msg, 3, ""),
587
+ mode: jspb.Message.getFieldWithDefault(msg, 4, 0)
592
588
  };
593
589
 
594
590
  if (includeInstance) {
@@ -637,6 +633,10 @@ proto.engine_api.CreateEnclaveArgs.deserializeBinaryFromReader = function(msg, r
637
633
  var value = /** @type {string} */ (reader.readString());
638
634
  msg.setApiContainerLogLevel(value);
639
635
  break;
636
+ case 4:
637
+ var value = /** @type {!proto.engine_api.EnclaveMode} */ (reader.readEnum());
638
+ msg.setMode(value);
639
+ break;
640
640
  default:
641
641
  reader.skipField();
642
642
  break;
@@ -687,6 +687,13 @@ proto.engine_api.CreateEnclaveArgs.serializeBinaryToWriter = function(message, w
687
687
  f
688
688
  );
689
689
  }
690
+ f = message.getMode();
691
+ if (f !== 0.0) {
692
+ writer.writeEnum(
693
+ 4,
694
+ f
695
+ );
696
+ }
690
697
  };
691
698
 
692
699
 
@@ -744,6 +751,24 @@ proto.engine_api.CreateEnclaveArgs.prototype.setApiContainerLogLevel = function(
744
751
  };
745
752
 
746
753
 
754
+ /**
755
+ * optional EnclaveMode mode = 4;
756
+ * @return {!proto.engine_api.EnclaveMode}
757
+ */
758
+ proto.engine_api.CreateEnclaveArgs.prototype.getMode = function() {
759
+ return /** @type {!proto.engine_api.EnclaveMode} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
760
+ };
761
+
762
+
763
+ /**
764
+ * @param {!proto.engine_api.EnclaveMode} value
765
+ * @return {!proto.engine_api.CreateEnclaveArgs} returns this
766
+ */
767
+ proto.engine_api.CreateEnclaveArgs.prototype.setMode = function(value) {
768
+ return jspb.Message.setProto3EnumField(this, 4, value);
769
+ };
770
+
771
+
747
772
 
748
773
 
749
774
 
@@ -3606,6 +3631,14 @@ proto.engine_api.LogLineFilter.prototype.setTextPattern = function(value) {
3606
3631
  };
3607
3632
 
3608
3633
 
3634
+ /**
3635
+ * @enum {number}
3636
+ */
3637
+ proto.engine_api.EnclaveMode = {
3638
+ TEST: 0,
3639
+ PRODUCTION: 1
3640
+ };
3641
+
3609
3642
  /**
3610
3643
  * @enum {number}
3611
3644
  */
@@ -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.82.9";
7
+ exports.KURTOSIS_VERSION = "0.82.12";
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.82.9",
4
+ "version": "0.82.12",
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",