@flyteorg/flyteidl 0.24.4 → 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
@@ -11802,6 +11814,18 @@ export namespace flyteidl {
11802
11814
 
11803
11815
  /** WorkflowExecutionConfig maxParallelism */
11804
11816
  maxParallelism?: (number|null);
11817
+
11818
+ /** WorkflowExecutionConfig securityContext */
11819
+ securityContext?: (flyteidl.core.ISecurityContext|null);
11820
+
11821
+ /** WorkflowExecutionConfig rawOutputDataConfig */
11822
+ rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null);
11823
+
11824
+ /** WorkflowExecutionConfig labels */
11825
+ labels?: (flyteidl.admin.ILabels|null);
11826
+
11827
+ /** WorkflowExecutionConfig annotations */
11828
+ annotations?: (flyteidl.admin.IAnnotations|null);
11805
11829
  }
11806
11830
 
11807
11831
  /** Represents a WorkflowExecutionConfig. */
@@ -11816,6 +11840,18 @@ export namespace flyteidl {
11816
11840
  /** WorkflowExecutionConfig maxParallelism. */
11817
11841
  public maxParallelism: number;
11818
11842
 
11843
+ /** WorkflowExecutionConfig securityContext. */
11844
+ public securityContext?: (flyteidl.core.ISecurityContext|null);
11845
+
11846
+ /** WorkflowExecutionConfig rawOutputDataConfig. */
11847
+ public rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null);
11848
+
11849
+ /** WorkflowExecutionConfig labels. */
11850
+ public labels?: (flyteidl.admin.ILabels|null);
11851
+
11852
+ /** WorkflowExecutionConfig annotations. */
11853
+ public annotations?: (flyteidl.admin.IAnnotations|null);
11854
+
11819
11855
  /**
11820
11856
  * Creates a new WorkflowExecutionConfig instance using the specified properties.
11821
11857
  * @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
 
@@ -28184,6 +28237,10 @@ export const flyteidl = $root.flyteidl = (() => {
28184
28237
  * @memberof flyteidl.admin
28185
28238
  * @interface IWorkflowExecutionConfig
28186
28239
  * @property {number|null} [maxParallelism] WorkflowExecutionConfig maxParallelism
28240
+ * @property {flyteidl.core.ISecurityContext|null} [securityContext] WorkflowExecutionConfig securityContext
28241
+ * @property {flyteidl.admin.IRawOutputDataConfig|null} [rawOutputDataConfig] WorkflowExecutionConfig rawOutputDataConfig
28242
+ * @property {flyteidl.admin.ILabels|null} [labels] WorkflowExecutionConfig labels
28243
+ * @property {flyteidl.admin.IAnnotations|null} [annotations] WorkflowExecutionConfig annotations
28187
28244
  */
28188
28245
 
28189
28246
  /**
@@ -28209,6 +28266,38 @@ export const flyteidl = $root.flyteidl = (() => {
28209
28266
  */
28210
28267
  WorkflowExecutionConfig.prototype.maxParallelism = 0;
28211
28268
 
28269
+ /**
28270
+ * WorkflowExecutionConfig securityContext.
28271
+ * @member {flyteidl.core.ISecurityContext|null|undefined} securityContext
28272
+ * @memberof flyteidl.admin.WorkflowExecutionConfig
28273
+ * @instance
28274
+ */
28275
+ WorkflowExecutionConfig.prototype.securityContext = null;
28276
+
28277
+ /**
28278
+ * WorkflowExecutionConfig rawOutputDataConfig.
28279
+ * @member {flyteidl.admin.IRawOutputDataConfig|null|undefined} rawOutputDataConfig
28280
+ * @memberof flyteidl.admin.WorkflowExecutionConfig
28281
+ * @instance
28282
+ */
28283
+ WorkflowExecutionConfig.prototype.rawOutputDataConfig = null;
28284
+
28285
+ /**
28286
+ * WorkflowExecutionConfig labels.
28287
+ * @member {flyteidl.admin.ILabels|null|undefined} labels
28288
+ * @memberof flyteidl.admin.WorkflowExecutionConfig
28289
+ * @instance
28290
+ */
28291
+ WorkflowExecutionConfig.prototype.labels = null;
28292
+
28293
+ /**
28294
+ * WorkflowExecutionConfig annotations.
28295
+ * @member {flyteidl.admin.IAnnotations|null|undefined} annotations
28296
+ * @memberof flyteidl.admin.WorkflowExecutionConfig
28297
+ * @instance
28298
+ */
28299
+ WorkflowExecutionConfig.prototype.annotations = null;
28300
+
28212
28301
  /**
28213
28302
  * Creates a new WorkflowExecutionConfig instance using the specified properties.
28214
28303
  * @function create
@@ -28235,6 +28324,14 @@ export const flyteidl = $root.flyteidl = (() => {
28235
28324
  writer = $Writer.create();
28236
28325
  if (message.maxParallelism != null && message.hasOwnProperty("maxParallelism"))
28237
28326
  writer.uint32(/* id 1, wireType 0 =*/8).int32(message.maxParallelism);
