@flyteorg/flyteidl 0.24.6 → 0.24.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 +30 -0
- package/gen/pb-js/flyteidl.js +104 -0
- package/package.json +1 -1
- package/protos/docs/admin/admin.rst +101 -0
- package/protos/docs/datacatalog/datacatalog.rst +367 -0
- package/protos/docs/event/event.rst +372 -0
- package/protos/flyteidl/event/event.proto +14 -0
- package/protos/docs/plugins/plugins.rst +0 -549
- package/protos/docs/service/service.rst +0 -353
package/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -6245,6 +6245,15 @@ export namespace flyteidl {
|
|
|
6245
6245
|
|
|
6246
6246
|
/** NodeExecutionEvent nodeName */
|
|
6247
6247
|
nodeName?: (string|null);
|
|
6248
|
+
|
|
6249
|
+
/** NodeExecutionEvent eventVersion */
|
|
6250
|
+
eventVersion?: (number|null);
|
|
6251
|
+
|
|
6252
|
+
/** NodeExecutionEvent isParent */
|
|
6253
|
+
isParent?: (boolean|null);
|
|
6254
|
+
|
|
6255
|
+
/** NodeExecutionEvent isDynamic */
|
|
6256
|
+
isDynamic?: (boolean|null);
|
|
6248
6257
|
}
|
|
6249
6258
|
|
|
6250
6259
|
/** Represents a NodeExecutionEvent. */
|
|
@@ -6301,6 +6310,15 @@ export namespace flyteidl {
|
|
|
6301
6310
|
/** NodeExecutionEvent nodeName. */
|
|
6302
6311
|
public nodeName: string;
|
|
6303
6312
|
|
|
6313
|
+
/** NodeExecutionEvent eventVersion. */
|
|
6314
|
+
public eventVersion: number;
|
|
6315
|
+
|
|
6316
|
+
/** NodeExecutionEvent isParent. */
|
|
6317
|
+
public isParent: boolean;
|
|
6318
|
+
|
|
6319
|
+
/** NodeExecutionEvent isDynamic. */
|
|
6320
|
+
public isDynamic: boolean;
|
|
6321
|
+
|
|
6304
6322
|
/** NodeExecutionEvent outputResult. */
|
|
6305
6323
|
public outputResult?: ("outputUri"|"error"|"outputData");
|
|
6306
6324
|
|
|
@@ -6783,6 +6801,12 @@ export namespace flyteidl {
|
|
|
6783
6801
|
|
|
6784
6802
|
/** ExternalResourceInfo phase */
|
|
6785
6803
|
phase?: (flyteidl.core.TaskExecution.Phase|null);
|
|
6804
|
+
|
|
6805
|
+
/** ExternalResourceInfo cacheStatus */
|
|
6806
|
+
cacheStatus?: (flyteidl.core.CatalogCacheStatus|null);
|
|
6807
|
+
|
|
6808
|
+
/** ExternalResourceInfo logs */
|
|
6809
|
+
logs?: (flyteidl.core.ITaskLog[]|null);
|
|
6786
6810
|
}
|
|
6787
6811
|
|
|
6788
6812
|
/** Represents an ExternalResourceInfo. */
|
|
@@ -6806,6 +6830,12 @@ export namespace flyteidl {
|
|
|
6806
6830
|
/** ExternalResourceInfo phase. */
|
|
6807
6831
|
public phase: flyteidl.core.TaskExecution.Phase;
|
|
6808
6832
|
|
|
6833
|
+
/** ExternalResourceInfo cacheStatus. */
|
|
6834
|
+
public cacheStatus: flyteidl.core.CatalogCacheStatus;
|
|
6835
|
+
|
|
6836
|
+
/** ExternalResourceInfo logs. */
|
|
6837
|
+
public logs: flyteidl.core.ITaskLog[];
|
|
6838
|
+
|
|
6809
6839
|
/**
|
|
6810
6840
|
* Creates a new ExternalResourceInfo instance using the specified properties.
|
|
6811
6841
|
* @param [properties] Properties to set
|
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -14890,6 +14890,9 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
14890
14890
|
* @property {string|null} [retryGroup] NodeExecutionEvent retryGroup
|
|
14891
14891
|
* @property {string|null} [specNodeId] NodeExecutionEvent specNodeId
|
|
14892
14892
|
* @property {string|null} [nodeName] NodeExecutionEvent nodeName
|
|
14893
|
+
* @property {number|null} [eventVersion] NodeExecutionEvent eventVersion
|
|
14894
|
+
* @property {boolean|null} [isParent] NodeExecutionEvent isParent
|
|
14895
|
+
* @property {boolean|null} [isDynamic] NodeExecutionEvent isDynamic
|
|
14893
14896
|
*/
|
|
14894
14897
|
|
|
14895
14898
|
/**
|
|
@@ -15027,6 +15030,30 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
15027
15030
|
*/
|
|
15028
15031
|
NodeExecutionEvent.prototype.nodeName = "";
|
|
15029
15032
|
|
|
15033
|
+
/**
|
|
15034
|
+
* NodeExecutionEvent eventVersion.
|
|
15035
|
+
* @member {number} eventVersion
|
|
15036
|
+
* @memberof flyteidl.event.NodeExecutionEvent
|
|
15037
|
+
* @instance
|
|
15038
|
+
*/
|
|
15039
|
+
NodeExecutionEvent.prototype.eventVersion = 0;
|
|
15040
|
+
|
|
15041
|
+
/**
|
|
15042
|
+
* NodeExecutionEvent isParent.
|
|
15043
|
+
* @member {boolean} isParent
|
|
15044
|
+
* @memberof flyteidl.event.NodeExecutionEvent
|
|
15045
|
+
* @instance
|
|
15046
|
+
*/
|
|
15047
|
+
NodeExecutionEvent.prototype.isParent = false;
|
|
15048
|
+
|
|
15049
|
+
/**
|
|
15050
|
+
* NodeExecutionEvent isDynamic.
|
|
15051
|
+
* @member {boolean} isDynamic
|
|
15052
|
+
* @memberof flyteidl.event.NodeExecutionEvent
|
|
15053
|
+
* @instance
|
|
15054
|
+
*/
|
|
15055
|
+
NodeExecutionEvent.prototype.isDynamic = false;
|
|
15056
|
+
|
|
15030
15057
|
// OneOf field names bound to virtual getters and setters
|
|
15031
15058
|
let $oneOfFields;
|
|
15032
15059
|
|
|
@@ -15106,6 +15133,12 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
15106
15133
|
$root.flyteidl.event.TaskNodeMetadata.encode(message.taskNodeMetadata, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim();
|
|
15107
15134
|
if (message.outputData != null && message.hasOwnProperty("outputData"))
|
|
15108
15135
|
$root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
|
|
15136
|
+
if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
|
|
15137
|
+
writer.uint32(/* id 16, wireType 0 =*/128).int32(message.eventVersion);
|
|
15138
|
+
if (message.isParent != null && message.hasOwnProperty("isParent"))
|
|
15139
|
+
writer.uint32(/* id 17, wireType 0 =*/136).bool(message.isParent);
|
|
15140
|
+
if (message.isDynamic != null && message.hasOwnProperty("isDynamic"))
|
|
15141
|
+
writer.uint32(/* id 18, wireType 0 =*/144).bool(message.isDynamic);
|
|
15109
15142
|
return writer;
|
|
15110
15143
|
};
|
|
15111
15144
|
|
|
@@ -15172,6 +15205,15 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
15172
15205
|
case 13:
|
|
15173
15206
|
message.nodeName = reader.string();
|
|
15174
15207
|
break;
|
|
15208
|
+
case 16:
|
|
15209
|
+
message.eventVersion = reader.int32();
|
|
15210
|
+
break;
|
|
15211
|
+
case 17:
|
|
15212
|
+
message.isParent = reader.bool();
|
|
15213
|
+
break;
|
|
15214
|
+
case 18:
|
|
15215
|
+
message.isDynamic = reader.bool();
|
|
15216
|
+
break;
|
|
15175
15217
|
default:
|
|
15176
15218
|
reader.skipType(tag & 7);
|
|
15177
15219
|
break;
|
|
@@ -15287,6 +15329,15 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
15287
15329
|
if (message.nodeName != null && message.hasOwnProperty("nodeName"))
|
|
15288
15330
|
if (!$util.isString(message.nodeName))
|
|
15289
15331
|
return "nodeName: string expected";
|
|
15332
|
+
if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
|
|
15333
|
+
if (!$util.isInteger(message.eventVersion))
|
|
15334
|
+
return "eventVersion: integer expected";
|
|
15335
|
+
if (message.isParent != null && message.hasOwnProperty("isParent"))
|
|
15336
|
+
if (typeof message.isParent !== "boolean")
|
|
15337
|
+
return "isParent: boolean expected";
|
|
15338
|
+
if (message.isDynamic != null && message.hasOwnProperty("isDynamic"))
|
|
15339
|
+
if (typeof message.isDynamic !== "boolean")
|
|
15340
|
+
return "isDynamic: boolean expected";
|
|
15290
15341
|
return null;
|
|
15291
15342
|
};
|
|
15292
15343
|
|
|
@@ -16377,6 +16428,8 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
16377
16428
|
* @property {number|null} [index] ExternalResourceInfo index
|
|
16378
16429
|
* @property {number|null} [retryAttempt] ExternalResourceInfo retryAttempt
|
|
16379
16430
|
* @property {flyteidl.core.TaskExecution.Phase|null} [phase] ExternalResourceInfo phase
|
|
16431
|
+
* @property {flyteidl.core.CatalogCacheStatus|null} [cacheStatus] ExternalResourceInfo cacheStatus
|
|
16432
|
+
* @property {Array.<flyteidl.core.ITaskLog>|null} [logs] ExternalResourceInfo logs
|
|
16380
16433
|
*/
|
|
16381
16434
|
|
|
16382
16435
|
/**
|
|
@@ -16388,6 +16441,7 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
16388
16441
|
* @param {flyteidl.event.IExternalResourceInfo=} [properties] Properties to set
|
|
16389
16442
|
*/
|
|
16390
16443
|
function ExternalResourceInfo(properties) {
|
|
16444
|
+
this.logs = [];
|
|
16391
16445
|
if (properties)
|
|
16392
16446
|
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
16393
16447
|
if (properties[keys[i]] != null)
|
|
@@ -16426,6 +16480,22 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
16426
16480
|
*/
|
|
16427
16481
|
ExternalResourceInfo.prototype.phase = 0;
|
|
16428
16482
|
|
|
16483
|
+
/**
|
|
16484
|
+
* ExternalResourceInfo cacheStatus.
|
|
16485
|
+
* @member {flyteidl.core.CatalogCacheStatus} cacheStatus
|
|
16486
|
+
* @memberof flyteidl.event.ExternalResourceInfo
|
|
16487
|
+
* @instance
|
|
16488
|
+
*/
|
|
16489
|
+
ExternalResourceInfo.prototype.cacheStatus = 0;
|
|
16490
|
+
|
|
16491
|
+
/**
|
|
16492
|
+
* ExternalResourceInfo logs.
|
|
16493
|
+
* @member {Array.<flyteidl.core.ITaskLog>} logs
|
|
16494
|
+
* @memberof flyteidl.event.ExternalResourceInfo
|
|
16495
|
+
* @instance
|
|
16496
|
+
*/
|
|
16497
|
+
ExternalResourceInfo.prototype.logs = $util.emptyArray;
|
|
16498
|
+
|
|
16429
16499
|
/**
|
|
16430
16500
|
* Creates a new ExternalResourceInfo instance using the specified properties.
|
|
16431
16501
|
* @function create
|
|
@@ -16458,6 +16528,11 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
16458
16528
|
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.retryAttempt);
|
|
16459
16529
|
if (message.phase != null && message.hasOwnProperty("phase"))
|
|
16460
16530
|
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.phase);
|
|
16531
|
+
if (message.cacheStatus != null && message.hasOwnProperty("cacheStatus"))
|
|
16532
|
+
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.cacheStatus);
|
|
16533
|
+
if (message.logs != null && message.logs.length)
|
|
16534
|
+
for (let i = 0; i < message.logs.length; ++i)
|
|
16535
|
+
$root.flyteidl.core.TaskLog.encode(message.logs[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
16461
16536
|
return writer;
|
|
16462
16537
|
};
|
|
16463
16538
|
|
|
@@ -16491,6 +16566,14 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
16491
16566
|
case 4:
|
|
16492
16567
|
message.phase = reader.int32();
|
|
16493
16568
|
break;
|
|
16569
|
+
case 5:
|
|
16570
|
+
message.cacheStatus = reader.int32();
|
|
16571
|
+
break;
|
|
16572
|
+
case 6:
|
|
16573
|
+
if (!(message.logs && message.logs.length))
|
|
16574
|
+
message.logs = [];
|
|
16575
|
+
message.logs.push($root.flyteidl.core.TaskLog.decode(reader, reader.uint32()));
|
|
16576
|
+
break;
|
|
16494
16577
|
default:
|
|
16495
16578
|
reader.skipType(tag & 7);
|
|
16496
16579
|
break;
|
|
@@ -16533,6 +16616,27 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
16533
16616
|
case 7:
|
|
16534
16617
|
break;
|
|
16535
16618
|
}
|
|
16619
|
+
if (message.cacheStatus != null && message.hasOwnProperty("cacheStatus"))
|
|
16620
|
+
switch (message.cacheStatus) {
|
|
16621
|
+
default:
|
|
16622
|
+
return "cacheStatus: enum value expected";
|
|
16623
|
+
case 0:
|
|
16624
|
+
case 1:
|
|
16625
|
+
case 2:
|
|
16626
|
+
case 3:
|
|
16627
|
+
case 4:
|
|
16628
|
+
case 5:
|
|
16629
|
+
break;
|
|
16630
|
+
}
|
|
16631
|
+
if (message.logs != null && message.hasOwnProperty("logs")) {
|
|
16632
|
+
if (!Array.isArray(message.logs))
|
|
16633
|
+
return "logs: array expected";
|
|
16634
|
+
for (let i = 0; i < message.logs.length; ++i) {
|
|
16635
|
+
let error = $root.flyteidl.core.TaskLog.verify(message.logs[i]);
|
|
16636
|
+
if (error)
|
|
16637
|
+
return "logs." + error;
|
|
16638
|
+
}
|
|
16639
|
+
}
|
|
16536
16640
|
return null;
|
|
16537
16641
|
};
|
|
16538
16642
|
|
package/package.json
CHANGED
|
@@ -2058,6 +2058,10 @@ Adds defaults for customizable workflow-execution specifications and overrides.
|
|
|
2058
2058
|
:widths: auto
|
|
2059
2059
|
|
|
2060
2060
|
"max_parallelism", ":ref:`ref_int32`", "", "Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness."
|
|
2061
|
+
"security_context", ":ref:`ref_flyteidl.core.SecurityContext`", "", "Indicates security context permissions for executions triggered with this matchable attribute."
|
|
2062
|
+
"raw_output_data_config", ":ref:`ref_flyteidl.admin.RawOutputDataConfig`", "", "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.)."
|
|
2063
|
+
"labels", ":ref:`ref_flyteidl.admin.Labels`", "", "Custom labels to be applied to a triggered execution resource."
|
|
2064
|
+
"annotations", ":ref:`ref_flyteidl.admin.Annotations`", "", "Custom annotations to be applied to a triggered execution resource."
|
|
2061
2065
|
|
|
2062
2066
|
|
|
2063
2067
|
|
|
@@ -3630,6 +3634,103 @@ Purposefully empty, may be populated in the future.
|
|
|
3630
3634
|
|
|
3631
3635
|
|
|
3632
3636
|
|
|
3637
|
+
<!-- end messages -->
|
|
3638
|
+
|
|
3639
|
+
<!-- end enums -->
|
|
3640
|
+
|
|
3641
|
+
<!-- end HasExtensions -->
|
|
3642
|
+
|
|
3643
|
+
<!-- end services -->
|
|
3644
|
+
|
|
3645
|
+
|
|
3646
|
+
|
|
3647
|
+
|
|
3648
|
+
.. _ref_google/protobuf/duration.proto:
|
|
3649
|
+
|
|
3650
|
+
google/protobuf/duration.proto
|
|
3651
|
+
==================================================================
|
|
3652
|
+
|
|
3653
|
+
|
|
3654
|
+
|
|
3655
|
+
|
|
3656
|
+
|
|
3657
|
+
.. _ref_google.protobuf.Duration:
|
|
3658
|
+
|
|
3659
|
+
Duration
|
|
3660
|
+
------------------------------------------------------------------
|
|
3661
|
+
|
|
3662
|
+
A Duration represents a signed, fixed-length span of time represented
|
|
3663
|
+
as a count of seconds and fractions of seconds at nanosecond
|
|
3664
|
+
resolution. It is independent of any calendar and concepts like "day"
|
|
3665
|
+
or "month". It is related to Timestamp in that the difference between
|
|
3666
|
+
two Timestamp values is a Duration and it can be added or subtracted
|
|
3667
|
+
from a Timestamp. Range is approximately +-10,000 years.
|
|
3668
|
+
|
|
3669
|
+
# Examples
|
|
3670
|
+
|
|
3671
|
+
Example 1: Compute Duration from two Timestamps in pseudo code.
|
|
3672
|
+
|
|
3673
|
+
Timestamp start = ...;
|
|
3674
|
+
Timestamp end = ...;
|
|
3675
|
+
Duration duration = ...;
|
|
3676
|
+
|
|
3677
|
+
duration.seconds = end.seconds - start.seconds;
|
|
3678
|
+
duration.nanos = end.nanos - start.nanos;
|
|
3679
|
+
|
|
3680
|
+
if (duration.seconds < 0 && duration.nanos > 0) {
|
|
3681
|
+
duration.seconds += 1;
|
|
3682
|
+
duration.nanos -= 1000000000;
|
|
3683
|
+
} else if (duration.seconds > 0 && duration.nanos < 0) {
|
|
3684
|
+
duration.seconds -= 1;
|
|
3685
|
+
duration.nanos += 1000000000;
|
|
3686
|
+
}
|
|
3687
|
+
|
|
3688
|
+
Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
|
3689
|
+
|
|
3690
|
+
Timestamp start = ...;
|
|
3691
|
+
Duration duration = ...;
|
|
3692
|
+
Timestamp end = ...;
|
|
3693
|
+
|
|
3694
|
+
end.seconds = start.seconds + duration.seconds;
|
|
3695
|
+
end.nanos = start.nanos + duration.nanos;
|
|
3696
|
+
|
|
3697
|
+
if (end.nanos < 0) {
|
|
3698
|
+
end.seconds -= 1;
|
|
3699
|
+
end.nanos += 1000000000;
|
|
3700
|
+
} else if (end.nanos >= 1000000000) {
|
|
3701
|
+
end.seconds += 1;
|
|
3702
|
+
end.nanos -= 1000000000;
|
|
3703
|
+
}
|
|
3704
|
+
|
|
3705
|
+
Example 3: Compute Duration from datetime.timedelta in Python.
|
|
3706
|
+
|
|
3707
|
+
td = datetime.timedelta(days=3, minutes=10)
|
|
3708
|
+
duration = Duration()
|
|
3709
|
+
duration.FromTimedelta(td)
|
|
3710
|
+
|
|
3711
|
+
# JSON Mapping
|
|
3712
|
+
|
|
3713
|
+
In JSON format, the Duration type is encoded as a string rather than an
|
|
3714
|
+
object, where the string ends in the suffix "s" (indicating seconds) and
|
|
3715
|
+
is preceded by the number of seconds, with nanoseconds expressed as
|
|
3716
|
+
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
|
|
3717
|
+
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
|
|
3718
|
+
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
|
|
3719
|
+
microsecond should be expressed in JSON format as "3.000001s".
|
|
3720
|
+
|
|
3721
|
+
|
|
3722
|
+
|
|
3723
|
+
.. csv-table:: Duration type fields
|
|
3724
|
+
:header: "Field", "Type", "Label", "Description"
|
|
3725
|
+
:widths: auto
|
|
3726
|
+
|
|
3727
|
+
"seconds", ":ref:`ref_int64`", "", "Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years"
|
|
3728
|
+
"nanos", ":ref:`ref_int32`", "", "Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive."
|
|
3729
|
+
|
|
3730
|
+
|
|
3731
|
+
|
|
3732
|
+
|
|
3733
|
+
|
|
3633
3734
|
<!-- end messages -->
|
|
3634
3735
|
|
|
3635
3736
|
<!-- end enums -->
|