@flyteorg/flyteidl 0.21.5 → 0.21.6

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.
@@ -4436,6 +4436,9 @@ export namespace flyteidl {
4436
4436
 
4437
4437
  /** Container dataConfig */
4438
4438
  dataConfig?: (flyteidl.core.IDataLoadingConfig|null);
4439
+
4440
+ /** Container architecture */
4441
+ architecture?: (flyteidl.core.Container.Architecture|null);
4439
4442
  }
4440
4443
 
4441
4444
  /** Represents a Container. */
@@ -4471,6 +4474,9 @@ export namespace flyteidl {
4471
4474
  /** Container dataConfig. */
4472
4475
  public dataConfig?: (flyteidl.core.IDataLoadingConfig|null);
4473
4476
 
4477
+ /** Container architecture. */
4478
+ public architecture: flyteidl.core.Container.Architecture;
4479
+
4474
4480
  /**
4475
4481
  * Creates a new Container instance using the specified properties.
4476
4482
  * @param [properties] Properties to set
@@ -4504,6 +4510,18 @@ export namespace flyteidl {
4504
4510
  public static verify(message: { [k: string]: any }): (string|null);
4505
4511
  }
4506
4512
 
4513
+ namespace Container {
4514
+
4515
+ /** Architecture enum. */
4516
+ enum Architecture {
4517
+ UNKNOWN = 0,
4518
+ AMD64 = 1,
4519
+ ARM64 = 2,
4520
+ ARM_V6 = 3,
4521
+ ARM_V7 = 4
4522
+ }
4523
+ }
4524
+
4507
4525
  /** Properties of a IOStrategy. */
4508
4526
  interface IIOStrategy {
4509
4527
 
@@ -10577,6 +10577,7 @@ export const flyteidl = $root.flyteidl = (() => {
10577
10577
  * @property {Array.<flyteidl.core.IKeyValuePair>|null} [config] Container config
10578
10578
  * @property {Array.<flyteidl.core.IContainerPort>|null} [ports] Container ports
10579
10579
  * @property {flyteidl.core.IDataLoadingConfig|null} [dataConfig] Container dataConfig
10580
+ * @property {flyteidl.core.Container.Architecture|null} [architecture] Container architecture
10580
10581
  */
10581
10582
 
10582
10583
  /**
@@ -10663,6 +10664,14 @@ export const flyteidl = $root.flyteidl = (() => {
10663
10664
  */
10664
10665
  Container.prototype.dataConfig = null;
10665
10666
 
10667
+ /**
10668
+ * Container architecture.
10669
+ * @member {flyteidl.core.Container.Architecture} architecture
10670
+ * @memberof flyteidl.core.Container
10671
+ * @instance
10672
+ */
10673
+ Container.prototype.architecture = 0;
10674
+
10666
10675
  /**
10667
10676
  * Creates a new Container instance using the specified properties.
10668
10677
  * @function create
@@ -10708,6 +10717,8 @@ export const flyteidl = $root.flyteidl = (() => {
10708
10717
  $root.flyteidl.core.ContainerPort.encode(message.ports[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
10709
10718
  if (message.dataConfig != null && message.hasOwnProperty("dataConfig"))
10710
10719
  $root.flyteidl.core.DataLoadingConfig.encode(message.dataConfig, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
10720
+ if (message.architecture != null && message.hasOwnProperty("architecture"))
10721
+ writer.uint32(/* id 10, wireType 0 =*/80).int32(message.architecture);
10711
10722
  return writer;
10712
10723
  };
10713
10724
 
@@ -10763,6 +10774,9 @@ export const flyteidl = $root.flyteidl = (() => {
10763
10774
  case 9:
10764
10775
  message.dataConfig = $root.flyteidl.core.DataLoadingConfig.decode(reader, reader.uint32());
10765
10776
  break;
10777
+ case 10:
10778
+ message.architecture = reader.int32();
10779
+ break;
10766
10780
  default:
10767
10781
  reader.skipType(tag & 7);
10768
10782
  break;
@@ -10836,9 +10850,40 @@ export const flyteidl = $root.flyteidl = (() => {
10836
10850
  if (error)
10837
10851
  return "dataConfig." + error;
10838
10852
  }
10853
+ if (message.architecture != null && message.hasOwnProperty("architecture"))
10854
+ switch (message.architecture) {
10855
+ default:
10856
+ return "architecture: enum value expected";
10857
+ case 0:
10858
+ case 1:
10859
+ case 2:
10860
+ case 3:
10861
+ case 4:
10862
+ break;
10863
+ }
10839
10864
  return null;
10840
10865
  };
10841
10866
 
10867
+ /**
10868
+ * Architecture enum.
10869
+ * @name flyteidl.core.Container.Architecture
10870
+ * @enum {string}
10871
+ * @property {number} UNKNOWN=0 UNKNOWN value
10872
+ * @property {number} AMD64=1 AMD64 value
10873
+ * @property {number} ARM64=2 ARM64 value
10874
+ * @property {number} ARM_V6=3 ARM_V6 value
10875
+ * @property {number} ARM_V7=4 ARM_V7 value
10876
+ */
10877
+ Container.Architecture = (function() {
10878
+ const valuesById = {}, values = Object.create(valuesById);
10879
+ values[valuesById[0] = "UNKNOWN"] = 0;
10880
+ values[valuesById[1] = "AMD64"] = 1;
10881
+ values[valuesById[2] = "ARM64"] = 2;
10882
+ values[valuesById[3] = "ARM_V6"] = 3;
10883
+ values[valuesById[4] = "ARM_V7"] = 4;
10884
+ return values;
10885
+ })();
10886
+
10842
10887
  return Container;
10843
10888
  })();
10844
10889
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "0.21.5",
3
+ "version": "0.21.6",
4
4
  "description": "Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -182,6 +182,16 @@ message Container {
182
182
  // to understand the default paths.
183
183
  // Only K8s
184
184
  DataLoadingConfig data_config = 9;
185
+
186
+ // Architecture-type the container image supports.
187
+ enum Architecture {
188
+ UNKNOWN = 0;
189
+ AMD64 = 1;
190
+ ARM64 = 2;
191
+ ARM_V6 = 3;
192
+ ARM_V7 = 4;
193
+ }
194
+ Architecture architecture = 10;
185
195
  }
186
196
 
187
197
  // Strategy to use when dealing with Blob, Schema, or multipart blob data (large datasets)