@flyteorg/flyteidl 1.14.1 → 1.14.2
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 +45 -6
- package/gen/pb-js/flyteidl.js +158 -18
- package/package.json +1 -1
- package/protos/flyteidl/admin/execution.proto +2 -0
- package/protos/flyteidl/admin/launch_plan.proto +5 -0
- package/protos/flyteidl/core/security.proto +5 -0
- package/protos/flyteidl/core/tasks.proto +14 -3
- package/protos/flyteidl/core/workflow.proto +3 -0
- package/protos/flyteidl/event/event.proto +10 -0
package/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -4707,6 +4707,9 @@ export namespace flyteidl {
|
|
|
4707
4707
|
|
|
4708
4708
|
/** NodeMetadata cacheSerializable */
|
|
4709
4709
|
cacheSerializable?: (boolean|null);
|
|
4710
|
+
|
|
4711
|
+
/** NodeMetadata config */
|
|
4712
|
+
config?: ({ [k: string]: string }|null);
|
|
4710
4713
|
}
|
|
4711
4714
|
|
|
4712
4715
|
/** Represents a NodeMetadata. */
|
|
@@ -4739,6 +4742,9 @@ export namespace flyteidl {
|
|
|
4739
4742
|
/** NodeMetadata cacheSerializable. */
|
|
4740
4743
|
public cacheSerializable: boolean;
|
|
4741
4744
|
|
|
4745
|
+
/** NodeMetadata config. */
|
|
4746
|
+
public config: { [k: string]: string };
|
|
4747
|
+
|
|
4742
4748
|
/** NodeMetadata interruptibleValue. */
|
|
4743
4749
|
public interruptibleValue?: "interruptible";
|
|
4744
4750
|
|
|
@@ -6414,9 +6420,6 @@ export namespace flyteidl {
|
|
|
6414
6420
|
/** TaskMetadata cacheSerializable */
|
|
6415
6421
|
cacheSerializable?: (boolean|null);
|
|
6416
6422
|
|
|
6417
|
-
/** TaskMetadata generatesDeck */
|
|
6418
|
-
generatesDeck?: (boolean|null);
|
|
6419
|
-
|
|
6420
6423
|
/** TaskMetadata tags */
|
|
6421
6424
|
tags?: ({ [k: string]: string }|null);
|
|
6422
6425
|
|
|
@@ -6428,6 +6431,9 @@ export namespace flyteidl {
|
|
|
6428
6431
|
|
|
6429
6432
|
/** TaskMetadata isEager */
|
|
6430
6433
|
isEager?: (boolean|null);
|
|
6434
|
+
|
|
6435
|
+
/** TaskMetadata generatesDeck */
|
|
6436
|
+
generatesDeck?: (google.protobuf.IBoolValue|null);
|
|
6431
6437
|
}
|
|
6432
6438
|
|
|
6433
6439
|
/** Represents a TaskMetadata. */
|
|
@@ -6463,9 +6469,6 @@ export namespace flyteidl {
|
|
|
6463
6469
|
/** TaskMetadata cacheSerializable. */
|
|
6464
6470
|
public cacheSerializable: boolean;
|
|
6465
6471
|
|
|
6466
|
-
/** TaskMetadata generatesDeck. */
|
|
6467
|
-
public generatesDeck: boolean;
|
|
6468
|
-
|
|
6469
6472
|
/** TaskMetadata tags. */
|
|
6470
6473
|
public tags: { [k: string]: string };
|
|
6471
6474
|
|
|
@@ -6478,6 +6481,9 @@ export namespace flyteidl {
|
|
|
6478
6481
|
/** TaskMetadata isEager. */
|
|
6479
6482
|
public isEager: boolean;
|
|
6480
6483
|
|
|
6484
|
+
/** TaskMetadata generatesDeck. */
|
|
6485
|
+
public generatesDeck?: (google.protobuf.IBoolValue|null);
|
|
6486
|
+
|
|
6481
6487
|
/** TaskMetadata interruptibleValue. */
|
|
6482
6488
|
public interruptibleValue?: "interruptible";
|
|
6483
6489
|
|
|
@@ -6640,6 +6646,9 @@ export namespace flyteidl {
|
|
|
6640
6646
|
|
|
6641
6647
|
/** ContainerPort containerPort */
|
|
6642
6648
|
containerPort?: (number|null);
|
|
6649
|
+
|
|
6650
|
+
/** ContainerPort name */
|
|
6651
|
+
name?: (string|null);
|
|
6643
6652
|
}
|
|
6644
6653
|
|
|
6645
6654
|
/** Represents a ContainerPort. */
|
|
@@ -6654,6 +6663,9 @@ export namespace flyteidl {
|
|
|
6654
6663
|
/** ContainerPort containerPort. */
|
|
6655
6664
|
public containerPort: number;
|
|
6656
6665
|
|
|
6666
|
+
/** ContainerPort name. */
|
|
6667
|
+
public name: string;
|
|
6668
|
+
|
|
6657
6669
|
/**
|
|
6658
6670
|
* Creates a new ContainerPort instance using the specified properties.
|
|
6659
6671
|
* @param [properties] Properties to set
|
|
@@ -7165,6 +7177,9 @@ export namespace flyteidl {
|
|
|
7165
7177
|
|
|
7166
7178
|
/** Secret mountRequirement */
|
|
7167
7179
|
mountRequirement?: (flyteidl.core.Secret.MountType|null);
|
|
7180
|
+
|
|
7181
|
+
/** Secret envVar */
|
|
7182
|
+
envVar?: (string|null);
|
|
7168
7183
|
}
|
|
7169
7184
|
|
|
7170
7185
|
/** Represents a Secret. */
|
|
@@ -7188,6 +7203,9 @@ export namespace flyteidl {
|
|
|
7188
7203
|
/** Secret mountRequirement. */
|
|
7189
7204
|
public mountRequirement: flyteidl.core.Secret.MountType;
|
|
7190
7205
|
|
|
7206
|
+
/** Secret envVar. */
|
|
7207
|
+
public envVar: string;
|
|
7208
|
+
|
|
7191
7209
|
/**
|
|
7192
7210
|
* Creates a new Secret instance using the specified properties.
|
|
7193
7211
|
* @param [properties] Properties to set
|
|
@@ -9238,6 +9256,12 @@ export namespace flyteidl {
|
|
|
9238
9256
|
|
|
9239
9257
|
/** ExternalResourceInfo logs */
|
|
9240
9258
|
logs?: (flyteidl.core.ITaskLog[]|null);
|
|
9259
|
+
|
|
9260
|
+
/** ExternalResourceInfo workflowNodeMetadata */
|
|
9261
|
+
workflowNodeMetadata?: (flyteidl.event.IWorkflowNodeMetadata|null);
|
|
9262
|
+
|
|
9263
|
+
/** ExternalResourceInfo customInfo */
|
|
9264
|
+
customInfo?: (google.protobuf.IStruct|null);
|
|
9241
9265
|
}
|
|
9242
9266
|
|
|
9243
9267
|
/** Represents an ExternalResourceInfo. */
|
|
@@ -9267,6 +9291,15 @@ export namespace flyteidl {
|
|
|
9267
9291
|
/** ExternalResourceInfo logs. */
|
|
9268
9292
|
public logs: flyteidl.core.ITaskLog[];
|
|
9269
9293
|
|
|
9294
|
+
/** ExternalResourceInfo workflowNodeMetadata. */
|
|
9295
|
+
public workflowNodeMetadata?: (flyteidl.event.IWorkflowNodeMetadata|null);
|
|
9296
|
+
|
|
9297
|
+
/** ExternalResourceInfo customInfo. */
|
|
9298
|
+
public customInfo?: (google.protobuf.IStruct|null);
|
|
9299
|
+
|
|
9300
|
+
/** ExternalResourceInfo targetMetadata. */
|
|
9301
|
+
public targetMetadata?: "workflowNodeMetadata";
|
|
9302
|
+
|
|
9270
9303
|
/**
|
|
9271
9304
|
* Creates a new ExternalResourceInfo instance using the specified properties.
|
|
9272
9305
|
* @param [properties] Properties to set
|
|
@@ -16125,6 +16158,9 @@ export namespace flyteidl {
|
|
|
16125
16158
|
|
|
16126
16159
|
/** LaunchPlanSpec executionEnvAssignments */
|
|
16127
16160
|
executionEnvAssignments?: (flyteidl.core.IExecutionEnvAssignment[]|null);
|
|
16161
|
+
|
|
16162
|
+
/** LaunchPlanSpec clusterAssignment */
|
|
16163
|
+
clusterAssignment?: (flyteidl.admin.IClusterAssignment|null);
|
|
16128
16164
|
}
|
|
16129
16165
|
|
|
16130
16166
|
/** Represents a LaunchPlanSpec. */
|
|
@@ -16187,6 +16223,9 @@ export namespace flyteidl {
|
|
|
16187
16223
|
/** LaunchPlanSpec executionEnvAssignments. */
|
|
16188
16224
|
public executionEnvAssignments: flyteidl.core.IExecutionEnvAssignment[];
|
|
16189
16225
|
|
|
16226
|
+
/** LaunchPlanSpec clusterAssignment. */
|
|
16227
|
+
public clusterAssignment?: (flyteidl.admin.IClusterAssignment|null);
|
|
16228
|
+
|
|
16190
16229
|
/**
|
|
16191
16230
|
* Creates a new LaunchPlanSpec instance using the specified properties.
|
|
16192
16231
|
* @param [properties] Properties to set
|
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -11296,6 +11296,7 @@
|
|
|
11296
11296
|
* @property {boolean|null} [cacheable] NodeMetadata cacheable
|
|
11297
11297
|
* @property {string|null} [cacheVersion] NodeMetadata cacheVersion
|
|
11298
11298
|
* @property {boolean|null} [cacheSerializable] NodeMetadata cacheSerializable
|
|
11299
|
+
* @property {Object.<string,string>|null} [config] NodeMetadata config
|
|
11299
11300
|
*/
|
|
11300
11301
|
|
|
11301
11302
|
/**
|
|
@@ -11307,6 +11308,7 @@
|
|
|
11307
11308
|
* @param {flyteidl.core.INodeMetadata=} [properties] Properties to set
|
|
11308
11309
|
*/
|
|
11309
11310
|
function NodeMetadata(properties) {
|
|
11311
|
+
this.config = {};
|
|
11310
11312
|
if (properties)
|
|
11311
11313
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
11312
11314
|
if (properties[keys[i]] != null)
|
|
@@ -11369,6 +11371,14 @@
|
|
|
11369
11371
|
*/
|
|
11370
11372
|
NodeMetadata.prototype.cacheSerializable = false;
|
|
11371
11373
|
|
|
11374
|
+
/**
|
|
11375
|
+
* NodeMetadata config.
|
|
11376
|
+
* @member {Object.<string,string>} config
|
|
11377
|
+
* @memberof flyteidl.core.NodeMetadata
|
|
11378
|
+
* @instance
|
|
11379
|
+
*/
|
|
11380
|
+
NodeMetadata.prototype.config = $util.emptyObject;
|
|
11381
|
+
|
|
11372
11382
|
// OneOf field names bound to virtual getters and setters
|
|
11373
11383
|
var $oneOfFields;
|
|
11374
11384
|
|
|
@@ -11454,6 +11464,9 @@
|
|
|
11454
11464
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.cacheVersion);
|
|
11455
11465
|
if (message.cacheSerializable != null && message.hasOwnProperty("cacheSerializable"))
|
|
11456
11466
|
writer.uint32(/* id 9, wireType 0 =*/72).bool(message.cacheSerializable);
|
|
11467
|
+
if (message.config != null && message.hasOwnProperty("config"))
|
|
11468
|
+
for (var keys = Object.keys(message.config), i = 0; i < keys.length; ++i)
|
|
11469
|
+
writer.uint32(/* id 10, wireType 2 =*/82).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.config[keys[i]]).ldelim();
|
|
11457
11470
|
return writer;
|
|
11458
11471
|
};
|
|
11459
11472
|
|
|
@@ -11471,7 +11484,7 @@
|
|
|
11471
11484
|
NodeMetadata.decode = function decode(reader, length) {
|
|
11472
11485
|
if (!(reader instanceof $Reader))
|
|
11473
11486
|
reader = $Reader.create(reader);
|
|
11474
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.NodeMetadata();
|
|
11487
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.NodeMetadata(), key;
|
|
11475
11488
|
while (reader.pos < end) {
|
|
11476
11489
|
var tag = reader.uint32();
|
|
11477
11490
|
switch (tag >>> 3) {
|
|
@@ -11496,6 +11509,14 @@
|
|
|
11496
11509
|
case 9:
|
|
11497
11510
|
message.cacheSerializable = reader.bool();
|
|
11498
11511
|
break;
|
|
11512
|
+
case 10:
|
|
11513
|
+
reader.skip().pos++;
|
|
11514
|
+
if (message.config === $util.emptyObject)
|
|
11515
|
+
message.config = {};
|
|
11516
|
+
key = reader.string();
|
|
11517
|
+
reader.pos++;
|
|
11518
|
+
message.config[key] = reader.string();
|
|
11519
|
+
break;
|
|
11499
11520
|
default:
|
|
11500
11521
|
reader.skipType(tag & 7);
|
|
11501
11522
|
break;
|
|
@@ -11549,6 +11570,14 @@
|
|
|
11549
11570
|
if (typeof message.cacheSerializable !== "boolean")
|
|
11550
11571
|
return "cacheSerializable: boolean expected";
|
|
11551
11572
|
}
|
|
11573
|
+
if (message.config != null && message.hasOwnProperty("config")) {
|
|
11574
|
+
if (!$util.isObject(message.config))
|
|
11575
|
+
return "config: object expected";
|
|
11576
|
+
var key = Object.keys(message.config);
|
|
11577
|
+
for (var i = 0; i < key.length; ++i)
|
|
11578
|
+
if (!$util.isString(message.config[key[i]]))
|
|
11579
|
+
return "config: string{k:string} expected";
|
|
11580
|
+
}
|
|
11552
11581
|
return null;
|
|
11553
11582
|
};
|
|
11554
11583
|
|
|
@@ -15377,11 +15406,11 @@
|
|
|
15377
15406
|
* @property {string|null} [deprecatedErrorMessage] TaskMetadata deprecatedErrorMessage
|
|
15378
15407
|
* @property {boolean|null} [interruptible] TaskMetadata interruptible
|
|
15379
15408
|
* @property {boolean|null} [cacheSerializable] TaskMetadata cacheSerializable
|
|
15380
|
-
* @property {boolean|null} [generatesDeck] TaskMetadata generatesDeck
|
|
15381
15409
|
* @property {Object.<string,string>|null} [tags] TaskMetadata tags
|
|
15382
15410
|
* @property {string|null} [podTemplateName] TaskMetadata podTemplateName
|
|
15383
15411
|
* @property {Array.<string>|null} [cacheIgnoreInputVars] TaskMetadata cacheIgnoreInputVars
|
|
15384
15412
|
* @property {boolean|null} [isEager] TaskMetadata isEager
|
|
15413
|
+
* @property {google.protobuf.IBoolValue|null} [generatesDeck] TaskMetadata generatesDeck
|
|
15385
15414
|
*/
|
|
15386
15415
|
|
|
15387
15416
|
/**
|
|
@@ -15465,14 +15494,6 @@
|
|
|
15465
15494
|
*/
|
|
15466
15495
|
TaskMetadata.prototype.cacheSerializable = false;
|
|
15467
15496
|
|
|
15468
|
-
/**
|
|
15469
|
-
* TaskMetadata generatesDeck.
|
|
15470
|
-
* @member {boolean} generatesDeck
|
|
15471
|
-
* @memberof flyteidl.core.TaskMetadata
|
|
15472
|
-
* @instance
|
|
15473
|
-
*/
|
|
15474
|
-
TaskMetadata.prototype.generatesDeck = false;
|
|
15475
|
-
|
|
15476
15497
|
/**
|
|
15477
15498
|
* TaskMetadata tags.
|
|
15478
15499
|
* @member {Object.<string,string>} tags
|
|
@@ -15505,6 +15526,14 @@
|
|
|
15505
15526
|
*/
|
|
15506
15527
|
TaskMetadata.prototype.isEager = false;
|
|
15507
15528
|
|
|
15529
|
+
/**
|
|
15530
|
+
* TaskMetadata generatesDeck.
|
|
15531
|
+
* @member {google.protobuf.IBoolValue|null|undefined} generatesDeck
|
|
15532
|
+
* @memberof flyteidl.core.TaskMetadata
|
|
15533
|
+
* @instance
|
|
15534
|
+
*/
|
|
15535
|
+
TaskMetadata.prototype.generatesDeck = null;
|
|
15536
|
+
|
|
15508
15537
|
// OneOf field names bound to virtual getters and setters
|
|
15509
15538
|
var $oneOfFields;
|
|
15510
15539
|
|
|
@@ -15559,8 +15588,6 @@
|
|
|
15559
15588
|
writer.uint32(/* id 8, wireType 0 =*/64).bool(message.interruptible);
|
|
15560
15589
|
if (message.cacheSerializable != null && message.hasOwnProperty("cacheSerializable"))
|
|
15561
15590
|
writer.uint32(/* id 9, wireType 0 =*/72).bool(message.cacheSerializable);
|
|
15562
|
-
if (message.generatesDeck != null && message.hasOwnProperty("generatesDeck"))
|
|
15563
|
-
writer.uint32(/* id 10, wireType 0 =*/80).bool(message.generatesDeck);
|
|
15564
15591
|
if (message.tags != null && message.hasOwnProperty("tags"))
|
|
15565
15592
|
for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i)
|
|
15566
15593
|
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();
|
|
@@ -15571,6 +15598,8 @@
|
|
|
15571
15598
|
writer.uint32(/* id 13, wireType 2 =*/106).string(message.cacheIgnoreInputVars[i]);
|
|
15572
15599
|
if (message.isEager != null && message.hasOwnProperty("isEager"))
|
|
15573
15600
|
writer.uint32(/* id 14, wireType 0 =*/112).bool(message.isEager);
|
|
15601
|
+
if (message.generatesDeck != null && message.hasOwnProperty("generatesDeck"))
|
|
15602
|
+
$root.google.protobuf.BoolValue.encode(message.generatesDeck, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
|
|
15574
15603
|
return writer;
|
|
15575
15604
|
};
|
|
15576
15605
|
|
|
@@ -15616,9 +15645,6 @@
|
|
|
15616
15645
|
case 9:
|
|
15617
15646
|
message.cacheSerializable = reader.bool();
|
|
15618
15647
|
break;
|
|
15619
|
-
case 10:
|
|
15620
|
-
message.generatesDeck = reader.bool();
|
|
15621
|
-
break;
|
|
15622
15648
|
case 11:
|
|
15623
15649
|
reader.skip().pos++;
|
|
15624
15650
|
if (message.tags === $util.emptyObject)
|
|
@@ -15638,6 +15664,9 @@
|
|
|
15638
15664
|
case 14:
|
|
15639
15665
|
message.isEager = reader.bool();
|
|
15640
15666
|
break;
|
|
15667
|
+
case 15:
|
|
15668
|
+
message.generatesDeck = $root.google.protobuf.BoolValue.decode(reader, reader.uint32());
|
|
15669
|
+
break;
|
|
15641
15670
|
default:
|
|
15642
15671
|
reader.skipType(tag & 7);
|
|
15643
15672
|
break;
|
|
@@ -15690,9 +15719,6 @@
|
|
|
15690
15719
|
if (message.cacheSerializable != null && message.hasOwnProperty("cacheSerializable"))
|
|
15691
15720
|
if (typeof message.cacheSerializable !== "boolean")
|
|
15692
15721
|
return "cacheSerializable: boolean expected";
|
|
15693
|
-
if (message.generatesDeck != null && message.hasOwnProperty("generatesDeck"))
|
|
15694
|
-
if (typeof message.generatesDeck !== "boolean")
|
|
15695
|
-
return "generatesDeck: boolean expected";
|
|
15696
15722
|
if (message.tags != null && message.hasOwnProperty("tags")) {
|
|
15697
15723
|
if (!$util.isObject(message.tags))
|
|
15698
15724
|
return "tags: object expected";
|
|
@@ -15714,6 +15740,11 @@
|
|
|
15714
15740
|
if (message.isEager != null && message.hasOwnProperty("isEager"))
|
|
15715
15741
|
if (typeof message.isEager !== "boolean")
|
|
15716
15742
|
return "isEager: boolean expected";
|
|
15743
|
+
if (message.generatesDeck != null && message.hasOwnProperty("generatesDeck")) {
|
|
15744
|
+
var error = $root.google.protobuf.BoolValue.verify(message.generatesDeck);
|
|
15745
|
+
if (error)
|
|
15746
|
+
return "generatesDeck." + error;
|
|
15747
|
+
}
|
|
15717
15748
|
return null;
|
|
15718
15749
|
};
|
|
15719
15750
|
|
|
@@ -16082,6 +16113,7 @@
|
|
|
16082
16113
|
* @memberof flyteidl.core
|
|
16083
16114
|
* @interface IContainerPort
|
|
16084
16115
|
* @property {number|null} [containerPort] ContainerPort containerPort
|
|
16116
|
+
* @property {string|null} [name] ContainerPort name
|
|
16085
16117
|
*/
|
|
16086
16118
|
|
|
16087
16119
|
/**
|
|
@@ -16107,6 +16139,14 @@
|
|
|
16107
16139
|
*/
|
|
16108
16140
|
ContainerPort.prototype.containerPort = 0;
|
|
16109
16141
|
|
|
16142
|
+
/**
|
|
16143
|
+
* ContainerPort name.
|
|
16144
|
+
* @member {string} name
|
|
16145
|
+
* @memberof flyteidl.core.ContainerPort
|
|
16146
|
+
* @instance
|
|
16147
|
+
*/
|
|
16148
|
+
ContainerPort.prototype.name = "";
|
|
16149
|
+
|
|
16110
16150
|
/**
|
|
16111
16151
|
* Creates a new ContainerPort instance using the specified properties.
|
|
16112
16152
|
* @function create
|
|
@@ -16133,6 +16173,8 @@
|
|
|
16133
16173
|
writer = $Writer.create();
|
|
16134
16174
|
if (message.containerPort != null && message.hasOwnProperty("containerPort"))
|
|
16135
16175
|
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.containerPort);
|
|
16176
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
16177
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.name);
|
|
16136
16178
|
return writer;
|
|
16137
16179
|
};
|
|
16138
16180
|
|
|
@@ -16157,6 +16199,9 @@
|
|
|
16157
16199
|
case 1:
|
|
16158
16200
|
message.containerPort = reader.uint32();
|
|
16159
16201
|
break;
|
|
16202
|
+
case 2:
|
|
16203
|
+
message.name = reader.string();
|
|
16204
|
+
break;
|
|
16160
16205
|
default:
|
|
16161
16206
|
reader.skipType(tag & 7);
|
|
16162
16207
|
break;
|
|
@@ -16179,6 +16224,9 @@
|
|
|
16179
16224
|
if (message.containerPort != null && message.hasOwnProperty("containerPort"))
|
|
16180
16225
|
if (!$util.isInteger(message.containerPort))
|
|
16181
16226
|
return "containerPort: integer expected";
|
|
16227
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
16228
|
+
if (!$util.isString(message.name))
|
|
16229
|
+
return "name: string expected";
|
|
16182
16230
|
return null;
|
|
16183
16231
|
};
|
|
16184
16232
|
|
|
@@ -17345,6 +17393,7 @@
|
|
|
17345
17393
|
* @property {string|null} [groupVersion] Secret groupVersion
|
|
17346
17394
|
* @property {string|null} [key] Secret key
|
|
17347
17395
|
* @property {flyteidl.core.Secret.MountType|null} [mountRequirement] Secret mountRequirement
|
|
17396
|
+
* @property {string|null} [envVar] Secret envVar
|
|
17348
17397
|
*/
|
|
17349
17398
|
|
|
17350
17399
|
/**
|
|
@@ -17394,6 +17443,14 @@
|
|
|
17394
17443
|
*/
|
|
17395
17444
|
Secret.prototype.mountRequirement = 0;
|
|
17396
17445
|
|
|
17446
|
+
/**
|
|
17447
|
+
* Secret envVar.
|
|
17448
|
+
* @member {string} envVar
|
|
17449
|
+
* @memberof flyteidl.core.Secret
|
|
17450
|
+
* @instance
|
|
17451
|
+
*/
|
|
17452
|
+
Secret.prototype.envVar = "";
|
|
17453
|
+
|
|
17397
17454
|
/**
|
|
17398
17455
|
* Creates a new Secret instance using the specified properties.
|
|
17399
17456
|
* @function create
|
|
@@ -17426,6 +17483,8 @@
|
|
|
17426
17483
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.key);
|
|
17427
17484
|
if (message.mountRequirement != null && message.hasOwnProperty("mountRequirement"))
|
|
17428
17485
|
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.mountRequirement);
|
|
17486
|
+
if (message.envVar != null && message.hasOwnProperty("envVar"))
|
|
17487
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.envVar);
|
|
17429
17488
|
return writer;
|
|
17430
17489
|
};
|
|
17431
17490
|
|
|
@@ -17459,6 +17518,9 @@
|
|
|
17459
17518
|
case 4:
|
|
17460
17519
|
message.mountRequirement = reader.int32();
|
|
17461
17520
|
break;
|
|
17521
|
+
case 5:
|
|
17522
|
+
message.envVar = reader.string();
|
|
17523
|
+
break;
|
|
17462
17524
|
default:
|
|
17463
17525
|
reader.skipType(tag & 7);
|
|
17464
17526
|
break;
|
|
@@ -17496,6 +17558,9 @@
|
|
|
17496
17558
|
case 2:
|
|
17497
17559
|
break;
|
|
17498
17560
|
}
|
|
17561
|
+
if (message.envVar != null && message.hasOwnProperty("envVar"))
|
|
17562
|
+
if (!$util.isString(message.envVar))
|
|
17563
|
+
return "envVar: string expected";
|
|
17499
17564
|
return null;
|
|
17500
17565
|
};
|
|
17501
17566
|
|
|
@@ -22700,6 +22765,8 @@
|
|
|
22700
22765
|
* @property {flyteidl.core.TaskExecution.Phase|null} [phase] ExternalResourceInfo phase
|
|
22701
22766
|
* @property {flyteidl.core.CatalogCacheStatus|null} [cacheStatus] ExternalResourceInfo cacheStatus
|
|
22702
22767
|
* @property {Array.<flyteidl.core.ITaskLog>|null} [logs] ExternalResourceInfo logs
|
|
22768
|
+
* @property {flyteidl.event.IWorkflowNodeMetadata|null} [workflowNodeMetadata] ExternalResourceInfo workflowNodeMetadata
|
|
22769
|
+
* @property {google.protobuf.IStruct|null} [customInfo] ExternalResourceInfo customInfo
|
|
22703
22770
|
*/
|
|
22704
22771
|
|
|
22705
22772
|
/**
|
|
@@ -22766,6 +22833,36 @@
|
|
|
22766
22833
|
*/
|
|
22767
22834
|
ExternalResourceInfo.prototype.logs = $util.emptyArray;
|
|
22768
22835
|
|
|
22836
|
+
/**
|
|
22837
|
+
* ExternalResourceInfo workflowNodeMetadata.
|
|
22838
|
+
* @member {flyteidl.event.IWorkflowNodeMetadata|null|undefined} workflowNodeMetadata
|
|
22839
|
+
* @memberof flyteidl.event.ExternalResourceInfo
|
|
22840
|
+
* @instance
|
|
22841
|
+
*/
|
|
22842
|
+
ExternalResourceInfo.prototype.workflowNodeMetadata = null;
|
|
22843
|
+
|
|
22844
|
+
/**
|
|
22845
|
+
* ExternalResourceInfo customInfo.
|
|
22846
|
+
* @member {google.protobuf.IStruct|null|undefined} customInfo
|
|
22847
|
+
* @memberof flyteidl.event.ExternalResourceInfo
|
|
22848
|
+
* @instance
|
|
22849
|
+
*/
|
|
22850
|
+
ExternalResourceInfo.prototype.customInfo = null;
|
|
22851
|
+
|
|
22852
|
+
// OneOf field names bound to virtual getters and setters
|
|
22853
|
+
var $oneOfFields;
|
|
22854
|
+
|
|
22855
|
+
/**
|
|
22856
|
+
* ExternalResourceInfo targetMetadata.
|
|
22857
|
+
* @member {"workflowNodeMetadata"|undefined} targetMetadata
|
|
22858
|
+
* @memberof flyteidl.event.ExternalResourceInfo
|
|
22859
|
+
* @instance
|
|
22860
|
+
*/
|
|
22861
|
+
Object.defineProperty(ExternalResourceInfo.prototype, "targetMetadata", {
|
|
22862
|
+
get: $util.oneOfGetter($oneOfFields = ["workflowNodeMetadata"]),
|
|
22863
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
22864
|
+
});
|
|
22865
|
+
|
|
22769
22866
|
/**
|
|
22770
22867
|
* Creates a new ExternalResourceInfo instance using the specified properties.
|
|
22771
22868
|
* @function create
|
|
@@ -22803,6 +22900,10 @@
|
|
|
22803
22900
|
if (message.logs != null && message.logs.length)
|
|
22804
22901
|
for (var i = 0; i < message.logs.length; ++i)
|
|
22805
22902
|
$root.flyteidl.core.TaskLog.encode(message.logs[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
22903
|
+
if (message.workflowNodeMetadata != null && message.hasOwnProperty("workflowNodeMetadata"))
|
|
22904
|
+
$root.flyteidl.event.WorkflowNodeMetadata.encode(message.workflowNodeMetadata, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
22905
|
+
if (message.customInfo != null && message.hasOwnProperty("customInfo"))
|
|
22906
|
+
$root.google.protobuf.Struct.encode(message.customInfo, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
22806
22907
|
return writer;
|
|
22807
22908
|
};
|
|
22808
22909
|
|
|
@@ -22844,6 +22945,12 @@
|
|
|
22844
22945
|
message.logs = [];
|
|
22845
22946
|
message.logs.push($root.flyteidl.core.TaskLog.decode(reader, reader.uint32()));
|
|
22846
22947
|
break;
|
|
22948
|
+
case 7:
|
|
22949
|
+
message.workflowNodeMetadata = $root.flyteidl.event.WorkflowNodeMetadata.decode(reader, reader.uint32());
|
|
22950
|
+
break;
|
|
22951
|
+
case 8:
|
|
22952
|
+
message.customInfo = $root.google.protobuf.Struct.decode(reader, reader.uint32());
|
|
22953
|
+
break;
|
|
22847
22954
|
default:
|
|
22848
22955
|
reader.skipType(tag & 7);
|
|
22849
22956
|
break;
|
|
@@ -22863,6 +22970,7 @@
|
|
|
22863
22970
|
ExternalResourceInfo.verify = function verify(message) {
|
|
22864
22971
|
if (typeof message !== "object" || message === null)
|
|
22865
22972
|
return "object expected";
|
|
22973
|
+
var properties = {};
|
|
22866
22974
|
if (message.externalId != null && message.hasOwnProperty("externalId"))
|
|
22867
22975
|
if (!$util.isString(message.externalId))
|
|
22868
22976
|
return "externalId: string expected";
|
|
@@ -22909,6 +23017,19 @@
|
|
|
22909
23017
|
return "logs." + error;
|
|
22910
23018
|
}
|
|
22911
23019
|
}
|
|
23020
|
+
if (message.workflowNodeMetadata != null && message.hasOwnProperty("workflowNodeMetadata")) {
|
|
23021
|
+
properties.targetMetadata = 1;
|
|
23022
|
+
{
|
|
23023
|
+
var error = $root.flyteidl.event.WorkflowNodeMetadata.verify(message.workflowNodeMetadata);
|
|
23024
|
+
if (error)
|
|
23025
|
+
return "workflowNodeMetadata." + error;
|
|
23026
|
+
}
|
|
23027
|
+
}
|
|
23028
|
+
if (message.customInfo != null && message.hasOwnProperty("customInfo")) {
|
|
23029
|
+
var error = $root.google.protobuf.Struct.verify(message.customInfo);
|
|
23030
|
+
if (error)
|
|
23031
|
+
return "customInfo." + error;
|
|
23032
|
+
}
|
|
22912
23033
|
return null;
|
|
22913
23034
|
};
|
|
22914
23035
|
|
|
@@ -39026,6 +39147,7 @@
|
|
|
39026
39147
|
* @property {boolean|null} [overwriteCache] LaunchPlanSpec overwriteCache
|
|
39027
39148
|
* @property {flyteidl.admin.IEnvs|null} [envs] LaunchPlanSpec envs
|
|
39028
39149
|
* @property {Array.<flyteidl.core.IExecutionEnvAssignment>|null} [executionEnvAssignments] LaunchPlanSpec executionEnvAssignments
|
|
39150
|
+
* @property {flyteidl.admin.IClusterAssignment|null} [clusterAssignment] LaunchPlanSpec clusterAssignment
|
|
39029
39151
|
*/
|
|
39030
39152
|
|
|
39031
39153
|
/**
|
|
@@ -39180,6 +39302,14 @@
|
|
|
39180
39302
|
*/
|
|
39181
39303
|
LaunchPlanSpec.prototype.executionEnvAssignments = $util.emptyArray;
|
|
39182
39304
|
|
|
39305
|
+
/**
|
|
39306
|
+
* LaunchPlanSpec clusterAssignment.
|
|
39307
|
+
* @member {flyteidl.admin.IClusterAssignment|null|undefined} clusterAssignment
|
|
39308
|
+
* @memberof flyteidl.admin.LaunchPlanSpec
|
|
39309
|
+
* @instance
|
|
39310
|
+
*/
|
|
39311
|
+
LaunchPlanSpec.prototype.clusterAssignment = null;
|
|
39312
|
+
|
|
39183
39313
|
/**
|
|
39184
39314
|
* Creates a new LaunchPlanSpec instance using the specified properties.
|
|
39185
39315
|
* @function create
|
|
@@ -39239,6 +39369,8 @@
|
|
|
39239
39369
|
if (message.executionEnvAssignments != null && message.executionEnvAssignments.length)
|
|
39240
39370
|
for (var i = 0; i < message.executionEnvAssignments.length; ++i)
|
|
39241
39371
|
$root.flyteidl.core.ExecutionEnvAssignment.encode(message.executionEnvAssignments[i], writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
|
|
39372
|
+
if (message.clusterAssignment != null && message.hasOwnProperty("clusterAssignment"))
|
|
39373
|
+
$root.flyteidl.admin.ClusterAssignment.encode(message.clusterAssignment, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim();
|
|
39242
39374
|
return writer;
|
|
39243
39375
|
};
|
|
39244
39376
|
|
|
@@ -39313,6 +39445,9 @@
|
|
|
39313
39445
|
message.executionEnvAssignments = [];
|
|
39314
39446
|
message.executionEnvAssignments.push($root.flyteidl.core.ExecutionEnvAssignment.decode(reader, reader.uint32()));
|
|
39315
39447
|
break;
|
|
39448
|
+
case 23:
|
|
39449
|
+
message.clusterAssignment = $root.flyteidl.admin.ClusterAssignment.decode(reader, reader.uint32());
|
|
39450
|
+
break;
|
|
39316
39451
|
default:
|
|
39317
39452
|
reader.skipType(tag & 7);
|
|
39318
39453
|
break;
|
|
@@ -39415,6 +39550,11 @@
|
|
|
39415
39550
|
return "executionEnvAssignments." + error;
|
|
39416
39551
|
}
|
|
39417
39552
|
}
|
|
39553
|
+
if (message.clusterAssignment != null && message.hasOwnProperty("clusterAssignment")) {
|
|
39554
|
+
var error = $root.flyteidl.admin.ClusterAssignment.verify(message.clusterAssignment);
|
|
39555
|
+
if (error)
|
|
39556
|
+
return "clusterAssignment." + error;
|
|
39557
|
+
}
|
|
39418
39558
|
return null;
|
|
39419
39559
|
};
|
|
39420
39560
|
|
package/package.json
CHANGED
|
@@ -260,6 +260,8 @@ message ExecutionMetadata {
|
|
|
260
260
|
// Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
|
|
261
261
|
// since we don't have a structure to handle nested ones anyways.
|
|
262
262
|
repeated core.ArtifactID artifact_ids = 18;
|
|
263
|
+
|
|
264
|
+
reserved 19;
|
|
263
265
|
}
|
|
264
266
|
|
|
265
267
|
message NotificationList {
|
|
@@ -10,6 +10,7 @@ import "flyteidl/core/identifier.proto";
|
|
|
10
10
|
import "flyteidl/core/interface.proto";
|
|
11
11
|
import "flyteidl/core/security.proto";
|
|
12
12
|
import "flyteidl/admin/schedule.proto";
|
|
13
|
+
import "flyteidl/admin/cluster_assignment.proto";
|
|
13
14
|
import "flyteidl/admin/common.proto";
|
|
14
15
|
import "google/protobuf/any.proto";
|
|
15
16
|
import "google/protobuf/timestamp.proto";
|
|
@@ -139,6 +140,10 @@ message LaunchPlanSpec {
|
|
|
139
140
|
|
|
140
141
|
// Execution environment assignments to be set for the execution.
|
|
141
142
|
repeated core.ExecutionEnvAssignment execution_env_assignments = 22;
|
|
143
|
+
|
|
144
|
+
// ClusterAssignment controls how to select an available cluster on which executions of this LaunchPlan should run.
|
|
145
|
+
// This can be overwritten at execution creation level.
|
|
146
|
+
ClusterAssignment cluster_assignment = 23;
|
|
142
147
|
}
|
|
143
148
|
|
|
144
149
|
// Values computed by the flyte platform after launch plan registration.
|
|
@@ -43,6 +43,11 @@ message Secret {
|
|
|
43
43
|
// will depend on the key management system.
|
|
44
44
|
// +optional
|
|
45
45
|
MountType mount_requirement = 4;
|
|
46
|
+
|
|
47
|
+
// env_var is optional. Custom environment variable to set the value of the secret. If mount_requirement is ENV_VAR,
|
|
48
|
+
// then the value is the secret itself. If mount_requirement is FILE, then the value is the path to the secret file.
|
|
49
|
+
// +optional
|
|
50
|
+
string env_var = 5;
|
|
46
51
|
}
|
|
47
52
|
|
|
48
53
|
// OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task.
|
|
@@ -6,6 +6,7 @@ import "flyteidl/core/literals.proto";
|
|
|
6
6
|
import "flyteidl/core/security.proto";
|
|
7
7
|
import "google/protobuf/duration.proto";
|
|
8
8
|
import "google/protobuf/struct.proto";
|
|
9
|
+
import "google/protobuf/wrappers.proto";
|
|
9
10
|
|
|
10
11
|
package flyteidl.core;
|
|
11
12
|
|
|
@@ -88,6 +89,10 @@ message RuntimeMetadata {
|
|
|
88
89
|
|
|
89
90
|
// Task Metadata
|
|
90
91
|
message TaskMetadata {
|
|
92
|
+
// Field number 10 is reserved because we are reusing the name generates_deck for field number 15,
|
|
93
|
+
// but with a different type.
|
|
94
|
+
reserved 10;
|
|
95
|
+
|
|
91
96
|
// Indicates whether the system should attempt to lookup this task's output to avoid duplication of work.
|
|
92
97
|
bool discoverable = 1;
|
|
93
98
|
|
|
@@ -121,9 +126,6 @@ message TaskMetadata {
|
|
|
121
126
|
// Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work
|
|
122
127
|
bool cache_serializable = 9;
|
|
123
128
|
|
|
124
|
-
// Indicates whether the task will generate a Deck URI when it finishes executing.
|
|
125
|
-
bool generates_deck = 10;
|
|
126
|
-
|
|
127
129
|
// Arbitrary tags that allow users and the platform to store small but arbitrary labels
|
|
128
130
|
map<string, string> tags = 11;
|
|
129
131
|
|
|
@@ -137,6 +139,13 @@ message TaskMetadata {
|
|
|
137
139
|
// is_eager indicates whether the task is eager or not.
|
|
138
140
|
// This would be used by CreateTask endpoint.
|
|
139
141
|
bool is_eager = 14;
|
|
142
|
+
|
|
143
|
+
// Indicates whether the task will generate a deck when it finishes executing.
|
|
144
|
+
// The BoolValue can have three states:
|
|
145
|
+
// - nil: The value is not set.
|
|
146
|
+
// - true: The task will generate a deck.
|
|
147
|
+
// - false: The task will not generate a deck.
|
|
148
|
+
google.protobuf.BoolValue generates_deck = 15;
|
|
140
149
|
}
|
|
141
150
|
|
|
142
151
|
// A Task structure that uniquely identifies a task in the system
|
|
@@ -192,6 +201,8 @@ message ContainerPort {
|
|
|
192
201
|
// Number of port to expose on the pod's IP address.
|
|
193
202
|
// This must be a valid port number, 0 < x < 65536.
|
|
194
203
|
uint32 container_port = 1;
|
|
204
|
+
// Name of the port to expose on the pod's IP address.
|
|
205
|
+
string name = 2;
|
|
195
206
|
}
|
|
196
207
|
|
|
197
208
|
message Container {
|
|
@@ -199,6 +199,9 @@ message NodeMetadata {
|
|
|
199
199
|
oneof cache_serializable_value {
|
|
200
200
|
bool cache_serializable = 9;
|
|
201
201
|
}
|
|
202
|
+
|
|
203
|
+
// Config is a bag of properties that can be used to instruct propeller on how to execute the node.
|
|
204
|
+
map<string, string> config = 10;
|
|
202
205
|
}
|
|
203
206
|
|
|
204
207
|
// Links a variable to an alias.
|
|
@@ -287,6 +287,16 @@ message ExternalResourceInfo {
|
|
|
287
287
|
|
|
288
288
|
// log information for the external resource execution
|
|
289
289
|
repeated core.TaskLog logs = 6;
|
|
290
|
+
|
|
291
|
+
// Additional metadata to do with this event's node target based on the node type. We are
|
|
292
|
+
// explicitly not including the task_node_metadata here because it is not clear if it is needed.
|
|
293
|
+
// If we decide to include in the future, we should deprecate the cache_status field.
|
|
294
|
+
oneof target_metadata {
|
|
295
|
+
WorkflowNodeMetadata workflow_node_metadata = 7;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
// Extensible field for custom, plugin-specific info
|
|
299
|
+
google.protobuf.Struct custom_info = 8;
|
|
290
300
|
}
|
|
291
301
|
|
|
292
302
|
|