kurtosis-sdk 0.78.0 → 0.78.1

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.
@@ -121,6 +121,12 @@ export class ServiceConfig extends jspb.Message {
121
121
  hasSubnetwork(): boolean;
122
122
  clearSubnetwork(): ServiceConfig;
123
123
 
124
+ getMinCpuMilliCores(): number;
125
+ setMinCpuMilliCores(value: number): ServiceConfig;
126
+
127
+ getMinMemoryMegabytes(): number;
128
+ setMinMemoryMegabytes(value: number): ServiceConfig;
129
+
124
130
  serializeBinary(): Uint8Array;
125
131
  toObject(includeInstance?: boolean): ServiceConfig.AsObject;
126
132
  static toObject(includeInstance: boolean, msg: ServiceConfig): ServiceConfig.AsObject;
@@ -142,6 +148,8 @@ export namespace ServiceConfig {
142
148
  memoryAllocationMegabytes: number,
143
149
  privateIpAddrPlaceholder: string,
144
150
  subnetwork?: string,
151
+ minCpuMilliCores: number,
152
+ minMemoryMegabytes: number,
145
153
  }
146
154
 
147
155
  export enum SubnetworkCase {
@@ -1743,7 +1743,9 @@ proto.api_container_api.ServiceConfig.toObject = function(includeInstance, msg)
1743
1743
  cpuAllocationMillicpus: jspb.Message.getFieldWithDefault(msg, 8, 0),
1744
1744
  memoryAllocationMegabytes: jspb.Message.getFieldWithDefault(msg, 9, 0),
1745
1745
  privateIpAddrPlaceholder: jspb.Message.getFieldWithDefault(msg, 10, ""),
1746
- subnetwork: jspb.Message.getFieldWithDefault(msg, 11, "")
1746
+ subnetwork: jspb.Message.getFieldWithDefault(msg, 11, ""),
1747
+ minCpuMilliCores: jspb.Message.getFieldWithDefault(msg, 12, 0),
1748
+ minMemoryMegabytes: jspb.Message.getFieldWithDefault(msg, 13, 0)
1747
1749
  };
1748
1750
 
1749
1751
  if (includeInstance) {
@@ -1832,6 +1834,14 @@ proto.api_container_api.ServiceConfig.deserializeBinaryFromReader = function(msg
1832
1834
  var value = /** @type {string} */ (reader.readString());
1833
1835
  msg.setSubnetwork(value);
1834
1836
  break;
1837
+ case 12:
1838
+ var value = /** @type {number} */ (reader.readUint64());
1839
+ msg.setMinCpuMilliCores(value);
1840
+ break;
1841
+ case 13:
1842
+ var value = /** @type {number} */ (reader.readUint64());
1843
+ msg.setMinMemoryMegabytes(value);
1844
+ break;
1835
1845
  default:
1836
1846
  reader.skipField();
1837
1847
  break;
@@ -1926,6 +1936,20 @@ proto.api_container_api.ServiceConfig.serializeBinaryToWriter = function(message
1926
1936
  f
1927
1937
  );
1928
1938
  }
1939
+ f = message.getMinCpuMilliCores();
1940
+ if (f !== 0) {
1941
+ writer.writeUint64(
1942
+ 12,
1943
+ f
1944
+ );
1945
+ }
1946
+ f = message.getMinMemoryMegabytes();
1947
+ if (f !== 0) {
1948
+ writer.writeUint64(
1949
+ 13,
1950
+ f
1951
+ );
1952
+ }
1929
1953
  };
1930
1954
 
1931
1955
 
@@ -2199,6 +2223,42 @@ proto.api_container_api.ServiceConfig.prototype.hasSubnetwork = function() {
2199
2223
  };
2200
2224
 
2201
2225
 
2226
+ /**
2227
+ * optional uint64 min_cpu_milli_cores = 12;
2228
+ * @return {number}
2229
+ */
2230
+ proto.api_container_api.ServiceConfig.prototype.getMinCpuMilliCores = function() {
2231
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
2232
+ };
2233
+
2234
+
2235
+ /**
2236
+ * @param {number} value
2237
+ * @return {!proto.api_container_api.ServiceConfig} returns this
2238
+ */
2239
+ proto.api_container_api.ServiceConfig.prototype.setMinCpuMilliCores = function(value) {
2240
+ return jspb.Message.setProto3IntField(this, 12, value);
2241
+ };
2242
+
2243
+
2244
+ /**
2245
+ * optional uint64 min_memory_megabytes = 13;
2246
+ * @return {number}
2247
+ */
2248
+ proto.api_container_api.ServiceConfig.prototype.getMinMemoryMegabytes = function() {
2249
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
2250
+ };
2251
+
2252
+
2253
+ /**
2254
+ * @param {number} value
2255
+ * @return {!proto.api_container_api.ServiceConfig} returns this
2256
+ */
2257
+ proto.api_container_api.ServiceConfig.prototype.setMinMemoryMegabytes = function(value) {
2258
+ return jspb.Message.setProto3IntField(this, 13, value);
2259
+ };
2260
+
2261
+
2202
2262
 
2203
2263
 
2204
2264
 
@@ -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.78.0";
7
+ exports.KURTOSIS_VERSION = "0.78.1";
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.78.0",
4
+ "version": "0.78.1",
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",