@flyteorg/flyteidl 0.24.6 → 0.24.7

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.
@@ -6783,6 +6783,12 @@ export namespace flyteidl {
6783
6783
 
6784
6784
  /** ExternalResourceInfo phase */
6785
6785
  phase?: (flyteidl.core.TaskExecution.Phase|null);
6786
+
6787
+ /** ExternalResourceInfo cacheStatus */
6788
+ cacheStatus?: (flyteidl.core.CatalogCacheStatus|null);
6789
+
6790
+ /** ExternalResourceInfo logs */
6791
+ logs?: (flyteidl.core.ITaskLog[]|null);
6786
6792
  }
6787
6793
 
6788
6794
  /** Represents an ExternalResourceInfo. */
@@ -6806,6 +6812,12 @@ export namespace flyteidl {
6806
6812
  /** ExternalResourceInfo phase. */
6807
6813
  public phase: flyteidl.core.TaskExecution.Phase;
6808
6814
 
6815
+ /** ExternalResourceInfo cacheStatus. */
6816
+ public cacheStatus: flyteidl.core.CatalogCacheStatus;
6817
+
6818
+ /** ExternalResourceInfo logs. */
6819
+ public logs: flyteidl.core.ITaskLog[];
6820
+
6809
6821
  /**
6810
6822
  * Creates a new ExternalResourceInfo instance using the specified properties.
6811
6823
  * @param [properties] Properties to set
@@ -16377,6 +16377,8 @@ export const flyteidl = $root.flyteidl = (() => {
16377
16377
  * @property {number|null} [index] ExternalResourceInfo index
16378
16378
  * @property {number|null} [retryAttempt] ExternalResourceInfo retryAttempt
16379
16379
  * @property {flyteidl.core.TaskExecution.Phase|null} [phase] ExternalResourceInfo phase
16380
+ * @property {flyteidl.core.CatalogCacheStatus|null} [cacheStatus] ExternalResourceInfo cacheStatus
16381
+ * @property {Array.<flyteidl.core.ITaskLog>|null} [logs] ExternalResourceInfo logs
16380
16382
  */
16381
16383
 
16382
16384
  /**
@@ -16388,6 +16390,7 @@ export const flyteidl = $root.flyteidl = (() => {
16388
16390
  * @param {flyteidl.event.IExternalResourceInfo=} [properties] Properties to set
16389
16391
  */
16390
16392
  function ExternalResourceInfo(properties) {
16393
+ this.logs = [];
16391
16394
  if (properties)
16392
16395
  for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
16393
16396
  if (properties[keys[i]] != null)
@@ -16426,6 +16429,22 @@ export const flyteidl = $root.flyteidl = (() => {
16426
16429
  */
16427
16430
  ExternalResourceInfo.prototype.phase = 0;
16428
16431
 
16432
+ /**
16433
+ * ExternalResourceInfo cacheStatus.
16434
+ * @member {flyteidl.core.CatalogCacheStatus} cacheStatus
16435
+ * @memberof flyteidl.event.ExternalResourceInfo
16436
+ * @instance
16437
+ */
16438
+ ExternalResourceInfo.prototype.cacheStatus = 0;
16439
+
16440
+ /**
16441
+ * ExternalResourceInfo logs.
16442
+ * @member {Array.<flyteidl.core.ITaskLog>} logs
16443
+ * @memberof flyteidl.event.ExternalResourceInfo
16444
+ * @instance
16445
+ */
16446
+ ExternalResourceInfo.prototype.logs = $util.emptyArray;
16447
+
16429
16448
  /**
16430
16449
  * Creates a new ExternalResourceInfo instance using the specified properties.
16431
16450
  * @function create
@@ -16458,6 +16477,11 @@ export const flyteidl = $root.flyteidl = (() => {
16458
16477
  writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.retryAttempt);
16459
16478
  if (message.phase != null && message.hasOwnProperty("phase"))
16460
16479
  writer.uint32(/* id 4, wireType 0 =*/32).int32(message.phase);
16480
+ if (message.cacheStatus != null && message.hasOwnProperty("cacheStatus"))
16481
+ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.cacheStatus);
16482
+ if (message.logs != null && message.logs.length)
16483
+ for (let i = 0; i < message.logs.length; ++i)
16484
+ $root.flyteidl.core.TaskLog.encode(message.logs[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
16461
16485
  return writer;
16462
16486
  };
16463
16487
 
@@ -16491,6 +16515,14 @@ export const flyteidl = $root.flyteidl = (() => {
16491
16515
  case 4:
16492
16516
  message.phase = reader.int32();
16493
16517
  break;
16518
+ case 5:
16519
+ message.cacheStatus = reader.int32();
16520
+ break;
16521
+ case 6:
16522
+ if (!(message.logs && message.logs.length))
16523
+ message.logs = [];
16524
+ message.logs.push($root.flyteidl.core.TaskLog.decode(reader, reader.uint32()));
16525
+ break;
16494
16526
  default:
16495
16527
  reader.skipType(tag & 7);
16496
16528
  break;
@@ -16533,6 +16565,27 @@ export const flyteidl = $root.flyteidl = (() => {
16533
16565
  case 7:
16534
16566
  break;
16535
16567
  }
16568
+ if (message.cacheStatus != null && message.hasOwnProperty("cacheStatus"))
16569
+ switch (message.cacheStatus) {
16570
+ default:
16571
+ return "cacheStatus: enum value expected";
16572
+ case 0:
16573
+ case 1:
16574
+ case 2:
16575
+ case 3:
16576
+ case 4:
16577
+ case 5:
16578
+ break;
16579
+ }
16580
+ if (message.logs != null && message.hasOwnProperty("logs")) {
16581
+ if (!Array.isArray(message.logs))
16582
+ return "logs: array expected";
16583
+ for (let i = 0; i < message.logs.length; ++i) {
16584
+ let error = $root.flyteidl.core.TaskLog.verify(message.logs[i]);
16585
+ if (error)
16586
+ return "logs." + error;
16587
+ }
16588
+ }
16536
16589
  return null;
16537
16590
  };
16538
16591
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "0.24.6",
3
+ "version": "0.24.7",
4
4
  "description": "Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs",
5
5
  "repository": {
6
6
  "type": "git",