@flyteorg/flyteidl 1.2.7 → 1.2.9
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 +42 -0
- package/gen/pb-js/flyteidl.js +172 -4
- package/package.json +1 -1
- package/protos/docs/core/core.rst +46 -0
- package/protos/docs/plugins/plugins.rst +95 -0
- package/protos/flyteidl/core/tasks.proto +8 -0
- package/protos/flyteidl/core/workflow.proto +3 -0
- package/protos/flyteidl/datacatalog/datacatalog.proto +24 -3
- package/protos/flyteidl/event/event.proto +15 -4
- package/protos/flyteidl/plugins/dask.proto +41 -0
- package/protos/flyteidl/plugins/spark.proto +10 -0
- package/protos/flyteidl/service/admin.proto +201 -201
- package/protos/flyteidl/service/auth.proto +7 -7
- package/protos/flyteidl/service/dataproxy.proto +10 -10
- package/protos/flyteidl/service/identity.proto +8 -4
- package/protos/flyteidl/service/signal.proto +22 -22
package/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -1597,6 +1597,9 @@ export namespace flyteidl {
|
|
|
1597
1597
|
|
|
1598
1598
|
/** WorkflowMetadata onFailure */
|
|
1599
1599
|
onFailure?: (flyteidl.core.WorkflowMetadata.OnFailurePolicy|null);
|
|
1600
|
+
|
|
1601
|
+
/** WorkflowMetadata tags */
|
|
1602
|
+
tags?: ({ [k: string]: string }|null);
|
|
1600
1603
|
}
|
|
1601
1604
|
|
|
1602
1605
|
/** Represents a WorkflowMetadata. */
|
|
@@ -1614,6 +1617,9 @@ export namespace flyteidl {
|
|
|
1614
1617
|
/** WorkflowMetadata onFailure. */
|
|
1615
1618
|
public onFailure: flyteidl.core.WorkflowMetadata.OnFailurePolicy;
|
|
1616
1619
|
|
|
1620
|
+
/** WorkflowMetadata tags. */
|
|
1621
|
+
public tags: { [k: string]: string };
|
|
1622
|
+
|
|
1617
1623
|
/**
|
|
1618
1624
|
* Creates a new WorkflowMetadata instance using the specified properties.
|
|
1619
1625
|
* @param [properties] Properties to set
|
|
@@ -5095,6 +5101,12 @@ export namespace flyteidl {
|
|
|
5095
5101
|
|
|
5096
5102
|
/** TaskMetadata generatesDeck */
|
|
5097
5103
|
generatesDeck?: (boolean|null);
|
|
5104
|
+
|
|
5105
|
+
/** TaskMetadata tags */
|
|
5106
|
+
tags?: ({ [k: string]: string }|null);
|
|
5107
|
+
|
|
5108
|
+
/** TaskMetadata podTemplateName */
|
|
5109
|
+
podTemplateName?: (string|null);
|
|
5098
5110
|
}
|
|
5099
5111
|
|
|
5100
5112
|
/** Represents a TaskMetadata. */
|
|
@@ -5133,6 +5145,12 @@ export namespace flyteidl {
|
|
|
5133
5145
|
/** TaskMetadata generatesDeck. */
|
|
5134
5146
|
public generatesDeck: boolean;
|
|
5135
5147
|
|
|
5148
|
+
/** TaskMetadata tags. */
|
|
5149
|
+
public tags: { [k: string]: string };
|
|
5150
|
+
|
|
5151
|
+
/** TaskMetadata podTemplateName. */
|
|
5152
|
+
public podTemplateName: string;
|
|
5153
|
+
|
|
5136
5154
|
/** TaskMetadata interruptibleValue. */
|
|
5137
5155
|
public interruptibleValue?: "interruptible";
|
|
5138
5156
|
|
|
@@ -6522,6 +6540,9 @@ export namespace flyteidl {
|
|
|
6522
6540
|
/** NodeExecutionEvent inputUri */
|
|
6523
6541
|
inputUri?: (string|null);
|
|
6524
6542
|
|
|
6543
|
+
/** NodeExecutionEvent inputData */
|
|
6544
|
+
inputData?: (flyteidl.core.ILiteralMap|null);
|
|
6545
|
+
|
|
6525
6546
|
/** NodeExecutionEvent outputUri */
|
|
6526
6547
|
outputUri?: (string|null);
|
|
6527
6548
|
|
|
@@ -6589,6 +6610,9 @@ export namespace flyteidl {
|
|
|
6589
6610
|
/** NodeExecutionEvent inputUri. */
|
|
6590
6611
|
public inputUri: string;
|
|
6591
6612
|
|
|
6613
|
+
/** NodeExecutionEvent inputData. */
|
|
6614
|
+
public inputData?: (flyteidl.core.ILiteralMap|null);
|
|
6615
|
+
|
|
6592
6616
|
/** NodeExecutionEvent outputUri. */
|
|
6593
6617
|
public outputUri: string;
|
|
6594
6618
|
|
|
@@ -6631,6 +6655,9 @@ export namespace flyteidl {
|
|
|
6631
6655
|
/** NodeExecutionEvent deckUri. */
|
|
6632
6656
|
public deckUri: string;
|
|
6633
6657
|
|
|
6658
|
+
/** NodeExecutionEvent inputValue. */
|
|
6659
|
+
public inputValue?: ("inputUri"|"inputData");
|
|
6660
|
+
|
|
6634
6661
|
/** NodeExecutionEvent outputResult. */
|
|
6635
6662
|
public outputResult?: ("outputUri"|"error"|"outputData");
|
|
6636
6663
|
|
|
@@ -6987,6 +7014,9 @@ export namespace flyteidl {
|
|
|
6987
7014
|
/** TaskExecutionEvent inputUri */
|
|
6988
7015
|
inputUri?: (string|null);
|
|
6989
7016
|
|
|
7017
|
+
/** TaskExecutionEvent inputData */
|
|
7018
|
+
inputData?: (flyteidl.core.ILiteralMap|null);
|
|
7019
|
+
|
|
6990
7020
|
/** TaskExecutionEvent outputUri */
|
|
6991
7021
|
outputUri?: (string|null);
|
|
6992
7022
|
|
|
@@ -7048,6 +7078,9 @@ export namespace flyteidl {
|
|
|
7048
7078
|
/** TaskExecutionEvent inputUri. */
|
|
7049
7079
|
public inputUri: string;
|
|
7050
7080
|
|
|
7081
|
+
/** TaskExecutionEvent inputData. */
|
|
7082
|
+
public inputData?: (flyteidl.core.ILiteralMap|null);
|
|
7083
|
+
|
|
7051
7084
|
/** TaskExecutionEvent outputUri. */
|
|
7052
7085
|
public outputUri: string;
|
|
7053
7086
|
|
|
@@ -7075,6 +7108,9 @@ export namespace flyteidl {
|
|
|
7075
7108
|
/** TaskExecutionEvent eventVersion. */
|
|
7076
7109
|
public eventVersion: number;
|
|
7077
7110
|
|
|
7111
|
+
/** TaskExecutionEvent inputValue. */
|
|
7112
|
+
public inputValue?: ("inputUri"|"inputData");
|
|
7113
|
+
|
|
7078
7114
|
/** TaskExecutionEvent outputResult. */
|
|
7079
7115
|
public outputResult?: ("outputUri"|"error"|"outputData");
|
|
7080
7116
|
|
|
@@ -19148,6 +19184,9 @@ export namespace flyteidl {
|
|
|
19148
19184
|
|
|
19149
19185
|
/** UserInfoResponse picture */
|
|
19150
19186
|
picture?: (string|null);
|
|
19187
|
+
|
|
19188
|
+
/** UserInfoResponse additionalClaims */
|
|
19189
|
+
additionalClaims?: (google.protobuf.IStruct|null);
|
|
19151
19190
|
}
|
|
19152
19191
|
|
|
19153
19192
|
/** Represents a UserInfoResponse. */
|
|
@@ -19180,6 +19219,9 @@ export namespace flyteidl {
|
|
|
19180
19219
|
/** UserInfoResponse picture. */
|
|
19181
19220
|
public picture: string;
|
|
19182
19221
|
|
|
19222
|
+
/** UserInfoResponse additionalClaims. */
|
|
19223
|
+
public additionalClaims?: (google.protobuf.IStruct|null);
|
|
19224
|
+
|
|
19183
19225
|
/**
|
|
19184
19226
|
* Creates a new UserInfoResponse instance using the specified properties.
|
|
19185
19227
|
* @param [properties] Properties to set
|
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -3834,6 +3834,7 @@
|
|
|
3834
3834
|
* @interface IWorkflowMetadata
|
|
3835
3835
|
* @property {flyteidl.core.IQualityOfService|null} [qualityOfService] WorkflowMetadata qualityOfService
|
|
3836
3836
|
* @property {flyteidl.core.WorkflowMetadata.OnFailurePolicy|null} [onFailure] WorkflowMetadata onFailure
|
|
3837
|
+
* @property {Object.<string,string>|null} [tags] WorkflowMetadata tags
|
|
3837
3838
|
*/
|
|
3838
3839
|
|
|
3839
3840
|
/**
|
|
@@ -3845,6 +3846,7 @@
|
|
|
3845
3846
|
* @param {flyteidl.core.IWorkflowMetadata=} [properties] Properties to set
|
|
3846
3847
|
*/
|
|
3847
3848
|
function WorkflowMetadata(properties) {
|
|
3849
|
+
this.tags = {};
|
|
3848
3850
|
if (properties)
|
|
3849
3851
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
3850
3852
|
if (properties[keys[i]] != null)
|
|
@@ -3867,6 +3869,14 @@
|
|
|
3867
3869
|
*/
|
|
3868
3870
|
WorkflowMetadata.prototype.onFailure = 0;
|
|
3869
3871
|
|
|
3872
|
+
/**
|
|
3873
|
+
* WorkflowMetadata tags.
|
|
3874
|
+
* @member {Object.<string,string>} tags
|
|
3875
|
+
* @memberof flyteidl.core.WorkflowMetadata
|
|
3876
|
+
* @instance
|
|
3877
|
+
*/
|
|
3878
|
+
WorkflowMetadata.prototype.tags = $util.emptyObject;
|
|
3879
|
+
|
|
3870
3880
|
/**
|
|
3871
3881
|
* Creates a new WorkflowMetadata instance using the specified properties.
|
|
3872
3882
|
* @function create
|
|
@@ -3895,6 +3905,9 @@
|
|
|
3895
3905
|
$root.flyteidl.core.QualityOfService.encode(message.qualityOfService, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
3896
3906
|
if (message.onFailure != null && message.hasOwnProperty("onFailure"))
|
|
3897
3907
|
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.onFailure);
|
|
3908
|
+
if (message.tags != null && message.hasOwnProperty("tags"))
|
|
3909
|
+
for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i)
|
|
3910
|
+
writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.tags[keys[i]]).ldelim();
|
|
3898
3911
|
return writer;
|
|
3899
3912
|
};
|
|
3900
3913
|
|
|
@@ -3912,7 +3925,7 @@
|
|
|
3912
3925
|
WorkflowMetadata.decode = function decode(reader, length) {
|
|
3913
3926
|
if (!(reader instanceof $Reader))
|
|
3914
3927
|
reader = $Reader.create(reader);
|
|
3915
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowMetadata();
|
|
3928
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowMetadata(), key;
|
|
3916
3929
|
while (reader.pos < end) {
|
|
3917
3930
|
var tag = reader.uint32();
|
|
3918
3931
|
switch (tag >>> 3) {
|
|
@@ -3922,6 +3935,14 @@
|
|
|
3922
3935
|
case 2:
|
|
3923
3936
|
message.onFailure = reader.int32();
|
|
3924
3937
|
break;
|
|
3938
|
+
case 3:
|
|
3939
|
+
reader.skip().pos++;
|
|
3940
|
+
if (message.tags === $util.emptyObject)
|
|
3941
|
+
message.tags = {};
|
|
3942
|
+
key = reader.string();
|
|
3943
|
+
reader.pos++;
|
|
3944
|
+
message.tags[key] = reader.string();
|
|
3945
|
+
break;
|
|
3925
3946
|
default:
|
|
3926
3947
|
reader.skipType(tag & 7);
|
|
3927
3948
|
break;
|
|
@@ -3954,6 +3975,14 @@
|
|
|
3954
3975
|
case 1:
|
|
3955
3976
|
break;
|
|
3956
3977
|
}
|
|
3978
|
+
if (message.tags != null && message.hasOwnProperty("tags")) {
|
|
3979
|
+
if (!$util.isObject(message.tags))
|
|
3980
|
+
return "tags: object expected";
|
|
3981
|
+
var key = Object.keys(message.tags);
|
|
3982
|
+
for (var i = 0; i < key.length; ++i)
|
|
3983
|
+
if (!$util.isString(message.tags[key[i]]))
|
|
3984
|
+
return "tags: string{k:string} expected";
|
|
3985
|
+
}
|
|
3957
3986
|
return null;
|
|
3958
3987
|
};
|
|
3959
3988
|
|
|
@@ -12018,6 +12047,8 @@
|
|
|
12018
12047
|
* @property {boolean|null} [interruptible] TaskMetadata interruptible
|
|
12019
12048
|
* @property {boolean|null} [cacheSerializable] TaskMetadata cacheSerializable
|
|
12020
12049
|
* @property {boolean|null} [generatesDeck] TaskMetadata generatesDeck
|
|
12050
|
+
* @property {Object.<string,string>|null} [tags] TaskMetadata tags
|
|
12051
|
+
* @property {string|null} [podTemplateName] TaskMetadata podTemplateName
|
|
12021
12052
|
*/
|
|
12022
12053
|
|
|
12023
12054
|
/**
|
|
@@ -12029,6 +12060,7 @@
|
|
|
12029
12060
|
* @param {flyteidl.core.ITaskMetadata=} [properties] Properties to set
|
|
12030
12061
|
*/
|
|
12031
12062
|
function TaskMetadata(properties) {
|
|
12063
|
+
this.tags = {};
|
|
12032
12064
|
if (properties)
|
|
12033
12065
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
12034
12066
|
if (properties[keys[i]] != null)
|
|
@@ -12107,6 +12139,22 @@
|
|
|
12107
12139
|
*/
|
|
12108
12140
|
TaskMetadata.prototype.generatesDeck = false;
|
|
12109
12141
|
|
|
12142
|
+
/**
|
|
12143
|
+
* TaskMetadata tags.
|
|
12144
|
+
* @member {Object.<string,string>} tags
|
|
12145
|
+
* @memberof flyteidl.core.TaskMetadata
|
|
12146
|
+
* @instance
|
|
12147
|
+
*/
|
|
12148
|
+
TaskMetadata.prototype.tags = $util.emptyObject;
|
|
12149
|
+
|
|
12150
|
+
/**
|
|
12151
|
+
* TaskMetadata podTemplateName.
|
|
12152
|
+
* @member {string} podTemplateName
|
|
12153
|
+
* @memberof flyteidl.core.TaskMetadata
|
|
12154
|
+
* @instance
|
|
12155
|
+
*/
|
|
12156
|
+
TaskMetadata.prototype.podTemplateName = "";
|
|
12157
|
+
|
|
12110
12158
|
// OneOf field names bound to virtual getters and setters
|
|
12111
12159
|
var $oneOfFields;
|
|
12112
12160
|
|
|
@@ -12163,6 +12211,11 @@
|
|
|
12163
12211
|
writer.uint32(/* id 9, wireType 0 =*/72).bool(message.cacheSerializable);
|
|
12164
12212
|
if (message.generatesDeck != null && message.hasOwnProperty("generatesDeck"))
|
|
12165
12213
|
writer.uint32(/* id 10, wireType 0 =*/80).bool(message.generatesDeck);
|
|
12214
|
+
if (message.tags != null && message.hasOwnProperty("tags"))
|
|
12215
|
+
for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i)
|
|
12216
|
+
writer.uint32(/* id 11, wireType 2 =*/90).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.tags[keys[i]]).ldelim();
|
|
12217
|
+
if (message.podTemplateName != null && message.hasOwnProperty("podTemplateName"))
|
|
12218
|
+
writer.uint32(/* id 12, wireType 2 =*/98).string(message.podTemplateName);
|
|
12166
12219
|
return writer;
|
|
12167
12220
|
};
|
|
12168
12221
|
|
|
@@ -12180,7 +12233,7 @@
|
|
|
12180
12233
|
TaskMetadata.decode = function decode(reader, length) {
|
|
12181
12234
|
if (!(reader instanceof $Reader))
|
|
12182
12235
|
reader = $Reader.create(reader);
|
|
12183
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.TaskMetadata();
|
|
12236
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.TaskMetadata(), key;
|
|
12184
12237
|
while (reader.pos < end) {
|
|
12185
12238
|
var tag = reader.uint32();
|
|
12186
12239
|
switch (tag >>> 3) {
|
|
@@ -12211,6 +12264,17 @@
|
|
|
12211
12264
|
case 10:
|
|
12212
12265
|
message.generatesDeck = reader.bool();
|
|
12213
12266
|
break;
|
|
12267
|
+
case 11:
|
|
12268
|
+
reader.skip().pos++;
|
|
12269
|
+
if (message.tags === $util.emptyObject)
|
|
12270
|
+
message.tags = {};
|
|
12271
|
+
key = reader.string();
|
|
12272
|
+
reader.pos++;
|
|
12273
|
+
message.tags[key] = reader.string();
|
|
12274
|
+
break;
|
|
12275
|
+
case 12:
|
|
12276
|
+
message.podTemplateName = reader.string();
|
|
12277
|
+
break;
|
|
12214
12278
|
default:
|
|
12215
12279
|
reader.skipType(tag & 7);
|
|
12216
12280
|
break;
|
|
@@ -12266,6 +12330,17 @@
|
|
|
12266
12330
|
if (message.generatesDeck != null && message.hasOwnProperty("generatesDeck"))
|
|
12267
12331
|
if (typeof message.generatesDeck !== "boolean")
|
|
12268
12332
|
return "generatesDeck: boolean expected";
|
|
12333
|
+
if (message.tags != null && message.hasOwnProperty("tags")) {
|
|
12334
|
+
if (!$util.isObject(message.tags))
|
|
12335
|
+
return "tags: object expected";
|
|
12336
|
+
var key = Object.keys(message.tags);
|
|
12337
|
+
for (var i = 0; i < key.length; ++i)
|
|
12338
|
+
if (!$util.isString(message.tags[key[i]]))
|
|
12339
|
+
return "tags: string{k:string} expected";
|
|
12340
|
+
}
|
|
12341
|
+
if (message.podTemplateName != null && message.hasOwnProperty("podTemplateName"))
|
|
12342
|
+
if (!$util.isString(message.podTemplateName))
|
|
12343
|
+
return "podTemplateName: string expected";
|
|
12269
12344
|
return null;
|
|
12270
12345
|
};
|
|
12271
12346
|
|
|
@@ -15607,6 +15682,7 @@
|
|
|
15607
15682
|
* @property {flyteidl.core.NodeExecution.Phase|null} [phase] NodeExecutionEvent phase
|
|
15608
15683
|
* @property {google.protobuf.ITimestamp|null} [occurredAt] NodeExecutionEvent occurredAt
|
|
15609
15684
|
* @property {string|null} [inputUri] NodeExecutionEvent inputUri
|
|
15685
|
+
* @property {flyteidl.core.ILiteralMap|null} [inputData] NodeExecutionEvent inputData
|
|
15610
15686
|
* @property {string|null} [outputUri] NodeExecutionEvent outputUri
|
|
15611
15687
|
* @property {flyteidl.core.IExecutionError|null} [error] NodeExecutionEvent error
|
|
15612
15688
|
* @property {flyteidl.core.ILiteralMap|null} [outputData] NodeExecutionEvent outputData
|
|
@@ -15678,6 +15754,14 @@
|
|
|
15678
15754
|
*/
|
|
15679
15755
|
NodeExecutionEvent.prototype.inputUri = "";
|
|
15680
15756
|
|
|
15757
|
+
/**
|
|
15758
|
+
* NodeExecutionEvent inputData.
|
|
15759
|
+
* @member {flyteidl.core.ILiteralMap|null|undefined} inputData
|
|
15760
|
+
* @memberof flyteidl.event.NodeExecutionEvent
|
|
15761
|
+
* @instance
|
|
15762
|
+
*/
|
|
15763
|
+
NodeExecutionEvent.prototype.inputData = null;
|
|
15764
|
+
|
|
15681
15765
|
/**
|
|
15682
15766
|
* NodeExecutionEvent outputUri.
|
|
15683
15767
|
* @member {string} outputUri
|
|
@@ -15793,6 +15877,17 @@
|
|
|
15793
15877
|
// OneOf field names bound to virtual getters and setters
|
|
15794
15878
|
var $oneOfFields;
|
|
15795
15879
|
|
|
15880
|
+
/**
|
|
15881
|
+
* NodeExecutionEvent inputValue.
|
|
15882
|
+
* @member {"inputUri"|"inputData"|undefined} inputValue
|
|
15883
|
+
* @memberof flyteidl.event.NodeExecutionEvent
|
|
15884
|
+
* @instance
|
|
15885
|
+
*/
|
|
15886
|
+
Object.defineProperty(NodeExecutionEvent.prototype, "inputValue", {
|
|
15887
|
+
get: $util.oneOfGetter($oneOfFields = ["inputUri", "inputData"]),
|
|
15888
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
15889
|
+
});
|
|
15890
|
+
|
|
15796
15891
|
/**
|
|
15797
15892
|
* NodeExecutionEvent outputResult.
|
|
15798
15893
|
* @member {"outputUri"|"error"|"outputData"|undefined} outputResult
|
|
@@ -15877,6 +15972,8 @@
|
|
|
15877
15972
|
writer.uint32(/* id 18, wireType 0 =*/144).bool(message.isDynamic);
|
|
15878
15973
|
if (message.deckUri != null && message.hasOwnProperty("deckUri"))
|
|
15879
15974
|
writer.uint32(/* id 19, wireType 2 =*/154).string(message.deckUri);
|
|
15975
|
+
if (message.inputData != null && message.hasOwnProperty("inputData"))
|
|
15976
|
+
$root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
15880
15977
|
return writer;
|
|
15881
15978
|
};
|
|
15882
15979
|
|
|
@@ -15913,6 +16010,9 @@
|
|
|
15913
16010
|
case 5:
|
|
15914
16011
|
message.inputUri = reader.string();
|
|
15915
16012
|
break;
|
|
16013
|
+
case 20:
|
|
16014
|
+
message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32());
|
|
16015
|
+
break;
|
|
15916
16016
|
case 6:
|
|
15917
16017
|
message.outputUri = reader.string();
|
|
15918
16018
|
break;
|
|
@@ -16005,9 +16105,21 @@
|
|
|
16005
16105
|
if (error)
|
|
16006
16106
|
return "occurredAt." + error;
|
|
16007
16107
|
}
|
|
16008
|
-
if (message.inputUri != null && message.hasOwnProperty("inputUri"))
|
|
16108
|
+
if (message.inputUri != null && message.hasOwnProperty("inputUri")) {
|
|
16109
|
+
properties.inputValue = 1;
|
|
16009
16110
|
if (!$util.isString(message.inputUri))
|
|
16010
16111
|
return "inputUri: string expected";
|
|
16112
|
+
}
|
|
16113
|
+
if (message.inputData != null && message.hasOwnProperty("inputData")) {
|
|
16114
|
+
if (properties.inputValue === 1)
|
|
16115
|
+
return "inputValue: multiple values";
|
|
16116
|
+
properties.inputValue = 1;
|
|
16117
|
+
{
|
|
16118
|
+
var error = $root.flyteidl.core.LiteralMap.verify(message.inputData);
|
|
16119
|
+
if (error)
|
|
16120
|
+
return "inputData." + error;
|
|
16121
|
+
}
|
|
16122
|
+
}
|
|
16011
16123
|
if (message.outputUri != null && message.hasOwnProperty("outputUri")) {
|
|
16012
16124
|
properties.outputResult = 1;
|
|
16013
16125
|
if (!$util.isString(message.outputUri))
|
|
@@ -16767,6 +16879,7 @@
|
|
|
16767
16879
|
* @property {Array.<flyteidl.core.ITaskLog>|null} [logs] TaskExecutionEvent logs
|
|
16768
16880
|
* @property {google.protobuf.ITimestamp|null} [occurredAt] TaskExecutionEvent occurredAt
|
|
16769
16881
|
* @property {string|null} [inputUri] TaskExecutionEvent inputUri
|
|
16882
|
+
* @property {flyteidl.core.ILiteralMap|null} [inputData] TaskExecutionEvent inputData
|
|
16770
16883
|
* @property {string|null} [outputUri] TaskExecutionEvent outputUri
|
|
16771
16884
|
* @property {flyteidl.core.IExecutionError|null} [error] TaskExecutionEvent error
|
|
16772
16885
|
* @property {flyteidl.core.ILiteralMap|null} [outputData] TaskExecutionEvent outputData
|
|
@@ -16858,6 +16971,14 @@
|
|
|
16858
16971
|
*/
|
|
16859
16972
|
TaskExecutionEvent.prototype.inputUri = "";
|
|
16860
16973
|
|
|
16974
|
+
/**
|
|
16975
|
+
* TaskExecutionEvent inputData.
|
|
16976
|
+
* @member {flyteidl.core.ILiteralMap|null|undefined} inputData
|
|
16977
|
+
* @memberof flyteidl.event.TaskExecutionEvent
|
|
16978
|
+
* @instance
|
|
16979
|
+
*/
|
|
16980
|
+
TaskExecutionEvent.prototype.inputData = null;
|
|
16981
|
+
|
|
16861
16982
|
/**
|
|
16862
16983
|
* TaskExecutionEvent outputUri.
|
|
16863
16984
|
* @member {string} outputUri
|
|
@@ -16933,6 +17054,17 @@
|
|
|
16933
17054
|
// OneOf field names bound to virtual getters and setters
|
|
16934
17055
|
var $oneOfFields;
|
|
16935
17056
|
|
|
17057
|
+
/**
|
|
17058
|
+
* TaskExecutionEvent inputValue.
|
|
17059
|
+
* @member {"inputUri"|"inputData"|undefined} inputValue
|
|
17060
|
+
* @memberof flyteidl.event.TaskExecutionEvent
|
|
17061
|
+
* @instance
|
|
17062
|
+
*/
|
|
17063
|
+
Object.defineProperty(TaskExecutionEvent.prototype, "inputValue", {
|
|
17064
|
+
get: $util.oneOfGetter($oneOfFields = ["inputUri", "inputData"]),
|
|
17065
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
17066
|
+
});
|
|
17067
|
+
|
|
16936
17068
|
/**
|
|
16937
17069
|
* TaskExecutionEvent outputResult.
|
|
16938
17070
|
* @member {"outputUri"|"error"|"outputData"|undefined} outputResult
|
|
@@ -17003,6 +17135,8 @@
|
|
|
17003
17135
|
$root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
|
|
17004
17136
|
if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
|
|
17005
17137
|
writer.uint32(/* id 18, wireType 0 =*/144).int32(message.eventVersion);
|
|
17138
|
+
if (message.inputData != null && message.hasOwnProperty("inputData"))
|
|
17139
|
+
$root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
17006
17140
|
return writer;
|
|
17007
17141
|
};
|
|
17008
17142
|
|
|
@@ -17050,6 +17184,9 @@
|
|
|
17050
17184
|
case 8:
|
|
17051
17185
|
message.inputUri = reader.string();
|
|
17052
17186
|
break;
|
|
17187
|
+
case 19:
|
|
17188
|
+
message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32());
|
|
17189
|
+
break;
|
|
17053
17190
|
case 9:
|
|
17054
17191
|
message.outputUri = reader.string();
|
|
17055
17192
|
break;
|
|
@@ -17141,9 +17278,21 @@
|
|
|
17141
17278
|
if (error)
|
|
17142
17279
|
return "occurredAt." + error;
|
|
17143
17280
|
}
|
|
17144
|
-
if (message.inputUri != null && message.hasOwnProperty("inputUri"))
|
|
17281
|
+
if (message.inputUri != null && message.hasOwnProperty("inputUri")) {
|
|
17282
|
+
properties.inputValue = 1;
|
|
17145
17283
|
if (!$util.isString(message.inputUri))
|
|
17146
17284
|
return "inputUri: string expected";
|
|
17285
|
+
}
|
|
17286
|
+
if (message.inputData != null && message.hasOwnProperty("inputData")) {
|
|
17287
|
+
if (properties.inputValue === 1)
|
|
17288
|
+
return "inputValue: multiple values";
|
|
17289
|
+
properties.inputValue = 1;
|
|
17290
|
+
{
|
|
17291
|
+
var error = $root.flyteidl.core.LiteralMap.verify(message.inputData);
|
|
17292
|
+
if (error)
|
|
17293
|
+
return "inputData." + error;
|
|
17294
|
+
}
|
|
17295
|
+
}
|
|
17147
17296
|
if (message.outputUri != null && message.hasOwnProperty("outputUri")) {
|
|
17148
17297
|
properties.outputResult = 1;
|
|
17149
17298
|
if (!$util.isString(message.outputUri))
|
|
@@ -44470,6 +44619,7 @@
|
|
|
44470
44619
|
* @property {string|null} [familyName] UserInfoResponse familyName
|
|
44471
44620
|
* @property {string|null} [email] UserInfoResponse email
|
|
44472
44621
|
* @property {string|null} [picture] UserInfoResponse picture
|
|
44622
|
+
* @property {google.protobuf.IStruct|null} [additionalClaims] UserInfoResponse additionalClaims
|
|
44473
44623
|
*/
|
|
44474
44624
|
|
|
44475
44625
|
/**
|
|
@@ -44543,6 +44693,14 @@
|
|
|
44543
44693
|
*/
|
|
44544
44694
|
UserInfoResponse.prototype.picture = "";
|
|
44545
44695
|
|
|
44696
|
+
/**
|
|
44697
|
+
* UserInfoResponse additionalClaims.
|
|
44698
|
+
* @member {google.protobuf.IStruct|null|undefined} additionalClaims
|
|
44699
|
+
* @memberof flyteidl.service.UserInfoResponse
|
|
44700
|
+
* @instance
|
|
44701
|
+
*/
|
|
44702
|
+
UserInfoResponse.prototype.additionalClaims = null;
|
|
44703
|
+
|
|
44546
44704
|
/**
|
|
44547
44705
|
* Creates a new UserInfoResponse instance using the specified properties.
|
|
44548
44706
|
* @function create
|
|
@@ -44581,6 +44739,8 @@
|
|
|
44581
44739
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.email);
|
|
44582
44740
|
if (message.picture != null && message.hasOwnProperty("picture"))
|
|
44583
44741
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.picture);
|
|
44742
|
+
if (message.additionalClaims != null && message.hasOwnProperty("additionalClaims"))
|
|
44743
|
+
$root.google.protobuf.Struct.encode(message.additionalClaims, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
44584
44744
|
return writer;
|
|
44585
44745
|
};
|
|
44586
44746
|
|
|
@@ -44623,6 +44783,9 @@
|
|
|
44623
44783
|
case 7:
|
|
44624
44784
|
message.picture = reader.string();
|
|
44625
44785
|
break;
|
|
44786
|
+
case 8:
|
|
44787
|
+
message.additionalClaims = $root.google.protobuf.Struct.decode(reader, reader.uint32());
|
|
44788
|
+
break;
|
|
44626
44789
|
default:
|
|
44627
44790
|
reader.skipType(tag & 7);
|
|
44628
44791
|
break;
|
|
@@ -44663,6 +44826,11 @@
|
|
|
44663
44826
|
if (message.picture != null && message.hasOwnProperty("picture"))
|
|
44664
44827
|
if (!$util.isString(message.picture))
|
|
44665
44828
|
return "picture: string expected";
|
|
44829
|
+
if (message.additionalClaims != null && message.hasOwnProperty("additionalClaims")) {
|
|
44830
|
+
var error = $root.google.protobuf.Struct.verify(message.additionalClaims);
|
|
44831
|
+
if (error)
|
|
44832
|
+
return "additionalClaims." + error;
|
|
44833
|
+
}
|
|
44666
44834
|
return null;
|
|
44667
44835
|
};
|
|
44668
44836
|
|
package/package.json
CHANGED
|
@@ -2237,6 +2237,29 @@ Task Metadata
|
|
|
2237
2237
|
"interruptible", ":ref:`ref_bool`", "", ""
|
|
2238
2238
|
"cache_serializable", ":ref:`ref_bool`", "", "Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work"
|
|
2239
2239
|
"generates_deck", ":ref:`ref_bool`", "", "Indicates whether the task will generate a Deck URI when it finishes executing."
|
|
2240
|
+
"tags", ":ref:`ref_flyteidl.core.TaskMetadata.TagsEntry`", "repeated", "Arbitrary tags that allow users and the platform to store small but arbitrary labels"
|
|
2241
|
+
|
|
2242
|
+
|
|
2243
|
+
|
|
2244
|
+
|
|
2245
|
+
|
|
2246
|
+
|
|
2247
|
+
|
|
2248
|
+
.. _ref_flyteidl.core.TaskMetadata.TagsEntry:
|
|
2249
|
+
|
|
2250
|
+
TaskMetadata.TagsEntry
|
|
2251
|
+
------------------------------------------------------------------
|
|
2252
|
+
|
|
2253
|
+
|
|
2254
|
+
|
|
2255
|
+
|
|
2256
|
+
|
|
2257
|
+
.. csv-table:: TaskMetadata.TagsEntry type fields
|
|
2258
|
+
:header: "Field", "Type", "Label", "Description"
|
|
2259
|
+
:widths: auto
|
|
2260
|
+
|
|
2261
|
+
"key", ":ref:`ref_string`", "", ""
|
|
2262
|
+
"value", ":ref:`ref_string`", "", ""
|
|
2240
2263
|
|
|
2241
2264
|
|
|
2242
2265
|
|
|
@@ -3119,6 +3142,29 @@ percolate down to child entities (like tasks) launched by the workflow.
|
|
|
3119
3142
|
|
|
3120
3143
|
"quality_of_service", ":ref:`ref_flyteidl.core.QualityOfService`", "", "Indicates the runtime priority of workflow executions."
|
|
3121
3144
|
"on_failure", ":ref:`ref_flyteidl.core.WorkflowMetadata.OnFailurePolicy`", "", "Defines how the system should behave when a failure is detected in the workflow execution."
|
|
3145
|
+
"tags", ":ref:`ref_flyteidl.core.WorkflowMetadata.TagsEntry`", "repeated", "Arbitrary tags that allow users and the platform to store small but arbitrary labels"
|
|
3146
|
+
|
|
3147
|
+
|
|
3148
|
+
|
|
3149
|
+
|
|
3150
|
+
|
|
3151
|
+
|
|
3152
|
+
|
|
3153
|
+
.. _ref_flyteidl.core.WorkflowMetadata.TagsEntry:
|
|
3154
|
+
|
|
3155
|
+
WorkflowMetadata.TagsEntry
|
|
3156
|
+
------------------------------------------------------------------
|
|
3157
|
+
|
|
3158
|
+
|
|
3159
|
+
|
|
3160
|
+
|
|
3161
|
+
|
|
3162
|
+
.. csv-table:: WorkflowMetadata.TagsEntry type fields
|
|
3163
|
+
:header: "Field", "Type", "Label", "Description"
|
|
3164
|
+
:widths: auto
|
|
3165
|
+
|
|
3166
|
+
"key", ":ref:`ref_string`", "", ""
|
|
3167
|
+
"value", ":ref:`ref_string`", "", ""
|
|
3122
3168
|
|
|
3123
3169
|
|
|
3124
3170
|
|