@flyteorg/flyteidl 1.14.0 → 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 +82 -7
- package/gen/pb-js/flyteidl.js +310 -23
- 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/literals.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 +20 -0
- package/protos/flyteidl/event/cloudevents.proto +8 -0
- package/protos/flyteidl/event/event.proto +10 -0
package/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -3797,6 +3797,9 @@ export namespace flyteidl {
|
|
|
3797
3797
|
/** BindingData map */
|
|
3798
3798
|
map?: (flyteidl.core.IBindingDataMap|null);
|
|
3799
3799
|
|
|
3800
|
+
/** BindingData offloadedMetadata */
|
|
3801
|
+
offloadedMetadata?: (flyteidl.core.ILiteralOffloadedMetadata|null);
|
|
3802
|
+
|
|
3800
3803
|
/** BindingData union */
|
|
3801
3804
|
union?: (flyteidl.core.IUnionInfo|null);
|
|
3802
3805
|
}
|
|
@@ -3822,11 +3825,14 @@ export namespace flyteidl {
|
|
|
3822
3825
|
/** BindingData map. */
|
|
3823
3826
|
public map?: (flyteidl.core.IBindingDataMap|null);
|
|
3824
3827
|
|
|
3828
|
+
/** BindingData offloadedMetadata. */
|
|
3829
|
+
public offloadedMetadata?: (flyteidl.core.ILiteralOffloadedMetadata|null);
|
|
3830
|
+
|
|
3825
3831
|
/** BindingData union. */
|
|
3826
3832
|
public union?: (flyteidl.core.IUnionInfo|null);
|
|
3827
3833
|
|
|
3828
3834
|
/** BindingData value. */
|
|
3829
|
-
public value?: ("scalar"|"collection"|"promise"|"map");
|
|
3835
|
+
public value?: ("scalar"|"collection"|"promise"|"map"|"offloadedMetadata");
|
|
3830
3836
|
|
|
3831
3837
|
/**
|
|
3832
3838
|
* Creates a new BindingData instance using the specified properties.
|
|
@@ -4589,6 +4595,9 @@ export namespace flyteidl {
|
|
|
4589
4595
|
|
|
4590
4596
|
/** ArrayNode isOriginalSubNodeInterface */
|
|
4591
4597
|
isOriginalSubNodeInterface?: (google.protobuf.IBoolValue|null);
|
|
4598
|
+
|
|
4599
|
+
/** ArrayNode dataMode */
|
|
4600
|
+
dataMode?: (flyteidl.core.ArrayNode.DataMode|null);
|
|
4592
4601
|
}
|
|
4593
4602
|
|
|
4594
4603
|
/** Represents an ArrayNode. */
|
|
@@ -4618,6 +4627,9 @@ export namespace flyteidl {
|
|
|
4618
4627
|
/** ArrayNode isOriginalSubNodeInterface. */
|
|
4619
4628
|
public isOriginalSubNodeInterface?: (google.protobuf.IBoolValue|null);
|
|
4620
4629
|
|
|
4630
|
+
/** ArrayNode dataMode. */
|
|
4631
|
+
public dataMode: flyteidl.core.ArrayNode.DataMode;
|
|
4632
|
+
|
|
4621
4633
|
/** ArrayNode parallelismOption. */
|
|
4622
4634
|
public parallelismOption?: "parallelism";
|
|
4623
4635
|
|
|
@@ -4664,6 +4676,12 @@ export namespace flyteidl {
|
|
|
4664
4676
|
MINIMAL_STATE = 0,
|
|
4665
4677
|
FULL_STATE = 1
|
|
4666
4678
|
}
|
|
4679
|
+
|
|
4680
|
+
/** DataMode enum. */
|
|
4681
|
+
enum DataMode {
|
|
4682
|
+
SINGLE_INPUT_FILE = 0,
|
|
4683
|
+
INDIVIDUAL_INPUT_FILES = 1
|
|
4684
|
+
}
|
|
4667
4685
|
}
|
|
4668
4686
|
|
|
4669
4687
|
/** Properties of a NodeMetadata. */
|
|
@@ -4689,6 +4707,9 @@ export namespace flyteidl {
|
|
|
4689
4707
|
|
|
4690
4708
|
/** NodeMetadata cacheSerializable */
|
|
4691
4709
|
cacheSerializable?: (boolean|null);
|
|
4710
|
+
|
|
4711
|
+
/** NodeMetadata config */
|
|
4712
|
+
config?: ({ [k: string]: string }|null);
|
|
4692
4713
|
}
|
|
4693
4714
|
|
|
4694
4715
|
/** Represents a NodeMetadata. */
|
|
@@ -4721,6 +4742,9 @@ export namespace flyteidl {
|
|
|
4721
4742
|
/** NodeMetadata cacheSerializable. */
|
|
4722
4743
|
public cacheSerializable: boolean;
|
|
4723
4744
|
|
|
4745
|
+
/** NodeMetadata config. */
|
|
4746
|
+
public config: { [k: string]: string };
|
|
4747
|
+
|
|
4724
4748
|
/** NodeMetadata interruptibleValue. */
|
|
4725
4749
|
public interruptibleValue?: "interruptible";
|
|
4726
4750
|
|
|
@@ -6396,9 +6420,6 @@ export namespace flyteidl {
|
|
|
6396
6420
|
/** TaskMetadata cacheSerializable */
|
|
6397
6421
|
cacheSerializable?: (boolean|null);
|
|
6398
6422
|
|
|
6399
|
-
/** TaskMetadata generatesDeck */
|
|
6400
|
-
generatesDeck?: (boolean|null);
|
|
6401
|
-
|
|
6402
6423
|
/** TaskMetadata tags */
|
|
6403
6424
|
tags?: ({ [k: string]: string }|null);
|
|
6404
6425
|
|
|
@@ -6410,6 +6431,9 @@ export namespace flyteidl {
|
|
|
6410
6431
|
|
|
6411
6432
|
/** TaskMetadata isEager */
|
|
6412
6433
|
isEager?: (boolean|null);
|
|
6434
|
+
|
|
6435
|
+
/** TaskMetadata generatesDeck */
|
|
6436
|
+
generatesDeck?: (google.protobuf.IBoolValue|null);
|
|
6413
6437
|
}
|
|
6414
6438
|
|
|
6415
6439
|
/** Represents a TaskMetadata. */
|
|
@@ -6445,9 +6469,6 @@ export namespace flyteidl {
|
|
|
6445
6469
|
/** TaskMetadata cacheSerializable. */
|
|
6446
6470
|
public cacheSerializable: boolean;
|
|
6447
6471
|
|
|
6448
|
-
/** TaskMetadata generatesDeck. */
|
|
6449
|
-
public generatesDeck: boolean;
|
|
6450
|
-
|
|
6451
6472
|
/** TaskMetadata tags. */
|
|
6452
6473
|
public tags: { [k: string]: string };
|
|
6453
6474
|
|
|
@@ -6460,6 +6481,9 @@ export namespace flyteidl {
|
|
|
6460
6481
|
/** TaskMetadata isEager. */
|
|
6461
6482
|
public isEager: boolean;
|
|
6462
6483
|
|
|
6484
|
+
/** TaskMetadata generatesDeck. */
|
|
6485
|
+
public generatesDeck?: (google.protobuf.IBoolValue|null);
|
|
6486
|
+
|
|
6463
6487
|
/** TaskMetadata interruptibleValue. */
|
|
6464
6488
|
public interruptibleValue?: "interruptible";
|
|
6465
6489
|
|
|
@@ -6622,6 +6646,9 @@ export namespace flyteidl {
|
|
|
6622
6646
|
|
|
6623
6647
|
/** ContainerPort containerPort */
|
|
6624
6648
|
containerPort?: (number|null);
|
|
6649
|
+
|
|
6650
|
+
/** ContainerPort name */
|
|
6651
|
+
name?: (string|null);
|
|
6625
6652
|
}
|
|
6626
6653
|
|
|
6627
6654
|
/** Represents a ContainerPort. */
|
|
@@ -6636,6 +6663,9 @@ export namespace flyteidl {
|
|
|
6636
6663
|
/** ContainerPort containerPort. */
|
|
6637
6664
|
public containerPort: number;
|
|
6638
6665
|
|
|
6666
|
+
/** ContainerPort name. */
|
|
6667
|
+
public name: string;
|
|
6668
|
+
|
|
6639
6669
|
/**
|
|
6640
6670
|
* Creates a new ContainerPort instance using the specified properties.
|
|
6641
6671
|
* @param [properties] Properties to set
|
|
@@ -7147,6 +7177,9 @@ export namespace flyteidl {
|
|
|
7147
7177
|
|
|
7148
7178
|
/** Secret mountRequirement */
|
|
7149
7179
|
mountRequirement?: (flyteidl.core.Secret.MountType|null);
|
|
7180
|
+
|
|
7181
|
+
/** Secret envVar */
|
|
7182
|
+
envVar?: (string|null);
|
|
7150
7183
|
}
|
|
7151
7184
|
|
|
7152
7185
|
/** Represents a Secret. */
|
|
@@ -7170,6 +7203,9 @@ export namespace flyteidl {
|
|
|
7170
7203
|
/** Secret mountRequirement. */
|
|
7171
7204
|
public mountRequirement: flyteidl.core.Secret.MountType;
|
|
7172
7205
|
|
|
7206
|
+
/** Secret envVar. */
|
|
7207
|
+
public envVar: string;
|
|
7208
|
+
|
|
7173
7209
|
/**
|
|
7174
7210
|
* Creates a new Secret instance using the specified properties.
|
|
7175
7211
|
* @param [properties] Properties to set
|
|
@@ -8082,6 +8118,9 @@ export namespace flyteidl {
|
|
|
8082
8118
|
|
|
8083
8119
|
/** CloudEventWorkflowExecution launchPlanId */
|
|
8084
8120
|
launchPlanId?: (flyteidl.core.IIdentifier|null);
|
|
8121
|
+
|
|
8122
|
+
/** CloudEventWorkflowExecution labels */
|
|
8123
|
+
labels?: ({ [k: string]: string }|null);
|
|
8085
8124
|
}
|
|
8086
8125
|
|
|
8087
8126
|
/** Represents a CloudEventWorkflowExecution. */
|
|
@@ -8111,6 +8150,9 @@ export namespace flyteidl {
|
|
|
8111
8150
|
/** CloudEventWorkflowExecution launchPlanId. */
|
|
8112
8151
|
public launchPlanId?: (flyteidl.core.IIdentifier|null);
|
|
8113
8152
|
|
|
8153
|
+
/** CloudEventWorkflowExecution labels. */
|
|
8154
|
+
public labels: { [k: string]: string };
|
|
8155
|
+
|
|
8114
8156
|
/**
|
|
8115
8157
|
* Creates a new CloudEventWorkflowExecution instance using the specified properties.
|
|
8116
8158
|
* @param [properties] Properties to set
|
|
@@ -8164,6 +8206,9 @@ export namespace flyteidl {
|
|
|
8164
8206
|
|
|
8165
8207
|
/** CloudEventNodeExecution launchPlanId */
|
|
8166
8208
|
launchPlanId?: (flyteidl.core.IIdentifier|null);
|
|
8209
|
+
|
|
8210
|
+
/** CloudEventNodeExecution labels */
|
|
8211
|
+
labels?: ({ [k: string]: string }|null);
|
|
8167
8212
|
}
|
|
8168
8213
|
|
|
8169
8214
|
/** Represents a CloudEventNodeExecution. */
|
|
@@ -8193,6 +8238,9 @@ export namespace flyteidl {
|
|
|
8193
8238
|
/** CloudEventNodeExecution launchPlanId. */
|
|
8194
8239
|
public launchPlanId?: (flyteidl.core.IIdentifier|null);
|
|
8195
8240
|
|
|
8241
|
+
/** CloudEventNodeExecution labels. */
|
|
8242
|
+
public labels: { [k: string]: string };
|
|
8243
|
+
|
|
8196
8244
|
/**
|
|
8197
8245
|
* Creates a new CloudEventNodeExecution instance using the specified properties.
|
|
8198
8246
|
* @param [properties] Properties to set
|
|
@@ -8231,6 +8279,9 @@ export namespace flyteidl {
|
|
|
8231
8279
|
|
|
8232
8280
|
/** CloudEventTaskExecution rawEvent */
|
|
8233
8281
|
rawEvent?: (flyteidl.event.ITaskExecutionEvent|null);
|
|
8282
|
+
|
|
8283
|
+
/** CloudEventTaskExecution labels */
|
|
8284
|
+
labels?: ({ [k: string]: string }|null);
|
|
8234
8285
|
}
|
|
8235
8286
|
|
|
8236
8287
|
/** Represents a CloudEventTaskExecution. */
|
|
@@ -8245,6 +8296,9 @@ export namespace flyteidl {
|
|
|
8245
8296
|
/** CloudEventTaskExecution rawEvent. */
|
|
8246
8297
|
public rawEvent?: (flyteidl.event.ITaskExecutionEvent|null);
|
|
8247
8298
|
|
|
8299
|
+
/** CloudEventTaskExecution labels. */
|
|
8300
|
+
public labels: { [k: string]: string };
|
|
8301
|
+
|
|
8248
8302
|
/**
|
|
8249
8303
|
* Creates a new CloudEventTaskExecution instance using the specified properties.
|
|
8250
8304
|
* @param [properties] Properties to set
|
|
@@ -9202,6 +9256,12 @@ export namespace flyteidl {
|
|
|
9202
9256
|
|
|
9203
9257
|
/** ExternalResourceInfo logs */
|
|
9204
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);
|
|
9205
9265
|
}
|
|
9206
9266
|
|
|
9207
9267
|
/** Represents an ExternalResourceInfo. */
|
|
@@ -9231,6 +9291,15 @@ export namespace flyteidl {
|
|
|
9231
9291
|
/** ExternalResourceInfo logs. */
|
|
9232
9292
|
public logs: flyteidl.core.ITaskLog[];
|
|
9233
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
|
+
|
|
9234
9303
|
/**
|
|
9235
9304
|
* Creates a new ExternalResourceInfo instance using the specified properties.
|
|
9236
9305
|
* @param [properties] Properties to set
|
|
@@ -16089,6 +16158,9 @@ export namespace flyteidl {
|
|
|
16089
16158
|
|
|
16090
16159
|
/** LaunchPlanSpec executionEnvAssignments */
|
|
16091
16160
|
executionEnvAssignments?: (flyteidl.core.IExecutionEnvAssignment[]|null);
|
|
16161
|
+
|
|
16162
|
+
/** LaunchPlanSpec clusterAssignment */
|
|
16163
|
+
clusterAssignment?: (flyteidl.admin.IClusterAssignment|null);
|
|
16092
16164
|
}
|
|
16093
16165
|
|
|
16094
16166
|
/** Represents a LaunchPlanSpec. */
|
|
@@ -16151,6 +16223,9 @@ export namespace flyteidl {
|
|
|
16151
16223
|
/** LaunchPlanSpec executionEnvAssignments. */
|
|
16152
16224
|
public executionEnvAssignments: flyteidl.core.IExecutionEnvAssignment[];
|
|
16153
16225
|
|
|
16226
|
+
/** LaunchPlanSpec clusterAssignment. */
|
|
16227
|
+
public clusterAssignment?: (flyteidl.admin.IClusterAssignment|null);
|
|
16228
|
+
|
|
16154
16229
|
/**
|
|
16155
16230
|
* Creates a new LaunchPlanSpec instance using the specified properties.
|
|
16156
16231
|
* @param [properties] Properties to set
|
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -9102,6 +9102,7 @@
|
|
|
9102
9102
|
* @property {flyteidl.core.IBindingDataCollection|null} [collection] BindingData collection
|
|
9103
9103
|
* @property {flyteidl.core.IOutputReference|null} [promise] BindingData promise
|
|
9104
9104
|
* @property {flyteidl.core.IBindingDataMap|null} [map] BindingData map
|
|
9105
|
+
* @property {flyteidl.core.ILiteralOffloadedMetadata|null} [offloadedMetadata] BindingData offloadedMetadata
|
|
9105
9106
|
* @property {flyteidl.core.IUnionInfo|null} [union] BindingData union
|
|
9106
9107
|
*/
|
|
9107
9108
|
|
|
@@ -9152,6 +9153,14 @@
|
|
|
9152
9153
|
*/
|
|
9153
9154
|
BindingData.prototype.map = null;
|
|
9154
9155
|
|
|
9156
|
+
/**
|
|
9157
|
+
* BindingData offloadedMetadata.
|
|
9158
|
+
* @member {flyteidl.core.ILiteralOffloadedMetadata|null|undefined} offloadedMetadata
|
|
9159
|
+
* @memberof flyteidl.core.BindingData
|
|
9160
|
+
* @instance
|
|
9161
|
+
*/
|
|
9162
|
+
BindingData.prototype.offloadedMetadata = null;
|
|
9163
|
+
|
|
9155
9164
|
/**
|
|
9156
9165
|
* BindingData union.
|
|
9157
9166
|
* @member {flyteidl.core.IUnionInfo|null|undefined} union
|
|
@@ -9165,12 +9174,12 @@
|
|
|
9165
9174
|
|
|
9166
9175
|
/**
|
|
9167
9176
|
* BindingData value.
|
|
9168
|
-
* @member {"scalar"|"collection"|"promise"|"map"|undefined} value
|
|
9177
|
+
* @member {"scalar"|"collection"|"promise"|"map"|"offloadedMetadata"|undefined} value
|
|
9169
9178
|
* @memberof flyteidl.core.BindingData
|
|
9170
9179
|
* @instance
|
|
9171
9180
|
*/
|
|
9172
9181
|
Object.defineProperty(BindingData.prototype, "value", {
|
|
9173
|
-
get: $util.oneOfGetter($oneOfFields = ["scalar", "collection", "promise", "map"]),
|
|
9182
|
+
get: $util.oneOfGetter($oneOfFields = ["scalar", "collection", "promise", "map", "offloadedMetadata"]),
|
|
9174
9183
|
set: $util.oneOfSetter($oneOfFields)
|
|
9175
9184
|
});
|
|
9176
9185
|
|
|
@@ -9208,6 +9217,8 @@
|
|
|
9208
9217
|
$root.flyteidl.core.BindingDataMap.encode(message.map, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
9209
9218
|
if (message.union != null && message.hasOwnProperty("union"))
|
|
9210
9219
|
$root.flyteidl.core.UnionInfo.encode(message.union, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
9220
|
+
if (message.offloadedMetadata != null && message.hasOwnProperty("offloadedMetadata"))
|
|
9221
|
+
$root.flyteidl.core.LiteralOffloadedMetadata.encode(message.offloadedMetadata, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
9211
9222
|
return writer;
|
|
9212
9223
|
};
|
|
9213
9224
|
|
|
@@ -9241,6 +9252,9 @@
|
|
|
9241
9252
|
case 4:
|
|
9242
9253
|
message.map = $root.flyteidl.core.BindingDataMap.decode(reader, reader.uint32());
|
|
9243
9254
|
break;
|
|
9255
|
+
case 6:
|
|
9256
|
+
message.offloadedMetadata = $root.flyteidl.core.LiteralOffloadedMetadata.decode(reader, reader.uint32());
|
|
9257
|
+
break;
|
|
9244
9258
|
case 5:
|
|
9245
9259
|
message.union = $root.flyteidl.core.UnionInfo.decode(reader, reader.uint32());
|
|
9246
9260
|
break;
|
|
@@ -9302,6 +9316,16 @@
|
|
|
9302
9316
|
return "map." + error;
|
|
9303
9317
|
}
|
|
9304
9318
|
}
|
|
9319
|
+
if (message.offloadedMetadata != null && message.hasOwnProperty("offloadedMetadata")) {
|
|
9320
|
+
if (properties.value === 1)
|
|
9321
|
+
return "value: multiple values";
|
|
9322
|
+
properties.value = 1;
|
|
9323
|
+
{
|
|
9324
|
+
var error = $root.flyteidl.core.LiteralOffloadedMetadata.verify(message.offloadedMetadata);
|
|
9325
|
+
if (error)
|
|
9326
|
+
return "offloadedMetadata." + error;
|
|
9327
|
+
}
|
|
9328
|
+
}
|
|
9305
9329
|
if (message.union != null && message.hasOwnProperty("union")) {
|
|
9306
9330
|
var error = $root.flyteidl.core.UnionInfo.verify(message.union);
|
|
9307
9331
|
if (error)
|
|
@@ -10983,6 +11007,7 @@
|
|
|
10983
11007
|
* @property {number|null} [minSuccessRatio] ArrayNode minSuccessRatio
|
|
10984
11008
|
* @property {flyteidl.core.ArrayNode.ExecutionMode|null} [executionMode] ArrayNode executionMode
|
|
10985
11009
|
* @property {google.protobuf.IBoolValue|null} [isOriginalSubNodeInterface] ArrayNode isOriginalSubNodeInterface
|
|
11010
|
+
* @property {flyteidl.core.ArrayNode.DataMode|null} [dataMode] ArrayNode dataMode
|
|
10986
11011
|
*/
|
|
10987
11012
|
|
|
10988
11013
|
/**
|
|
@@ -11048,6 +11073,14 @@
|
|
|
11048
11073
|
*/
|
|
11049
11074
|
ArrayNode.prototype.isOriginalSubNodeInterface = null;
|
|
11050
11075
|
|
|
11076
|
+
/**
|
|
11077
|
+
* ArrayNode dataMode.
|
|
11078
|
+
* @member {flyteidl.core.ArrayNode.DataMode} dataMode
|
|
11079
|
+
* @memberof flyteidl.core.ArrayNode
|
|
11080
|
+
* @instance
|
|
11081
|
+
*/
|
|
11082
|
+
ArrayNode.prototype.dataMode = 0;
|
|
11083
|
+
|
|
11051
11084
|
// OneOf field names bound to virtual getters and setters
|
|
11052
11085
|
var $oneOfFields;
|
|
11053
11086
|
|
|
@@ -11109,6 +11142,8 @@
|
|
|
11109
11142
|
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.executionMode);
|
|
11110
11143
|
if (message.isOriginalSubNodeInterface != null && message.hasOwnProperty("isOriginalSubNodeInterface"))
|
|
11111
11144
|
$root.google.protobuf.BoolValue.encode(message.isOriginalSubNodeInterface, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
11145
|
+
if (message.dataMode != null && message.hasOwnProperty("dataMode"))
|
|
11146
|
+
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.dataMode);
|
|
11112
11147
|
return writer;
|
|
11113
11148
|
};
|
|
11114
11149
|
|
|
@@ -11148,6 +11183,9 @@
|
|
|
11148
11183
|
case 6:
|
|
11149
11184
|
message.isOriginalSubNodeInterface = $root.google.protobuf.BoolValue.decode(reader, reader.uint32());
|
|
11150
11185
|
break;
|
|
11186
|
+
case 7:
|
|
11187
|
+
message.dataMode = reader.int32();
|
|
11188
|
+
break;
|
|
11151
11189
|
default:
|
|
11152
11190
|
reader.skipType(tag & 7);
|
|
11153
11191
|
break;
|
|
@@ -11203,6 +11241,14 @@
|
|
|
11203
11241
|
if (error)
|
|
11204
11242
|
return "isOriginalSubNodeInterface." + error;
|
|
11205
11243
|
}
|
|
11244
|
+
if (message.dataMode != null && message.hasOwnProperty("dataMode"))
|
|
11245
|
+
switch (message.dataMode) {
|
|
11246
|
+
default:
|
|
11247
|
+
return "dataMode: enum value expected";
|
|
11248
|
+
case 0:
|
|
11249
|
+
case 1:
|
|
11250
|
+
break;
|
|
11251
|
+
}
|
|
11206
11252
|
return null;
|
|
11207
11253
|
};
|
|
11208
11254
|
|
|
@@ -11220,6 +11266,20 @@
|
|
|
11220
11266
|
return values;
|
|
11221
11267
|
})();
|
|
11222
11268
|
|
|
11269
|
+
/**
|
|
11270
|
+
* DataMode enum.
|
|
11271
|
+
* @name flyteidl.core.ArrayNode.DataMode
|
|
11272
|
+
* @enum {string}
|
|
11273
|
+
* @property {number} SINGLE_INPUT_FILE=0 SINGLE_INPUT_FILE value
|
|
11274
|
+
* @property {number} INDIVIDUAL_INPUT_FILES=1 INDIVIDUAL_INPUT_FILES value
|
|
11275
|
+
*/
|
|
11276
|
+
ArrayNode.DataMode = (function() {
|
|
11277
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
11278
|
+
values[valuesById[0] = "SINGLE_INPUT_FILE"] = 0;
|
|
11279
|
+
values[valuesById[1] = "INDIVIDUAL_INPUT_FILES"] = 1;
|
|
11280
|
+
return values;
|
|
11281
|
+
})();
|
|
11282
|
+
|
|
11223
11283
|
return ArrayNode;
|
|
11224
11284
|
})();
|
|
11225
11285
|
|
|
@@ -11236,6 +11296,7 @@
|
|
|
11236
11296
|
* @property {boolean|null} [cacheable] NodeMetadata cacheable
|
|
11237
11297
|
* @property {string|null} [cacheVersion] NodeMetadata cacheVersion
|
|
11238
11298
|
* @property {boolean|null} [cacheSerializable] NodeMetadata cacheSerializable
|
|
11299
|
+
* @property {Object.<string,string>|null} [config] NodeMetadata config
|
|
11239
11300
|
*/
|
|
11240
11301
|
|
|
11241
11302
|
/**
|
|
@@ -11247,6 +11308,7 @@
|
|
|
11247
11308
|
* @param {flyteidl.core.INodeMetadata=} [properties] Properties to set
|
|
11248
11309
|
*/
|
|
11249
11310
|
function NodeMetadata(properties) {
|
|
11311
|
+
this.config = {};
|
|
11250
11312
|
if (properties)
|
|
11251
11313
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
11252
11314
|
if (properties[keys[i]] != null)
|
|
@@ -11309,6 +11371,14 @@
|
|
|
11309
11371
|
*/
|
|
11310
11372
|
NodeMetadata.prototype.cacheSerializable = false;
|
|
11311
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
|
+
|
|
11312
11382
|
// OneOf field names bound to virtual getters and setters
|
|
11313
11383
|
var $oneOfFields;
|
|
11314
11384
|
|
|
@@ -11394,6 +11464,9 @@
|
|
|
11394
11464
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.cacheVersion);
|
|
11395
11465
|
if (message.cacheSerializable != null && message.hasOwnProperty("cacheSerializable"))
|
|
11396
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();
|
|
11397
11470
|
return writer;
|
|
11398
11471
|
};
|
|
11399
11472
|
|
|
@@ -11411,7 +11484,7 @@
|
|
|
11411
11484
|
NodeMetadata.decode = function decode(reader, length) {
|
|
11412
11485
|
if (!(reader instanceof $Reader))
|
|
11413
11486
|
reader = $Reader.create(reader);
|
|
11414
|
-
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;
|
|
11415
11488
|
while (reader.pos < end) {
|
|
11416
11489
|
var tag = reader.uint32();
|
|
11417
11490
|
switch (tag >>> 3) {
|
|
@@ -11436,6 +11509,14 @@
|
|
|
11436
11509
|
case 9:
|
|
11437
11510
|
message.cacheSerializable = reader.bool();
|
|
11438
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;
|
|
11439
11520
|
default:
|
|
11440
11521
|
reader.skipType(tag & 7);
|
|
11441
11522
|
break;
|
|
@@ -11489,6 +11570,14 @@
|
|
|
11489
11570
|
if (typeof message.cacheSerializable !== "boolean")
|
|
11490
11571
|
return "cacheSerializable: boolean expected";
|
|
11491
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
|
+
}
|
|
11492
11581
|
return null;
|
|
11493
11582
|
};
|
|
11494
11583
|
|
|
@@ -15317,11 +15406,11 @@
|
|
|
15317
15406
|
* @property {string|null} [deprecatedErrorMessage] TaskMetadata deprecatedErrorMessage
|
|
15318
15407
|
* @property {boolean|null} [interruptible] TaskMetadata interruptible
|
|
15319
15408
|
* @property {boolean|null} [cacheSerializable] TaskMetadata cacheSerializable
|
|
15320
|
-
* @property {boolean|null} [generatesDeck] TaskMetadata generatesDeck
|
|
15321
15409
|
* @property {Object.<string,string>|null} [tags] TaskMetadata tags
|
|
15322
15410
|
* @property {string|null} [podTemplateName] TaskMetadata podTemplateName
|
|
15323
15411
|
* @property {Array.<string>|null} [cacheIgnoreInputVars] TaskMetadata cacheIgnoreInputVars
|
|
15324
15412
|
* @property {boolean|null} [isEager] TaskMetadata isEager
|
|
15413
|
+
* @property {google.protobuf.IBoolValue|null} [generatesDeck] TaskMetadata generatesDeck
|
|
15325
15414
|
*/
|
|
15326
15415
|
|
|
15327
15416
|
/**
|
|
@@ -15405,14 +15494,6 @@
|
|
|
15405
15494
|
*/
|
|
15406
15495
|
TaskMetadata.prototype.cacheSerializable = false;
|
|
15407
15496
|
|
|
15408
|
-
/**
|
|
15409
|
-
* TaskMetadata generatesDeck.
|
|
15410
|
-
* @member {boolean} generatesDeck
|
|
15411
|
-
* @memberof flyteidl.core.TaskMetadata
|
|
15412
|
-
* @instance
|
|
15413
|
-
*/
|
|
15414
|
-
TaskMetadata.prototype.generatesDeck = false;
|
|
15415
|
-
|
|
15416
15497
|
/**
|
|
15417
15498
|
* TaskMetadata tags.
|
|
15418
15499
|
* @member {Object.<string,string>} tags
|
|
@@ -15445,6 +15526,14 @@
|
|
|
15445
15526
|
*/
|
|
15446
15527
|
TaskMetadata.prototype.isEager = false;
|
|
15447
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
|
+
|
|
15448
15537
|
// OneOf field names bound to virtual getters and setters
|
|
15449
15538
|
var $oneOfFields;
|
|
15450
15539
|
|
|
@@ -15499,8 +15588,6 @@
|
|
|
15499
15588
|
writer.uint32(/* id 8, wireType 0 =*/64).bool(message.interruptible);
|
|
15500
15589
|
if (message.cacheSerializable != null && message.hasOwnProperty("cacheSerializable"))
|
|
15501
15590
|
writer.uint32(/* id 9, wireType 0 =*/72).bool(message.cacheSerializable);
|
|
15502
|
-
if (message.generatesDeck != null && message.hasOwnProperty("generatesDeck"))
|
|
15503
|
-
writer.uint32(/* id 10, wireType 0 =*/80).bool(message.generatesDeck);
|
|
15504
15591
|
if (message.tags != null && message.hasOwnProperty("tags"))
|
|
15505
15592
|
for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i)
|
|
15506
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();
|
|
@@ -15511,6 +15598,8 @@
|
|
|
15511
15598
|
writer.uint32(/* id 13, wireType 2 =*/106).string(message.cacheIgnoreInputVars[i]);
|
|
15512
15599
|
if (message.isEager != null && message.hasOwnProperty("isEager"))
|
|
15513
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();
|
|
15514
15603
|
return writer;
|
|
15515
15604
|
};
|
|
15516
15605
|
|
|
@@ -15556,9 +15645,6 @@
|
|
|
15556
15645
|
case 9:
|
|
15557
15646
|
message.cacheSerializable = reader.bool();
|
|
15558
15647
|
break;
|
|
15559
|
-
case 10:
|
|
15560
|
-
message.generatesDeck = reader.bool();
|
|
15561
|
-
break;
|
|
15562
15648
|
case 11:
|
|
15563
15649
|
reader.skip().pos++;
|
|
15564
15650
|
if (message.tags === $util.emptyObject)
|
|
@@ -15578,6 +15664,9 @@
|
|
|
15578
15664
|
case 14:
|
|
15579
15665
|
message.isEager = reader.bool();
|
|
15580
15666
|
break;
|
|
15667
|
+
case 15:
|
|
15668
|
+
message.generatesDeck = $root.google.protobuf.BoolValue.decode(reader, reader.uint32());
|
|
15669
|
+
break;
|
|
15581
15670
|
default:
|
|
15582
15671
|
reader.skipType(tag & 7);
|
|
15583
15672
|
break;
|
|
@@ -15630,9 +15719,6 @@
|
|
|
15630
15719
|
if (message.cacheSerializable != null && message.hasOwnProperty("cacheSerializable"))
|
|
15631
15720
|
if (typeof message.cacheSerializable !== "boolean")
|
|
15632
15721
|
return "cacheSerializable: boolean expected";
|
|
15633
|
-
if (message.generatesDeck != null && message.hasOwnProperty("generatesDeck"))
|
|
15634
|
-
if (typeof message.generatesDeck !== "boolean")
|
|
15635
|
-
return "generatesDeck: boolean expected";
|
|
15636
15722
|
if (message.tags != null && message.hasOwnProperty("tags")) {
|
|
15637
15723
|
if (!$util.isObject(message.tags))
|
|
15638
15724
|
return "tags: object expected";
|
|
@@ -15654,6 +15740,11 @@
|
|
|
15654
15740
|
if (message.isEager != null && message.hasOwnProperty("isEager"))
|
|
15655
15741
|
if (typeof message.isEager !== "boolean")
|
|
15656
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
|
+
}
|
|
15657
15748
|
return null;
|
|
15658
15749
|
};
|
|
15659
15750
|
|
|
@@ -16022,6 +16113,7 @@
|
|
|
16022
16113
|
* @memberof flyteidl.core
|
|
16023
16114
|
* @interface IContainerPort
|
|
16024
16115
|
* @property {number|null} [containerPort] ContainerPort containerPort
|
|
16116
|
+
* @property {string|null} [name] ContainerPort name
|
|
16025
16117
|
*/
|
|
16026
16118
|
|
|
16027
16119
|
/**
|
|
@@ -16047,6 +16139,14 @@
|
|
|
16047
16139
|
*/
|
|
16048
16140
|
ContainerPort.prototype.containerPort = 0;
|
|
16049
16141
|
|
|
16142
|
+
/**
|
|
16143
|
+
* ContainerPort name.
|
|
16144
|
+
* @member {string} name
|
|
16145
|
+
* @memberof flyteidl.core.ContainerPort
|
|
16146
|
+
* @instance
|
|
16147
|
+
*/
|
|
16148
|
+
ContainerPort.prototype.name = "";
|
|
16149
|
+
|
|
16050
16150
|
/**
|
|
16051
16151
|
* Creates a new ContainerPort instance using the specified properties.
|
|
16052
16152
|
* @function create
|
|
@@ -16073,6 +16173,8 @@
|
|
|
16073
16173
|
writer = $Writer.create();
|
|
16074
16174
|
if (message.containerPort != null && message.hasOwnProperty("containerPort"))
|
|
16075
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);
|
|
16076
16178
|
return writer;
|
|
16077
16179
|
};
|
|
16078
16180
|
|
|
@@ -16097,6 +16199,9 @@
|
|
|
16097
16199
|
case 1:
|
|
16098
16200
|
message.containerPort = reader.uint32();
|
|
16099
16201
|
break;
|
|
16202
|
+
case 2:
|
|
16203
|
+
message.name = reader.string();
|
|
16204
|
+
break;
|
|
16100
16205
|
default:
|
|
16101
16206
|
reader.skipType(tag & 7);
|
|
16102
16207
|
break;
|
|
@@ -16119,6 +16224,9 @@
|
|
|
16119
16224
|
if (message.containerPort != null && message.hasOwnProperty("containerPort"))
|
|
16120
16225
|
if (!$util.isInteger(message.containerPort))
|
|
16121
16226
|
return "containerPort: integer expected";
|
|
16227
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
16228
|
+
if (!$util.isString(message.name))
|
|
16229
|
+
return "name: string expected";
|
|
16122
16230
|
return null;
|
|
16123
16231
|
};
|
|
16124
16232
|
|
|
@@ -17285,6 +17393,7 @@
|
|
|
17285
17393
|
* @property {string|null} [groupVersion] Secret groupVersion
|
|
17286
17394
|
* @property {string|null} [key] Secret key
|
|
17287
17395
|
* @property {flyteidl.core.Secret.MountType|null} [mountRequirement] Secret mountRequirement
|
|
17396
|
+
* @property {string|null} [envVar] Secret envVar
|
|
17288
17397
|
*/
|
|
17289
17398
|
|
|
17290
17399
|
/**
|
|
@@ -17334,6 +17443,14 @@
|
|
|
17334
17443
|
*/
|
|
17335
17444
|
Secret.prototype.mountRequirement = 0;
|
|
17336
17445
|
|
|
17446
|
+
/**
|
|
17447
|
+
* Secret envVar.
|
|
17448
|
+
* @member {string} envVar
|
|
17449
|
+
* @memberof flyteidl.core.Secret
|
|
17450
|
+
* @instance
|
|
17451
|
+
*/
|
|
17452
|
+
Secret.prototype.envVar = "";
|
|
17453
|
+
|
|
17337
17454
|
/**
|
|
17338
17455
|
* Creates a new Secret instance using the specified properties.
|
|
17339
17456
|
* @function create
|
|
@@ -17366,6 +17483,8 @@
|
|
|
17366
17483
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.key);
|
|
17367
17484
|
if (message.mountRequirement != null && message.hasOwnProperty("mountRequirement"))
|
|
17368
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);
|
|
17369
17488
|
return writer;
|
|
17370
17489
|
};
|
|
17371
17490
|
|
|
@@ -17399,6 +17518,9 @@
|
|
|
17399
17518
|
case 4:
|
|
17400
17519
|
message.mountRequirement = reader.int32();
|
|
17401
17520
|
break;
|
|
17521
|
+
case 5:
|
|
17522
|
+
message.envVar = reader.string();
|
|
17523
|
+
break;
|
|
17402
17524
|
default:
|
|
17403
17525
|
reader.skipType(tag & 7);
|
|
17404
17526
|
break;
|
|
@@ -17436,6 +17558,9 @@
|
|
|
17436
17558
|
case 2:
|
|
17437
17559
|
break;
|
|
17438
17560
|
}
|
|
17561
|
+
if (message.envVar != null && message.hasOwnProperty("envVar"))
|
|
17562
|
+
if (!$util.isString(message.envVar))
|
|
17563
|
+
return "envVar: string expected";
|
|
17439
17564
|
return null;
|
|
17440
17565
|
};
|
|
17441
17566
|
|
|
@@ -19579,6 +19704,7 @@
|
|
|
19579
19704
|
* @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [referenceExecution] CloudEventWorkflowExecution referenceExecution
|
|
19580
19705
|
* @property {string|null} [principal] CloudEventWorkflowExecution principal
|
|
19581
19706
|
* @property {flyteidl.core.IIdentifier|null} [launchPlanId] CloudEventWorkflowExecution launchPlanId
|
|
19707
|
+
* @property {Object.<string,string>|null} [labels] CloudEventWorkflowExecution labels
|
|
19582
19708
|
*/
|
|
19583
19709
|
|
|
19584
19710
|
/**
|
|
@@ -19591,6 +19717,7 @@
|
|
|
19591
19717
|
*/
|
|
19592
19718
|
function CloudEventWorkflowExecution(properties) {
|
|
19593
19719
|
this.artifactIds = [];
|
|
19720
|
+
this.labels = {};
|
|
19594
19721
|
if (properties)
|
|
19595
19722
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
19596
19723
|
if (properties[keys[i]] != null)
|
|
@@ -19645,6 +19772,14 @@
|
|
|
19645
19772
|
*/
|
|
19646
19773
|
CloudEventWorkflowExecution.prototype.launchPlanId = null;
|
|
19647
19774
|
|
|
19775
|
+
/**
|
|
19776
|
+
* CloudEventWorkflowExecution labels.
|
|
19777
|
+
* @member {Object.<string,string>} labels
|
|
19778
|
+
* @memberof flyteidl.event.CloudEventWorkflowExecution
|
|
19779
|
+
* @instance
|
|
19780
|
+
*/
|
|
19781
|
+
CloudEventWorkflowExecution.prototype.labels = $util.emptyObject;
|
|
19782
|
+
|
|
19648
19783
|
/**
|
|
19649
19784
|
* Creates a new CloudEventWorkflowExecution instance using the specified properties.
|
|
19650
19785
|
* @function create
|
|
@@ -19682,6 +19817,9 @@
|
|
|
19682
19817
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.principal);
|
|
19683
19818
|
if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId"))
|
|
19684
19819
|
$root.flyteidl.core.Identifier.encode(message.launchPlanId, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
19820
|
+
if (message.labels != null && message.hasOwnProperty("labels"))
|
|
19821
|
+
for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i)
|
|
19822
|
+
writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim();
|
|
19685
19823
|
return writer;
|
|
19686
19824
|
};
|
|
19687
19825
|
|
|
@@ -19699,7 +19837,7 @@
|
|
|
19699
19837
|
CloudEventWorkflowExecution.decode = function decode(reader, length) {
|
|
19700
19838
|
if (!(reader instanceof $Reader))
|
|
19701
19839
|
reader = $Reader.create(reader);
|
|
19702
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventWorkflowExecution();
|
|
19840
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventWorkflowExecution(), key;
|
|
19703
19841
|
while (reader.pos < end) {
|
|
19704
19842
|
var tag = reader.uint32();
|
|
19705
19843
|
switch (tag >>> 3) {
|
|
@@ -19723,6 +19861,14 @@
|
|
|
19723
19861
|
case 6:
|
|
19724
19862
|
message.launchPlanId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32());
|
|
19725
19863
|
break;
|
|
19864
|
+
case 7:
|
|
19865
|
+
reader.skip().pos++;
|
|
19866
|
+
if (message.labels === $util.emptyObject)
|
|
19867
|
+
message.labels = {};
|
|
19868
|
+
key = reader.string();
|
|
19869
|
+
reader.pos++;
|
|
19870
|
+
message.labels[key] = reader.string();
|
|
19871
|
+
break;
|
|
19726
19872
|
default:
|
|
19727
19873
|
reader.skipType(tag & 7);
|
|
19728
19874
|
break;
|
|
@@ -19774,6 +19920,14 @@
|
|
|
19774
19920
|
if (error)
|
|
19775
19921
|
return "launchPlanId." + error;
|
|
19776
19922
|
}
|
|
19923
|
+
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
19924
|
+
if (!$util.isObject(message.labels))
|
|
19925
|
+
return "labels: object expected";
|
|
19926
|
+
var key = Object.keys(message.labels);
|
|
19927
|
+
for (var i = 0; i < key.length; ++i)
|
|
19928
|
+
if (!$util.isString(message.labels[key[i]]))
|
|
19929
|
+
return "labels: string{k:string} expected";
|
|
19930
|
+
}
|
|
19777
19931
|
return null;
|
|
19778
19932
|
};
|
|
19779
19933
|
|
|
@@ -19792,6 +19946,7 @@
|
|
|
19792
19946
|
* @property {Array.<flyteidl.core.IArtifactID>|null} [artifactIds] CloudEventNodeExecution artifactIds
|
|
19793
19947
|
* @property {string|null} [principal] CloudEventNodeExecution principal
|
|
19794
19948
|
* @property {flyteidl.core.IIdentifier|null} [launchPlanId] CloudEventNodeExecution launchPlanId
|
|
19949
|
+
* @property {Object.<string,string>|null} [labels] CloudEventNodeExecution labels
|
|
19795
19950
|
*/
|
|
19796
19951
|
|
|
19797
19952
|
/**
|
|
@@ -19804,6 +19959,7 @@
|
|
|
19804
19959
|
*/
|
|
19805
19960
|
function CloudEventNodeExecution(properties) {
|
|
19806
19961
|
this.artifactIds = [];
|
|
19962
|
+
this.labels = {};
|
|
19807
19963
|
if (properties)
|
|
19808
19964
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
19809
19965
|
if (properties[keys[i]] != null)
|
|
@@ -19858,6 +20014,14 @@
|
|
|
19858
20014
|
*/
|
|
19859
20015
|
CloudEventNodeExecution.prototype.launchPlanId = null;
|
|
19860
20016
|
|
|
20017
|
+
/**
|
|
20018
|
+
* CloudEventNodeExecution labels.
|
|
20019
|
+
* @member {Object.<string,string>} labels
|
|
20020
|
+
* @memberof flyteidl.event.CloudEventNodeExecution
|
|
20021
|
+
* @instance
|
|
20022
|
+
*/
|
|
20023
|
+
CloudEventNodeExecution.prototype.labels = $util.emptyObject;
|
|
20024
|
+
|
|
19861
20025
|
/**
|
|
19862
20026
|
* Creates a new CloudEventNodeExecution instance using the specified properties.
|
|
19863
20027
|
* @function create
|
|
@@ -19895,6 +20059,9 @@
|
|
|
19895
20059
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.principal);
|
|
19896
20060
|
if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId"))
|
|
19897
20061
|
$root.flyteidl.core.Identifier.encode(message.launchPlanId, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
20062
|
+
if (message.labels != null && message.hasOwnProperty("labels"))
|
|
20063
|
+
for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i)
|
|
20064
|
+
writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim();
|
|
19898
20065
|
return writer;
|
|
19899
20066
|
};
|
|
19900
20067
|
|
|
@@ -19912,7 +20079,7 @@
|
|
|
19912
20079
|
CloudEventNodeExecution.decode = function decode(reader, length) {
|
|
19913
20080
|
if (!(reader instanceof $Reader))
|
|
19914
20081
|
reader = $Reader.create(reader);
|
|
19915
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventNodeExecution();
|
|
20082
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventNodeExecution(), key;
|
|
19916
20083
|
while (reader.pos < end) {
|
|
19917
20084
|
var tag = reader.uint32();
|
|
19918
20085
|
switch (tag >>> 3) {
|
|
@@ -19936,6 +20103,14 @@
|
|
|
19936
20103
|
case 6:
|
|
19937
20104
|
message.launchPlanId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32());
|
|
19938
20105
|
break;
|
|
20106
|
+
case 7:
|
|
20107
|
+
reader.skip().pos++;
|
|
20108
|
+
if (message.labels === $util.emptyObject)
|
|
20109
|
+
message.labels = {};
|
|
20110
|
+
key = reader.string();
|
|
20111
|
+
reader.pos++;
|
|
20112
|
+
message.labels[key] = reader.string();
|
|
20113
|
+
break;
|
|
19939
20114
|
default:
|
|
19940
20115
|
reader.skipType(tag & 7);
|
|
19941
20116
|
break;
|
|
@@ -19987,6 +20162,14 @@
|
|
|
19987
20162
|
if (error)
|
|
19988
20163
|
return "launchPlanId." + error;
|
|
19989
20164
|
}
|
|
20165
|
+
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
20166
|
+
if (!$util.isObject(message.labels))
|
|
20167
|
+
return "labels: object expected";
|
|
20168
|
+
var key = Object.keys(message.labels);
|
|
20169
|
+
for (var i = 0; i < key.length; ++i)
|
|
20170
|
+
if (!$util.isString(message.labels[key[i]]))
|
|
20171
|
+
return "labels: string{k:string} expected";
|
|
20172
|
+
}
|
|
19990
20173
|
return null;
|
|
19991
20174
|
};
|
|
19992
20175
|
|
|
@@ -20000,6 +20183,7 @@
|
|
|
20000
20183
|
* @memberof flyteidl.event
|
|
20001
20184
|
* @interface ICloudEventTaskExecution
|
|
20002
20185
|
* @property {flyteidl.event.ITaskExecutionEvent|null} [rawEvent] CloudEventTaskExecution rawEvent
|
|
20186
|
+
* @property {Object.<string,string>|null} [labels] CloudEventTaskExecution labels
|
|
20003
20187
|
*/
|
|
20004
20188
|
|
|
20005
20189
|
/**
|
|
@@ -20011,6 +20195,7 @@
|
|
|
20011
20195
|
* @param {flyteidl.event.ICloudEventTaskExecution=} [properties] Properties to set
|
|
20012
20196
|
*/
|
|
20013
20197
|
function CloudEventTaskExecution(properties) {
|
|
20198
|
+
this.labels = {};
|
|
20014
20199
|
if (properties)
|
|
20015
20200
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
20016
20201
|
if (properties[keys[i]] != null)
|
|
@@ -20025,6 +20210,14 @@
|
|
|
20025
20210
|
*/
|
|
20026
20211
|
CloudEventTaskExecution.prototype.rawEvent = null;
|
|
20027
20212
|
|
|
20213
|
+
/**
|
|
20214
|
+
* CloudEventTaskExecution labels.
|
|
20215
|
+
* @member {Object.<string,string>} labels
|
|
20216
|
+
* @memberof flyteidl.event.CloudEventTaskExecution
|
|
20217
|
+
* @instance
|
|
20218
|
+
*/
|
|
20219
|
+
CloudEventTaskExecution.prototype.labels = $util.emptyObject;
|
|
20220
|
+
|
|
20028
20221
|
/**
|
|
20029
20222
|
* Creates a new CloudEventTaskExecution instance using the specified properties.
|
|
20030
20223
|
* @function create
|
|
@@ -20051,6 +20244,9 @@
|
|
|
20051
20244
|
writer = $Writer.create();
|
|
20052
20245
|
if (message.rawEvent != null && message.hasOwnProperty("rawEvent"))
|
|
20053
20246
|
$root.flyteidl.event.TaskExecutionEvent.encode(message.rawEvent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
20247
|
+
if (message.labels != null && message.hasOwnProperty("labels"))
|
|
20248
|
+
for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i)
|
|
20249
|
+
writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim();
|
|
20054
20250
|
return writer;
|
|
20055
20251
|
};
|
|
20056
20252
|
|
|
@@ -20068,13 +20264,21 @@
|
|
|
20068
20264
|
CloudEventTaskExecution.decode = function decode(reader, length) {
|
|
20069
20265
|
if (!(reader instanceof $Reader))
|
|
20070
20266
|
reader = $Reader.create(reader);
|
|
20071
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventTaskExecution();
|
|
20267
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventTaskExecution(), key;
|
|
20072
20268
|
while (reader.pos < end) {
|
|
20073
20269
|
var tag = reader.uint32();
|
|
20074
20270
|
switch (tag >>> 3) {
|
|
20075
20271
|
case 1:
|
|
20076
20272
|
message.rawEvent = $root.flyteidl.event.TaskExecutionEvent.decode(reader, reader.uint32());
|
|
20077
20273
|
break;
|
|
20274
|
+
case 2:
|
|
20275
|
+
reader.skip().pos++;
|
|
20276
|
+
if (message.labels === $util.emptyObject)
|
|
20277
|
+
message.labels = {};
|
|
20278
|
+
key = reader.string();
|
|
20279
|
+
reader.pos++;
|
|
20280
|
+
message.labels[key] = reader.string();
|
|
20281
|
+
break;
|
|
20078
20282
|
default:
|
|
20079
20283
|
reader.skipType(tag & 7);
|
|
20080
20284
|
break;
|
|
@@ -20099,6 +20303,14 @@
|
|
|
20099
20303
|
if (error)
|
|
20100
20304
|
return "rawEvent." + error;
|
|
20101
20305
|
}
|
|
20306
|
+
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
20307
|
+
if (!$util.isObject(message.labels))
|
|
20308
|
+
return "labels: object expected";
|
|
20309
|
+
var key = Object.keys(message.labels);
|
|
20310
|
+
for (var i = 0; i < key.length; ++i)
|
|
20311
|
+
if (!$util.isString(message.labels[key[i]]))
|
|
20312
|
+
return "labels: string{k:string} expected";
|
|
20313
|
+
}
|
|
20102
20314
|
return null;
|
|
20103
20315
|
};
|
|
20104
20316
|
|
|
@@ -22553,6 +22765,8 @@
|
|
|
22553
22765
|
* @property {flyteidl.core.TaskExecution.Phase|null} [phase] ExternalResourceInfo phase
|
|
22554
22766
|
* @property {flyteidl.core.CatalogCacheStatus|null} [cacheStatus] ExternalResourceInfo cacheStatus
|
|
22555
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
|
|
22556
22770
|
*/
|
|
22557
22771
|
|
|
22558
22772
|
/**
|
|
@@ -22619,6 +22833,36 @@
|
|
|
22619
22833
|
*/
|
|
22620
22834
|
ExternalResourceInfo.prototype.logs = $util.emptyArray;
|
|
22621
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
|
+
|
|
22622
22866
|
/**
|
|
22623
22867
|
* Creates a new ExternalResourceInfo instance using the specified properties.
|
|
22624
22868
|
* @function create
|
|
@@ -22656,6 +22900,10 @@
|
|
|
22656
22900
|
if (message.logs != null && message.logs.length)
|
|
22657
22901
|
for (var i = 0; i < message.logs.length; ++i)
|
|
22658
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();
|
|
22659
22907
|
return writer;
|
|
22660
22908
|
};
|
|
22661
22909
|
|
|
@@ -22697,6 +22945,12 @@
|
|
|
22697
22945
|
message.logs = [];
|
|
22698
22946
|
message.logs.push($root.flyteidl.core.TaskLog.decode(reader, reader.uint32()));
|
|
22699
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;
|
|
22700
22954
|
default:
|
|
22701
22955
|
reader.skipType(tag & 7);
|
|
22702
22956
|
break;
|
|
@@ -22716,6 +22970,7 @@
|
|
|
22716
22970
|
ExternalResourceInfo.verify = function verify(message) {
|
|
22717
22971
|
if (typeof message !== "object" || message === null)
|
|
22718
22972
|
return "object expected";
|
|
22973
|
+
var properties = {};
|
|
22719
22974
|
if (message.externalId != null && message.hasOwnProperty("externalId"))
|
|
22720
22975
|
if (!$util.isString(message.externalId))
|
|
22721
22976
|
return "externalId: string expected";
|
|
@@ -22762,6 +23017,19 @@
|
|
|
22762
23017
|
return "logs." + error;
|
|
22763
23018
|
}
|
|
22764
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
|
+
}
|
|
22765
23033
|
return null;
|
|
22766
23034
|
};
|
|
22767
23035
|
|
|
@@ -38879,6 +39147,7 @@
|
|
|
38879
39147
|
* @property {boolean|null} [overwriteCache] LaunchPlanSpec overwriteCache
|
|
38880
39148
|
* @property {flyteidl.admin.IEnvs|null} [envs] LaunchPlanSpec envs
|
|
38881
39149
|
* @property {Array.<flyteidl.core.IExecutionEnvAssignment>|null} [executionEnvAssignments] LaunchPlanSpec executionEnvAssignments
|
|
39150
|
+
* @property {flyteidl.admin.IClusterAssignment|null} [clusterAssignment] LaunchPlanSpec clusterAssignment
|
|
38882
39151
|
*/
|
|
38883
39152
|
|
|
38884
39153
|
/**
|
|
@@ -39033,6 +39302,14 @@
|
|
|
39033
39302
|
*/
|
|
39034
39303
|
LaunchPlanSpec.prototype.executionEnvAssignments = $util.emptyArray;
|
|
39035
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
|
+
|
|
39036
39313
|
/**
|
|
39037
39314
|
* Creates a new LaunchPlanSpec instance using the specified properties.
|
|
39038
39315
|
* @function create
|
|
@@ -39092,6 +39369,8 @@
|
|
|
39092
39369
|
if (message.executionEnvAssignments != null && message.executionEnvAssignments.length)
|
|
39093
39370
|
for (var i = 0; i < message.executionEnvAssignments.length; ++i)
|
|
39094
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();
|
|
39095
39374
|
return writer;
|
|
39096
39375
|
};
|
|
39097
39376
|
|
|
@@ -39166,6 +39445,9 @@
|
|
|
39166
39445
|
message.executionEnvAssignments = [];
|
|
39167
39446
|
message.executionEnvAssignments.push($root.flyteidl.core.ExecutionEnvAssignment.decode(reader, reader.uint32()));
|
|
39168
39447
|
break;
|
|
39448
|
+
case 23:
|
|
39449
|
+
message.clusterAssignment = $root.flyteidl.admin.ClusterAssignment.decode(reader, reader.uint32());
|
|
39450
|
+
break;
|
|
39169
39451
|
default:
|
|
39170
39452
|
reader.skipType(tag & 7);
|
|
39171
39453
|
break;
|
|
@@ -39268,6 +39550,11 @@
|
|
|
39268
39550
|
return "executionEnvAssignments." + error;
|
|
39269
39551
|
}
|
|
39270
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
|
+
}
|
|
39271
39558
|
return null;
|
|
39272
39559
|
};
|
|
39273
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.
|
|
@@ -169,6 +169,11 @@ message BindingData {
|
|
|
169
169
|
|
|
170
170
|
// A map of bindings. The key is always a string.
|
|
171
171
|
BindingDataMap map = 4;
|
|
172
|
+
|
|
173
|
+
// Offloaded literal metadata
|
|
174
|
+
// When you deserialize the offloaded metadata, it would be of Literal and its type would be defined by LiteralType stored in offloaded_metadata.
|
|
175
|
+
// Used for nodes that don't have promises from upstream nodes such as ArrayNode subNodes.
|
|
176
|
+
LiteralOffloadedMetadata offloaded_metadata = 6;
|
|
172
177
|
}
|
|
173
178
|
|
|
174
179
|
UnionInfo union = 5;
|
|
@@ -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 {
|
|
@@ -150,6 +150,23 @@ message ArrayNode {
|
|
|
150
150
|
|
|
151
151
|
// Indicates whether the sub node's original interface was altered
|
|
152
152
|
google.protobuf.BoolValue is_original_sub_node_interface = 6;
|
|
153
|
+
|
|
154
|
+
enum DataMode {
|
|
155
|
+
// Indicates the ArrayNode's input is a list of input values that map to subNode executions.
|
|
156
|
+
// The file path set for the subNode will be the ArrayNode's input file, but the in-memory
|
|
157
|
+
// value utilized in propeller will be the individual value for each subNode execution.
|
|
158
|
+
// SubNode executions need to be able to read in and parse the individual value to execute correctly.
|
|
159
|
+
SINGLE_INPUT_FILE = 0;
|
|
160
|
+
|
|
161
|
+
// Indicates the ArrayNode's input is a list of input values that map to subNode executions.
|
|
162
|
+
// Propeller will create input files for each ArrayNode subNode by parsing the inputs and
|
|
163
|
+
// setting the InputBindings on each subNodeSpec. Both the file path and in-memory input values will
|
|
164
|
+
// be the individual value for each subNode execution.
|
|
165
|
+
INDIVIDUAL_INPUT_FILES = 1;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// data_mode determines how input data is passed to the sub-nodes
|
|
169
|
+
DataMode data_mode = 7;
|
|
153
170
|
}
|
|
154
171
|
|
|
155
172
|
// Defines extra information about the Node.
|
|
@@ -182,6 +199,9 @@ message NodeMetadata {
|
|
|
182
199
|
oneof cache_serializable_value {
|
|
183
200
|
bool cache_serializable = 9;
|
|
184
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;
|
|
185
205
|
}
|
|
186
206
|
|
|
187
207
|
// Links a variable to an alias.
|
|
@@ -28,6 +28,9 @@ message CloudEventWorkflowExecution {
|
|
|
28
28
|
// Here for provenance information.
|
|
29
29
|
// Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
|
|
30
30
|
core.Identifier launch_plan_id = 6;
|
|
31
|
+
|
|
32
|
+
// We can't have the ExecutionMetadata object directly because of import cycle
|
|
33
|
+
map<string,string> labels = 7;
|
|
31
34
|
}
|
|
32
35
|
|
|
33
36
|
message CloudEventNodeExecution {
|
|
@@ -48,10 +51,15 @@ message CloudEventNodeExecution {
|
|
|
48
51
|
// Here for provenance information.
|
|
49
52
|
// Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
|
|
50
53
|
core.Identifier launch_plan_id = 6;
|
|
54
|
+
|
|
55
|
+
// We can't have the ExecutionMetadata object directly because of import cycle
|
|
56
|
+
map<string,string> labels = 7;
|
|
51
57
|
}
|
|
52
58
|
|
|
53
59
|
message CloudEventTaskExecution {
|
|
54
60
|
event.TaskExecutionEvent raw_event = 1;
|
|
61
|
+
// We can't have the ExecutionMetadata object directly because of import cycle
|
|
62
|
+
map<string,string> labels = 2;
|
|
55
63
|
}
|
|
56
64
|
|
|
57
65
|
// This event is to be sent by Admin after it creates an execution.
|
|
@@ -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
|
|