@flyteorg/flyteidl 1.3.4 → 1.3.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.
@@ -5104,6 +5104,9 @@ export namespace flyteidl {
5104
5104
 
5105
5105
  /** TaskMetadata tags */
5106
5106
  tags?: ({ [k: string]: string }|null);
5107
+
5108
+ /** TaskMetadata podTemplateName */
5109
+ podTemplateName?: (string|null);
5107
5110
  }
5108
5111
 
5109
5112
  /** Represents a TaskMetadata. */
@@ -5145,6 +5148,9 @@ export namespace flyteidl {
5145
5148
  /** TaskMetadata tags. */
5146
5149
  public tags: { [k: string]: string };
5147
5150
 
5151
+ /** TaskMetadata podTemplateName. */
5152
+ public podTemplateName: string;
5153
+
5148
5154
  /** TaskMetadata interruptibleValue. */
5149
5155
  public interruptibleValue?: "interruptible";
5150
5156
 
@@ -12048,6 +12048,7 @@
12048
12048
  * @property {boolean|null} [cacheSerializable] TaskMetadata cacheSerializable
12049
12049
  * @property {boolean|null} [generatesDeck] TaskMetadata generatesDeck
12050
12050
  * @property {Object.<string,string>|null} [tags] TaskMetadata tags
12051
+ * @property {string|null} [podTemplateName] TaskMetadata podTemplateName
12051
12052
  */
12052
12053
 
12053
12054
  /**
@@ -12146,6 +12147,14 @@
12146
12147
  */
12147
12148
  TaskMetadata.prototype.tags = $util.emptyObject;
12148
12149
 
12150
+ /**
12151
+ * TaskMetadata podTemplateName.
12152
+ * @member {string} podTemplateName
12153
+ * @memberof flyteidl.core.TaskMetadata
12154
+ * @instance
12155
+ */
12156
+ TaskMetadata.prototype.podTemplateName = "";
12157
+
12149
12158
  // OneOf field names bound to virtual getters and setters
12150
12159
  var $oneOfFields;
12151
12160
 
@@ -12205,6 +12214,8 @@
12205
12214
  if (message.tags != null && message.hasOwnProperty("tags"))
12206
12215
  for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i)
12207
12216
  writer.uint32(/* id 11, wireType 2 =*/90).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.tags[keys[i]]).ldelim();
12217
+ if (message.podTemplateName != null && message.hasOwnProperty("podTemplateName"))
12218
+ writer.uint32(/* id 12, wireType 2 =*/98).string(message.podTemplateName);
12208
12219
  return writer;
12209
12220
  };
12210
12221
 
@@ -12261,6 +12272,9 @@
12261
12272
  reader.pos++;
12262
12273
  message.tags[key] = reader.string();
12263
12274
  break;
12275
+ case 12:
12276
+ message.podTemplateName = reader.string();
12277
+ break;
12264
12278
  default:
12265
12279
  reader.skipType(tag & 7);
12266
12280
  break;
@@ -12324,6 +12338,9 @@
12324
12338
  if (!$util.isString(message.tags[key[i]]))
12325
12339
  return "tags: string{k:string} expected";
12326
12340
  }
12341
+ if (message.podTemplateName != null && message.hasOwnProperty("podTemplateName"))
12342
+ if (!$util.isString(message.podTemplateName))
12343
+ return "podTemplateName: string expected";
12327
12344
  return null;
12328
12345
  };
12329
12346
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "1.3.4",
3
+ "version": "1.3.6",
4
4
  "description": "Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -101,6 +101,11 @@ message TaskMetadata {
101
101
 
102
102
  // Arbitrary tags that allow users and the platform to store small but arbitrary labels
103
103
  map<string, string> tags = 11;
104
+
105
+ // pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this
106
+ // task creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied
107
+ // identically as, the default PodTemplate configured in FlytePropeller.
108
+ string pod_template_name = 12;
104
109
  }
105
110
 
106
111
  // A Task structure that uniquely identifies a task in the system