@flyteorg/flyteidl 1.5.13 → 1.5.14
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.
package/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -11341,6 +11341,9 @@ export namespace flyteidl {
|
|
|
11341
11341
|
|
|
11342
11342
|
/** ExecutionSpec envs */
|
|
11343
11343
|
envs?: (flyteidl.admin.IEnvs|null);
|
|
11344
|
+
|
|
11345
|
+
/** ExecutionSpec tags */
|
|
11346
|
+
tags?: (string[]|null);
|
|
11344
11347
|
}
|
|
11345
11348
|
|
|
11346
11349
|
/** Represents an ExecutionSpec. */
|
|
@@ -11400,6 +11403,9 @@ export namespace flyteidl {
|
|
|
11400
11403
|
/** ExecutionSpec envs. */
|
|
11401
11404
|
public envs?: (flyteidl.admin.IEnvs|null);
|
|
11402
11405
|
|
|
11406
|
+
/** ExecutionSpec tags. */
|
|
11407
|
+
public tags: string[];
|
|
11408
|
+
|
|
11403
11409
|
/** ExecutionSpec notificationOverrides. */
|
|
11404
11410
|
public notificationOverrides?: ("notifications"|"disableAll");
|
|
11405
11411
|
|
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -27236,6 +27236,7 @@
|
|
|
27236
27236
|
* @property {google.protobuf.IBoolValue|null} [interruptible] ExecutionSpec interruptible
|
|
27237
27237
|
* @property {boolean|null} [overwriteCache] ExecutionSpec overwriteCache
|
|
27238
27238
|
* @property {flyteidl.admin.IEnvs|null} [envs] ExecutionSpec envs
|
|
27239
|
+
* @property {Array.<string>|null} [tags] ExecutionSpec tags
|
|
27239
27240
|
*/
|
|
27240
27241
|
|
|
27241
27242
|
/**
|
|
@@ -27247,6 +27248,7 @@
|
|
|
27247
27248
|
* @param {flyteidl.admin.IExecutionSpec=} [properties] Properties to set
|
|
27248
27249
|
*/
|
|
27249
27250
|
function ExecutionSpec(properties) {
|
|
27251
|
+
this.tags = [];
|
|
27250
27252
|
if (properties)
|
|
27251
27253
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
27252
27254
|
if (properties[keys[i]] != null)
|
|
@@ -27381,6 +27383,14 @@
|
|
|
27381
27383
|
*/
|
|
27382
27384
|
ExecutionSpec.prototype.envs = null;
|
|
27383
27385
|
|
|
27386
|
+
/**
|
|
27387
|
+
* ExecutionSpec tags.
|
|
27388
|
+
* @member {Array.<string>} tags
|
|
27389
|
+
* @memberof flyteidl.admin.ExecutionSpec
|
|
27390
|
+
* @instance
|
|
27391
|
+
*/
|
|
27392
|
+
ExecutionSpec.prototype.tags = $util.emptyArray;
|
|
27393
|
+
|
|
27384
27394
|
// OneOf field names bound to virtual getters and setters
|
|
27385
27395
|
var $oneOfFields;
|
|
27386
27396
|
|
|
@@ -27451,6 +27461,9 @@
|
|
|
27451
27461
|
writer.uint32(/* id 22, wireType 0 =*/176).bool(message.overwriteCache);
|
|
27452
27462
|
if (message.envs != null && message.hasOwnProperty("envs"))
|
|
27453
27463
|
$root.flyteidl.admin.Envs.encode(message.envs, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim();
|
|
27464
|
+
if (message.tags != null && message.tags.length)
|
|
27465
|
+
for (var i = 0; i < message.tags.length; ++i)
|
|
27466
|
+
writer.uint32(/* id 24, wireType 2 =*/194).string(message.tags[i]);
|
|
27454
27467
|
return writer;
|
|
27455
27468
|
};
|
|
27456
27469
|
|
|
@@ -27520,6 +27533,11 @@
|
|
|
27520
27533
|
case 23:
|
|
27521
27534
|
message.envs = $root.flyteidl.admin.Envs.decode(reader, reader.uint32());
|
|
27522
27535
|
break;
|
|
27536
|
+
case 24:
|
|
27537
|
+
if (!(message.tags && message.tags.length))
|
|
27538
|
+
message.tags = [];
|
|
27539
|
+
message.tags.push(reader.string());
|
|
27540
|
+
break;
|
|
27523
27541
|
default:
|
|
27524
27542
|
reader.skipType(tag & 7);
|
|
27525
27543
|
break;
|
|
@@ -27621,6 +27639,13 @@
|
|
|
27621
27639
|
if (error)
|
|
27622
27640
|
return "envs." + error;
|
|
27623
27641
|
}
|
|
27642
|
+
if (message.tags != null && message.hasOwnProperty("tags")) {
|
|
27643
|
+
if (!Array.isArray(message.tags))
|
|
27644
|
+
return "tags: array expected";
|
|
27645
|
+
for (var i = 0; i < message.tags.length; ++i)
|
|
27646
|
+
if (!$util.isString(message.tags[i]))
|
|
27647
|
+
return "tags: string[] expected";
|
|
27648
|
+
}
|
|
27624
27649
|
return null;
|
|
27625
27650
|
};
|
|
27626
27651
|
|
package/package.json
CHANGED
|
@@ -316,6 +316,8 @@ message ExecutionSpec {
|
|
|
316
316
|
|
|
317
317
|
// Environment variables to be set for the execution.
|
|
318
318
|
Envs envs = 23;
|
|
319
|
+
// Tags to be set for the execution.
|
|
320
|
+
repeated string tags = 24;
|
|
319
321
|
}
|
|
320
322
|
|
|
321
323
|
// Request to terminate an in-progress execution. This action is irreversible.
|