@flyteorg/flyteidl 0.24.15 → 0.24.18

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.
@@ -6692,6 +6692,9 @@ export namespace flyteidl {
6692
6692
 
6693
6693
  /** TaskExecutionEvent metadata */
6694
6694
  metadata?: (flyteidl.event.ITaskExecutionMetadata|null);
6695
+
6696
+ /** TaskExecutionEvent eventVersion */
6697
+ eventVersion?: (number|null);
6695
6698
  }
6696
6699
 
6697
6700
  /** Represents a TaskExecutionEvent. */
@@ -6751,6 +6754,9 @@ export namespace flyteidl {
6751
6754
  /** TaskExecutionEvent metadata. */
6752
6755
  public metadata?: (flyteidl.event.ITaskExecutionMetadata|null);
6753
6756
 
6757
+ /** TaskExecutionEvent eventVersion. */
6758
+ public eventVersion: number;
6759
+
6754
6760
  /** TaskExecutionEvent outputResult. */
6755
6761
  public outputResult?: ("outputUri"|"error"|"outputData");
6756
6762
 
@@ -14561,6 +14567,9 @@ export namespace flyteidl {
14561
14567
 
14562
14568
  /** TaskExecutionClosure metadata */
14563
14569
  metadata?: (flyteidl.event.ITaskExecutionMetadata|null);
14570
+
14571
+ /** TaskExecutionClosure eventVersion */
14572
+ eventVersion?: (number|null);
14564
14573
  }
14565
14574
 
14566
14575
  /** Represents a TaskExecutionClosure. */
@@ -14611,6 +14620,9 @@ export namespace flyteidl {
14611
14620
  /** TaskExecutionClosure metadata. */
14612
14621
  public metadata?: (flyteidl.event.ITaskExecutionMetadata|null);
14613
14622
 
14623
+ /** TaskExecutionClosure eventVersion. */
14624
+ public eventVersion: number;
14625
+
14614
14626
  /** TaskExecutionClosure outputResult. */
14615
14627
  public outputResult?: ("outputUri"|"error"|"outputData");
14616
14628
 
@@ -16894,6 +16906,9 @@ export namespace flyteidl {
16894
16906
 
16895
16907
  /** PublicClientAuthConfigResponse authorizationMetadataKey */
16896
16908
  authorizationMetadataKey?: (string|null);
16909
+
16910
+ /** PublicClientAuthConfigResponse serviceHttpEndpoint */
16911
+ serviceHttpEndpoint?: (string|null);
16897
16912
  }
16898
16913
 
16899
16914
  /** Represents a PublicClientAuthConfigResponse. */
@@ -16917,6 +16932,9 @@ export namespace flyteidl {
16917
16932
  /** PublicClientAuthConfigResponse authorizationMetadataKey. */
16918
16933
  public authorizationMetadataKey: string;
16919
16934
 
16935
+ /** PublicClientAuthConfigResponse serviceHttpEndpoint. */
16936
+ public serviceHttpEndpoint: string;
16937
+
16920
16938
  /**
16921
16939
  * Creates a new PublicClientAuthConfigResponse instance using the specified properties.
16922
16940
  * @param [properties] Properties to set
@@ -16013,6 +16013,7 @@ export const flyteidl = $root.flyteidl = (() => {
16013
16013
  * @property {string|null} [reason] TaskExecutionEvent reason
16014
16014
  * @property {string|null} [taskType] TaskExecutionEvent taskType
16015
16015
  * @property {flyteidl.event.ITaskExecutionMetadata|null} [metadata] TaskExecutionEvent metadata
16016
+ * @property {number|null} [eventVersion] TaskExecutionEvent eventVersion
16016
16017
  */
16017
16018
 
16018
16019
  /**
@@ -16159,6 +16160,14 @@ export const flyteidl = $root.flyteidl = (() => {
16159
16160
  */
16160
16161
  TaskExecutionEvent.prototype.metadata = null;
16161
16162
 
16163
+ /**
16164
+ * TaskExecutionEvent eventVersion.
16165
+ * @member {number} eventVersion
16166
+ * @memberof flyteidl.event.TaskExecutionEvent
16167
+ * @instance
16168
+ */
16169
+ TaskExecutionEvent.prototype.eventVersion = 0;
16170
+
16162
16171
  // OneOf field names bound to virtual getters and setters
16163
16172
  let $oneOfFields;
16164
16173
 
@@ -16230,6 +16239,8 @@ export const flyteidl = $root.flyteidl = (() => {
16230
16239
  $root.flyteidl.event.TaskExecutionMetadata.encode(message.metadata, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
16231
16240
  if (message.outputData != null && message.hasOwnProperty("outputData"))
16232
16241
  $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
16242
+ if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
16243
+ writer.uint32(/* id 18, wireType 0 =*/144).int32(message.eventVersion);
16233
16244
  return writer;
16234
16245
  };
16235
16246
 
@@ -16301,6 +16312,9 @@ export const flyteidl = $root.flyteidl = (() => {
16301
16312
  case 16:
16302
16313
  message.metadata = $root.flyteidl.event.TaskExecutionMetadata.decode(reader, reader.uint32());
16303
16314
  break;
16315
+ case 18:
16316
+ message.eventVersion = reader.int32();
16317
+ break;
16304
16318
  default:
16305
16319
  reader.skipType(tag & 7);
16306
16320
  break;
@@ -16412,6 +16426,9 @@ export const flyteidl = $root.flyteidl = (() => {
16412
16426
  if (error)
16413
16427
  return "metadata." + error;
16414
16428
  }
16429
+ if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
16430
+ if (!$util.isInteger(message.eventVersion))
16431
+ return "eventVersion: integer expected";
16415
16432
  return null;
16416
16433
  };
16417
16434
 
@@ -34642,6 +34659,7 @@ export const flyteidl = $root.flyteidl = (() => {
34642
34659
  * @property {string|null} [reason] TaskExecutionClosure reason
34643
34660
  * @property {string|null} [taskType] TaskExecutionClosure taskType
34644
34661
  * @property {flyteidl.event.ITaskExecutionMetadata|null} [metadata] TaskExecutionClosure metadata
34662
+ * @property {number|null} [eventVersion] TaskExecutionClosure eventVersion
34645
34663
  */
34646
34664
 
34647
34665
  /**
@@ -34764,6 +34782,14 @@ export const flyteidl = $root.flyteidl = (() => {
34764
34782
  */
34765
34783
  TaskExecutionClosure.prototype.metadata = null;
34766
34784
 
34785
+ /**
34786
+ * TaskExecutionClosure eventVersion.
34787
+ * @member {number} eventVersion
34788
+ * @memberof flyteidl.admin.TaskExecutionClosure
34789
+ * @instance
34790
+ */
34791
+ TaskExecutionClosure.prototype.eventVersion = 0;
34792
+
34767
34793
  // OneOf field names bound to virtual getters and setters
34768
34794
  let $oneOfFields;
34769
34795
 
@@ -34829,6 +34855,8 @@ export const flyteidl = $root.flyteidl = (() => {
34829
34855
  $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
34830
34856
  if (message.metadata != null && message.hasOwnProperty("metadata"))
34831
34857
  $root.flyteidl.event.TaskExecutionMetadata.encode(message.metadata, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
34858
+ if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
34859
+ writer.uint32(/* id 17, wireType 0 =*/136).int32(message.eventVersion);
34832
34860
  return writer;
34833
34861
  };
34834
34862
 
@@ -34891,6 +34919,9 @@ export const flyteidl = $root.flyteidl = (() => {
34891
34919
  case 16:
34892
34920
  message.metadata = $root.flyteidl.event.TaskExecutionMetadata.decode(reader, reader.uint32());
34893
34921
  break;
34922
+ case 17:
34923
+ message.eventVersion = reader.int32();
34924
+ break;
34894
34925
  default:
34895
34926
  reader.skipType(tag & 7);
34896
34927
  break;
@@ -34995,6 +35026,9 @@ export const flyteidl = $root.flyteidl = (() => {
34995
35026
  if (error)
34996
35027
  return "metadata." + error;
34997
35028
  }
35029
+ if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
35030
+ if (!$util.isInteger(message.eventVersion))
35031
+ return "eventVersion: integer expected";
34998
35032
  return null;
34999
35033
  };
35000
35034
 
@@ -39390,6 +39424,7 @@ export const flyteidl = $root.flyteidl = (() => {
39390
39424
  * @property {string|null} [redirectUri] PublicClientAuthConfigResponse redirectUri
39391
39425
  * @property {Array.<string>|null} [scopes] PublicClientAuthConfigResponse scopes
39392
39426
  * @property {string|null} [authorizationMetadataKey] PublicClientAuthConfigResponse authorizationMetadataKey
39427
+ * @property {string|null} [serviceHttpEndpoint] PublicClientAuthConfigResponse serviceHttpEndpoint
39393
39428
  */
39394
39429
 
39395
39430
  /**
@@ -39440,6 +39475,14 @@ export const flyteidl = $root.flyteidl = (() => {
39440
39475
  */
39441
39476
  PublicClientAuthConfigResponse.prototype.authorizationMetadataKey = "";
39442
39477
 
39478
+ /**
39479
+ * PublicClientAuthConfigResponse serviceHttpEndpoint.
39480
+ * @member {string} serviceHttpEndpoint
39481
+ * @memberof flyteidl.service.PublicClientAuthConfigResponse
39482
+ * @instance
39483
+ */
39484
+ PublicClientAuthConfigResponse.prototype.serviceHttpEndpoint = "";
39485
+
39443
39486
  /**
39444
39487
  * Creates a new PublicClientAuthConfigResponse instance using the specified properties.
39445
39488
  * @function create
@@ -39473,6 +39516,8 @@ export const flyteidl = $root.flyteidl = (() => {
39473
39516
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.scopes[i]);
39474
39517
  if (message.authorizationMetadataKey != null && message.hasOwnProperty("authorizationMetadataKey"))
39475
39518
  writer.uint32(/* id 4, wireType 2 =*/34).string(message.authorizationMetadataKey);
39519
+ if (message.serviceHttpEndpoint != null && message.hasOwnProperty("serviceHttpEndpoint"))
39520
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.serviceHttpEndpoint);
39476
39521
  return writer;
39477
39522
  };
39478
39523
 
@@ -39508,6 +39553,9 @@ export const flyteidl = $root.flyteidl = (() => {
39508
39553
  case 4:
39509
39554
  message.authorizationMetadataKey = reader.string();
39510
39555
  break;
39556
+ case 5:
39557
+ message.serviceHttpEndpoint = reader.string();
39558
+ break;
39511
39559
  default:
39512
39560
  reader.skipType(tag & 7);
39513
39561
  break;
@@ -39543,6 +39591,9 @@ export const flyteidl = $root.flyteidl = (() => {
39543
39591
  if (message.authorizationMetadataKey != null && message.hasOwnProperty("authorizationMetadataKey"))
39544
39592
  if (!$util.isString(message.authorizationMetadataKey))
39545
39593
  return "authorizationMetadataKey: string expected";
39594
+ if (message.serviceHttpEndpoint != null && message.hasOwnProperty("serviceHttpEndpoint"))
39595
+ if (!$util.isString(message.serviceHttpEndpoint))
39596
+ return "serviceHttpEndpoint: string expected";
39546
39597
  return null;
39547
39598
  };
39548
39599
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "0.24.15",
3
+ "version": "0.24.18",
4
4
  "description": "Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -117,6 +117,12 @@ message TaskExecutionClosure {
117
117
 
118
118
  // Metadata around how a task was executed.
119
119
  event.TaskExecutionMetadata metadata = 16;
120
+
121
+ // The event version is used to indicate versioned changes in how data is maintained using this
122
+ // proto message. For example, event_verison > 0 means that maps tasks logs use the
123
+ // TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog
124
+ // in this message.
125
+ int32 event_version = 17;
120
126
  }
121
127
 
122
128
  // Request structure to fetch inputs and output for a task execution.
@@ -194,6 +194,12 @@ message TaskExecutionEvent {
194
194
 
195
195
  // Metadata around how a task was executed.
196
196
  TaskExecutionMetadata metadata = 16;
197
+
198
+ // The event version is used to indicate versioned changes in how data is reported using this
199
+ // proto message. For example, event_verison > 0 means that maps tasks report logs using the
200
+ // TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog
201
+ // in this message.
202
+ int32 event_version = 18;
197
203
  }
198
204
 
199
205
  // This message contains metadata about external resources produced or used by a specific task execution.
@@ -56,6 +56,10 @@ message PublicClientAuthConfigResponse {
56
56
  // Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the
57
57
  // default http `Authorization` header.
58
58
  string authorization_metadata_key = 4;
59
+ // ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used
60
+ // to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between
61
+ // SSL or no SSL connections.
62
+ string service_http_endpoint = 5;
59
63
  }
60
64
 
61
65
  // The following defines an RPC service that is also served over HTTP via grpc-gateway.