@flyteorg/flyteidl 1.5.5 → 1.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -10521,6 +10521,9 @@ export namespace flyteidl {
|
|
|
10521
10521
|
|
|
10522
10522
|
/** SystemMetadata executionCluster */
|
|
10523
10523
|
executionCluster?: (string|null);
|
|
10524
|
+
|
|
10525
|
+
/** SystemMetadata namespace */
|
|
10526
|
+
namespace?: (string|null);
|
|
10524
10527
|
}
|
|
10525
10528
|
|
|
10526
10529
|
/** Represents a SystemMetadata. */
|
|
@@ -10535,6 +10538,9 @@ export namespace flyteidl {
|
|
|
10535
10538
|
/** SystemMetadata executionCluster. */
|
|
10536
10539
|
public executionCluster: string;
|
|
10537
10540
|
|
|
10541
|
+
/** SystemMetadata namespace. */
|
|
10542
|
+
public namespace: string;
|
|
10543
|
+
|
|
10538
10544
|
/**
|
|
10539
10545
|
* Creates a new SystemMetadata instance using the specified properties.
|
|
10540
10546
|
* @param [properties] Properties to set
|
|
@@ -19626,6 +19632,9 @@ export namespace flyteidl {
|
|
|
19626
19632
|
|
|
19627
19633
|
/** GetDataResponse preSignedUrls */
|
|
19628
19634
|
preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
|
|
19635
|
+
|
|
19636
|
+
/** GetDataResponse literal */
|
|
19637
|
+
literal?: (flyteidl.core.ILiteral|null);
|
|
19629
19638
|
}
|
|
19630
19639
|
|
|
19631
19640
|
/** Represents a GetDataResponse. */
|
|
@@ -19643,8 +19652,11 @@ export namespace flyteidl {
|
|
|
19643
19652
|
/** GetDataResponse preSignedUrls. */
|
|
19644
19653
|
public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
|
|
19645
19654
|
|
|
19655
|
+
/** GetDataResponse literal. */
|
|
19656
|
+
public literal?: (flyteidl.core.ILiteral|null);
|
|
19657
|
+
|
|
19646
19658
|
/** GetDataResponse data. */
|
|
19647
|
-
public data?: ("literalMap"|"preSignedUrls");
|
|
19659
|
+
public data?: ("literalMap"|"preSignedUrls"|"literal");
|
|
19648
19660
|
|
|
19649
19661
|
/**
|
|
19650
19662
|
* Creates a new GetDataResponse instance using the specified properties.
|
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -25389,6 +25389,7 @@
|
|
|
25389
25389
|
* @memberof flyteidl.admin
|
|
25390
25390
|
* @interface ISystemMetadata
|
|
25391
25391
|
* @property {string|null} [executionCluster] SystemMetadata executionCluster
|
|
25392
|
+
* @property {string|null} [namespace] SystemMetadata namespace
|
|
25392
25393
|
*/
|
|
25393
25394
|
|
|
25394
25395
|
/**
|
|
@@ -25414,6 +25415,14 @@
|
|
|
25414
25415
|
*/
|
|
25415
25416
|
SystemMetadata.prototype.executionCluster = "";
|
|
25416
25417
|
|
|
25418
|
+
/**
|
|
25419
|
+
* SystemMetadata namespace.
|
|
25420
|
+
* @member {string} namespace
|
|
25421
|
+
* @memberof flyteidl.admin.SystemMetadata
|
|
25422
|
+
* @instance
|
|
25423
|
+
*/
|
|
25424
|
+
SystemMetadata.prototype.namespace = "";
|
|
25425
|
+
|
|
25417
25426
|
/**
|
|
25418
25427
|
* Creates a new SystemMetadata instance using the specified properties.
|
|
25419
25428
|
* @function create
|
|
@@ -25440,6 +25449,8 @@
|
|
|
25440
25449
|
writer = $Writer.create();
|
|
25441
25450
|
if (message.executionCluster != null && message.hasOwnProperty("executionCluster"))
|
|
25442
25451
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.executionCluster);
|
|
25452
|
+
if (message.namespace != null && message.hasOwnProperty("namespace"))
|
|
25453
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.namespace);
|
|
25443
25454
|
return writer;
|
|
25444
25455
|
};
|
|
25445
25456
|
|
|
@@ -25464,6 +25475,9 @@
|
|
|
25464
25475
|
case 1:
|
|
25465
25476
|
message.executionCluster = reader.string();
|
|
25466
25477
|
break;
|
|
25478
|
+
case 2:
|
|
25479
|
+
message.namespace = reader.string();
|
|
25480
|
+
break;
|
|
25467
25481
|
default:
|
|
25468
25482
|
reader.skipType(tag & 7);
|
|
25469
25483
|
break;
|
|
@@ -25486,6 +25500,9 @@
|
|
|
25486
25500
|
if (message.executionCluster != null && message.hasOwnProperty("executionCluster"))
|
|
25487
25501
|
if (!$util.isString(message.executionCluster))
|
|
25488
25502
|
return "executionCluster: string expected";
|
|
25503
|
+
if (message.namespace != null && message.hasOwnProperty("namespace"))
|
|
25504
|
+
if (!$util.isString(message.namespace))
|
|
25505
|
+
return "namespace: string expected";
|
|
25489
25506
|
return null;
|
|
25490
25507
|
};
|
|
25491
25508
|
|
|
@@ -45831,6 +45848,7 @@
|
|
|
45831
45848
|
* @interface IGetDataResponse
|
|
45832
45849
|
* @property {flyteidl.core.ILiteralMap|null} [literalMap] GetDataResponse literalMap
|
|
45833
45850
|
* @property {flyteidl.service.IPreSignedURLs|null} [preSignedUrls] GetDataResponse preSignedUrls
|
|
45851
|
+
* @property {flyteidl.core.ILiteral|null} [literal] GetDataResponse literal
|
|
45834
45852
|
*/
|
|
45835
45853
|
|
|
45836
45854
|
/**
|
|
@@ -45864,17 +45882,25 @@
|
|
|
45864
45882
|
*/
|
|
45865
45883
|
GetDataResponse.prototype.preSignedUrls = null;
|
|
45866
45884
|
|
|
45885
|
+
/**
|
|
45886
|
+
* GetDataResponse literal.
|
|
45887
|
+
* @member {flyteidl.core.ILiteral|null|undefined} literal
|
|
45888
|
+
* @memberof flyteidl.service.GetDataResponse
|
|
45889
|
+
* @instance
|
|
45890
|
+
*/
|
|
45891
|
+
GetDataResponse.prototype.literal = null;
|
|
45892
|
+
|
|
45867
45893
|
// OneOf field names bound to virtual getters and setters
|
|
45868
45894
|
var $oneOfFields;
|
|
45869
45895
|
|
|
45870
45896
|
/**
|
|
45871
45897
|
* GetDataResponse data.
|
|
45872
|
-
* @member {"literalMap"|"preSignedUrls"|undefined} data
|
|
45898
|
+
* @member {"literalMap"|"preSignedUrls"|"literal"|undefined} data
|
|
45873
45899
|
* @memberof flyteidl.service.GetDataResponse
|
|
45874
45900
|
* @instance
|
|
45875
45901
|
*/
|
|
45876
45902
|
Object.defineProperty(GetDataResponse.prototype, "data", {
|
|
45877
|
-
get: $util.oneOfGetter($oneOfFields = ["literalMap", "preSignedUrls"]),
|
|
45903
|
+
get: $util.oneOfGetter($oneOfFields = ["literalMap", "preSignedUrls", "literal"]),
|
|
45878
45904
|
set: $util.oneOfSetter($oneOfFields)
|
|
45879
45905
|
});
|
|
45880
45906
|
|
|
@@ -45906,6 +45932,8 @@
|
|
|
45906
45932
|
$root.flyteidl.core.LiteralMap.encode(message.literalMap, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
45907
45933
|
if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls"))
|
|
45908
45934
|
$root.flyteidl.service.PreSignedURLs.encode(message.preSignedUrls, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
45935
|
+
if (message.literal != null && message.hasOwnProperty("literal"))
|
|
45936
|
+
$root.flyteidl.core.Literal.encode(message.literal, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
45909
45937
|
return writer;
|
|
45910
45938
|
};
|
|
45911
45939
|
|
|
@@ -45933,6 +45961,9 @@
|
|
|
45933
45961
|
case 2:
|
|
45934
45962
|
message.preSignedUrls = $root.flyteidl.service.PreSignedURLs.decode(reader, reader.uint32());
|
|
45935
45963
|
break;
|
|
45964
|
+
case 3:
|
|
45965
|
+
message.literal = $root.flyteidl.core.Literal.decode(reader, reader.uint32());
|
|
45966
|
+
break;
|
|
45936
45967
|
default:
|
|
45937
45968
|
reader.skipType(tag & 7);
|
|
45938
45969
|
break;
|
|
@@ -45971,6 +46002,16 @@
|
|
|
45971
46002
|
return "preSignedUrls." + error;
|
|
45972
46003
|
}
|
|
45973
46004
|
}
|
|
46005
|
+
if (message.literal != null && message.hasOwnProperty("literal")) {
|
|
46006
|
+
if (properties.data === 1)
|
|
46007
|
+
return "data: multiple values";
|
|
46008
|
+
properties.data = 1;
|
|
46009
|
+
{
|
|
46010
|
+
var error = $root.flyteidl.core.Literal.verify(message.literal);
|
|
46011
|
+
if (error)
|
|
46012
|
+
return "literal." + error;
|
|
46013
|
+
}
|
|
46014
|
+
}
|
|
45974
46015
|
return null;
|
|
45975
46016
|
};
|
|
45976
46017
|
|
package/package.json
CHANGED
|
@@ -190,6 +190,9 @@ message SystemMetadata {
|
|
|
190
190
|
|
|
191
191
|
// Which execution cluster this execution ran on.
|
|
192
192
|
string execution_cluster = 1;
|
|
193
|
+
|
|
194
|
+
// Which kubernetes namespace the execution ran under.
|
|
195
|
+
string namespace = 2;
|
|
193
196
|
}
|
|
194
197
|
|
|
195
198
|
// Represents attributes about an execution which are not required to launch the execution but are useful to record.
|
|
@@ -122,16 +122,21 @@ message GetDataRequest {
|
|
|
122
122
|
// backend, identifies a Flyte artifact ([i]nput, [o]utput, flyte [d]eck, etc.).
|
|
123
123
|
// e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
|
|
124
124
|
// flyte://v1/proj/development/execid/n2/i (for node execution input)
|
|
125
|
+
// flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
|
|
125
126
|
string flyte_url = 1;
|
|
126
127
|
}
|
|
127
128
|
|
|
128
129
|
message GetDataResponse {
|
|
129
130
|
oneof data {
|
|
130
131
|
// literal map data will be returned
|
|
131
|
-
core.LiteralMap literal_map
|
|
132
|
+
core.LiteralMap literal_map = 1;
|
|
132
133
|
|
|
133
134
|
// Flyte deck html will be returned as a signed url users can download
|
|
134
135
|
PreSignedURLs pre_signed_urls = 2;
|
|
136
|
+
|
|
137
|
+
// Single literal will be returned. This is returned when the user/url requests a specific output or input
|
|
138
|
+
// by name. See the o3 example above.
|
|
139
|
+
core.Literal literal = 3;
|
|
135
140
|
}
|
|
136
141
|
}
|
|
137
142
|
|