28327
+ if (message.securityContext != null && message.hasOwnProperty("securityContext"))
28328
+ $root.flyteidl.core.SecurityContext.encode(message.securityContext, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
28329
+ if (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig"))
28330
+ $root.flyteidl.admin.RawOutputDataConfig.encode(message.rawOutputDataConfig, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
28331
+ if (message.labels != null && message.hasOwnProperty("labels"))
28332
+ $root.flyteidl.admin.Labels.encode(message.labels, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
28333
+ if (message.annotations != null && message.hasOwnProperty("annotations"))
28334
+ $root.flyteidl.admin.Annotations.encode(message.annotations, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
28238
28335
  return writer;
28239
28336
  };
28240
28337
 
@@ -28259,6 +28356,18 @@ export const flyteidl = $root.flyteidl = (() => {
28259
28356
  case 1:
28260
28357
  message.maxParallelism = reader.int32();
28261
28358
  break;
28359
+ case 2:
28360
+ message.securityContext = $root.flyteidl.core.SecurityContext.decode(reader, reader.uint32());
28361
+ break;
28362
+ case 3:
28363
+ message.rawOutputDataConfig = $root.flyteidl.admin.RawOutputDataConfig.decode(reader, reader.uint32());
28364
+ break;
28365
+ case 4:
28366
+ message.labels = $root.flyteidl.admin.Labels.decode(reader, reader.uint32());
28367
+ break;
28368
+ case 5:
28369
+ message.annotations = $root.flyteidl.admin.Annotations.decode(reader, reader.uint32());
28370
+ break;
28262
28371
  default:
28263
28372
  reader.skipType(tag & 7);
28264
28373
  break;
@@ -28281,6 +28390,26 @@ export const flyteidl = $root.flyteidl = (() => {
28281
28390
  if (message.maxParallelism != null && message.hasOwnProperty("maxParallelism"))
28282
28391
  if (!$util.isInteger(message.maxParallelism))
28283
28392
  return "maxParallelism: integer expected";
28393
+ if (message.securityContext != null && message.hasOwnProperty("securityContext")) {
28394
+ let error = $root.flyteidl.core.SecurityContext.verify(message.securityContext);
28395
+ if (error)
28396
+ return "securityContext." + error;
28397
+ }
28398
+ if (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig")) {
28399
+ let error = $root.flyteidl.admin.RawOutputDataConfig.verify(message.rawOutputDataConfig);
28400
+ if (error)
28401
+ return "rawOutputDataConfig." + error;
28402
+ }
28403
+ if (message.labels != null && message.hasOwnProperty("labels")) {
28404
+ let error = $root.flyteidl.admin.Labels.verify(message.labels);
28405
+ if (error)
28406
+ return "labels." + error;
28407
+ }
28408
+ if (message.annotations != null && message.hasOwnProperty("annotations")) {
28409
+ let error = $root.flyteidl.admin.Annotations.verify(message.annotations);
28410
+ if (error)
28411
+ return "annotations." + error;
28412
+ }
28284
28413
  return null;
28285
28414
  };
28286
28415
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "0.24.4",
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",