@flyteorg/flyteidl 0.24.21 → 1.1.0
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 +486 -0
- package/gen/pb-js/flyteidl.js +1047 -0
- package/package.json +1 -1
- package/protos/docs/admin/admin.rst +228 -0
- package/protos/flyteidl/admin/execution.proto +7 -0
- package/protos/flyteidl/admin/launch_plan.proto +7 -0
- package/protos/flyteidl/admin/matchable_resource.proto +7 -0
package/package.json
CHANGED
|
@@ -1179,6 +1179,7 @@ of an execution as it progresses across phase changes.
|
|
|
1179
1179
|
"max_parallelism", ":ref:`ref_int32`", "", "Controls the maximum number of task nodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this."
|
|
1180
1180
|
"raw_output_data_config", ":ref:`ref_flyteidl.admin.RawOutputDataConfig`", "", "User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.). This should be a prefix like s3://my-bucket/my-data"
|
|
1181
1181
|
"cluster_assignment", ":ref:`ref_flyteidl.admin.ClusterAssignment`", "", "Controls how to select an available cluster on which this execution should run."
|
|
1182
|
+
"interruptible", ":ref:`ref_google.protobuf.BoolValue`", "", "Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field."
|
|
1182
1183
|
|
|
1183
1184
|
|
|
1184
1185
|
|
|
@@ -1706,6 +1707,7 @@ User-provided launch plan definition and configuration values.
|
|
|
1706
1707
|
"quality_of_service", ":ref:`ref_flyteidl.core.QualityOfService`", "", "Indicates the runtime priority of the execution."
|
|
1707
1708
|
"raw_output_data_config", ":ref:`ref_flyteidl.admin.RawOutputDataConfig`", "", "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.)."
|
|
1708
1709
|
"max_parallelism", ":ref:`ref_int32`", "", "Controls the maximum number of tasknodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this."
|
|
1710
|
+
"interruptible", ":ref:`ref_google.protobuf.BoolValue`", "", "Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field."
|
|
1709
1711
|
|
|
1710
1712
|
|
|
1711
1713
|
|
|
@@ -2084,6 +2086,7 @@ Adds defaults for customizable workflow-execution specifications and overrides.
|
|
|
2084
2086
|
"raw_output_data_config", ":ref:`ref_flyteidl.admin.RawOutputDataConfig`", "", "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.)."
|
|
2085
2087
|
"labels", ":ref:`ref_flyteidl.admin.Labels`", "", "Custom labels to be applied to a triggered execution resource."
|
|
2086
2088
|
"annotations", ":ref:`ref_flyteidl.admin.Annotations`", "", "Custom annotations to be applied to a triggered execution resource."
|
|
2089
|
+
"interruptible", ":ref:`ref_google.protobuf.BoolValue`", "", "Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field."
|
|
2087
2090
|
|
|
2088
2091
|
|
|
2089
2092
|
|
|
@@ -3754,6 +3757,231 @@ microsecond should be expressed in JSON format as "3.000001s".
|
|
|
3754
3757
|
|
|
3755
3758
|
|
|
3756
3759
|
|
|
3760
|
+
<!-- end messages -->
|
|
3761
|
+
|
|
3762
|
+
<!-- end enums -->
|
|
3763
|
+
|
|
3764
|
+
<!-- end HasExtensions -->
|
|
3765
|
+
|
|
3766
|
+
<!-- end services -->
|
|
3767
|
+
|
|
3768
|
+
|
|
3769
|
+
|
|
3770
|
+
|
|
3771
|
+
.. _ref_google/protobuf/wrappers.proto:
|
|
3772
|
+
|
|
3773
|
+
google/protobuf/wrappers.proto
|
|
3774
|
+
==================================================================
|
|
3775
|
+
|
|
3776
|
+
|
|
3777
|
+
|
|
3778
|
+
|
|
3779
|
+
|
|
3780
|
+
.. _ref_google.protobuf.BoolValue:
|
|
3781
|
+
|
|
3782
|
+
BoolValue
|
|
3783
|
+
------------------------------------------------------------------
|
|
3784
|
+
|
|
3785
|
+
Wrapper message for `bool`.
|
|
3786
|
+
|
|
3787
|
+
The JSON representation for `BoolValue` is JSON `true` and `false`.
|
|
3788
|
+
|
|
3789
|
+
|
|
3790
|
+
|
|
3791
|
+
.. csv-table:: BoolValue type fields
|
|
3792
|
+
:header: "Field", "Type", "Label", "Description"
|
|
3793
|
+
:widths: auto
|
|
3794
|
+
|
|
3795
|
+
"value", ":ref:`ref_bool`", "", "The bool value."
|
|
3796
|
+
|
|
3797
|
+
|
|
3798
|
+
|
|
3799
|
+
|
|
3800
|
+
|
|
3801
|
+
|
|
3802
|
+
|
|
3803
|
+
.. _ref_google.protobuf.BytesValue:
|
|
3804
|
+
|
|
3805
|
+
BytesValue
|
|
3806
|
+
------------------------------------------------------------------
|
|
3807
|
+
|
|
3808
|
+
Wrapper message for `bytes`.
|
|
3809
|
+
|
|
3810
|
+
The JSON representation for `BytesValue` is JSON string.
|
|
3811
|
+
|
|
3812
|
+
|
|
3813
|
+
|
|
3814
|
+
.. csv-table:: BytesValue type fields
|
|
3815
|
+
:header: "Field", "Type", "Label", "Description"
|
|
3816
|
+
:widths: auto
|
|
3817
|
+
|
|
3818
|
+
"value", ":ref:`ref_bytes`", "", "The bytes value."
|
|
3819
|
+
|
|
3820
|
+
|
|
3821
|
+
|
|
3822
|
+
|
|
3823
|
+
|
|
3824
|
+
|
|
3825
|
+
|
|
3826
|
+
.. _ref_google.protobuf.DoubleValue:
|
|
3827
|
+
|
|
3828
|
+
DoubleValue
|
|
3829
|
+
------------------------------------------------------------------
|
|
3830
|
+
|
|
3831
|
+
Wrapper message for `double`.
|
|
3832
|
+
|
|
3833
|
+
The JSON representation for `DoubleValue` is JSON number.
|
|
3834
|
+
|
|
3835
|
+
|
|
3836
|
+
|
|
3837
|
+
.. csv-table:: DoubleValue type fields
|
|
3838
|
+
:header: "Field", "Type", "Label", "Description"
|
|
3839
|
+
:widths: auto
|
|
3840
|
+
|
|
3841
|
+
"value", ":ref:`ref_double`", "", "The double value."
|
|
3842
|
+
|
|
3843
|
+
|
|
3844
|
+
|
|
3845
|
+
|
|
3846
|
+
|
|
3847
|
+
|
|
3848
|
+
|
|
3849
|
+
.. _ref_google.protobuf.FloatValue:
|
|
3850
|
+
|
|
3851
|
+
FloatValue
|
|
3852
|
+
------------------------------------------------------------------
|
|
3853
|
+
|
|
3854
|
+
Wrapper message for `float`.
|
|
3855
|
+
|
|
3856
|
+
The JSON representation for `FloatValue` is JSON number.
|
|
3857
|
+
|
|
3858
|
+
|
|
3859
|
+
|
|
3860
|
+
.. csv-table:: FloatValue type fields
|
|
3861
|
+
:header: "Field", "Type", "Label", "Description"
|
|
3862
|
+
:widths: auto
|
|
3863
|
+
|
|
3864
|
+
"value", ":ref:`ref_float`", "", "The float value."
|
|
3865
|
+
|
|
3866
|
+
|
|
3867
|
+
|
|
3868
|
+
|
|
3869
|
+
|
|
3870
|
+
|
|
3871
|
+
|
|
3872
|
+
.. _ref_google.protobuf.Int32Value:
|
|
3873
|
+
|
|
3874
|
+
Int32Value
|
|
3875
|
+
------------------------------------------------------------------
|
|
3876
|
+
|
|
3877
|
+
Wrapper message for `int32`.
|
|
3878
|
+
|
|
3879
|
+
The JSON representation for `Int32Value` is JSON number.
|
|
3880
|
+
|
|
3881
|
+
|
|
3882
|
+
|
|
3883
|
+
.. csv-table:: Int32Value type fields
|
|
3884
|
+
:header: "Field", "Type", "Label", "Description"
|
|
3885
|
+
:widths: auto
|
|
3886
|
+
|
|
3887
|
+
"value", ":ref:`ref_int32`", "", "The int32 value."
|
|
3888
|
+
|
|
3889
|
+
|
|
3890
|
+
|
|
3891
|
+
|
|
3892
|
+
|
|
3893
|
+
|
|
3894
|
+
|
|
3895
|
+
.. _ref_google.protobuf.Int64Value:
|
|
3896
|
+
|
|
3897
|
+
Int64Value
|
|
3898
|
+
------------------------------------------------------------------
|
|
3899
|
+
|
|
3900
|
+
Wrapper message for `int64`.
|
|
3901
|
+
|
|
3902
|
+
The JSON representation for `Int64Value` is JSON string.
|
|
3903
|
+
|
|
3904
|
+
|
|
3905
|
+
|
|
3906
|
+
.. csv-table:: Int64Value type fields
|
|
3907
|
+
:header: "Field", "Type", "Label", "Description"
|
|
3908
|
+
:widths: auto
|
|
3909
|
+
|
|
3910
|
+
"value", ":ref:`ref_int64`", "", "The int64 value."
|
|
3911
|
+
|
|
3912
|
+
|
|
3913
|
+
|
|
3914
|
+
|
|
3915
|
+
|
|
3916
|
+
|
|
3917
|
+
|
|
3918
|
+
.. _ref_google.protobuf.StringValue:
|
|
3919
|
+
|
|
3920
|
+
StringValue
|
|
3921
|
+
------------------------------------------------------------------
|
|
3922
|
+
|
|
3923
|
+
Wrapper message for `string`.
|
|
3924
|
+
|
|
3925
|
+
The JSON representation for `StringValue` is JSON string.
|
|
3926
|
+
|
|
3927
|
+
|
|
3928
|
+
|
|
3929
|
+
.. csv-table:: StringValue type fields
|
|
3930
|
+
:header: "Field", "Type", "Label", "Description"
|
|
3931
|
+
:widths: auto
|
|
3932
|
+
|
|
3933
|
+
"value", ":ref:`ref_string`", "", "The string value."
|
|
3934
|
+
|
|
3935
|
+
|
|
3936
|
+
|
|
3937
|
+
|
|
3938
|
+
|
|
3939
|
+
|
|
3940
|
+
|
|
3941
|
+
.. _ref_google.protobuf.UInt32Value:
|
|
3942
|
+
|
|
3943
|
+
UInt32Value
|
|
3944
|
+
------------------------------------------------------------------
|
|
3945
|
+
|
|
3946
|
+
Wrapper message for `uint32`.
|
|
3947
|
+
|
|
3948
|
+
The JSON representation for `UInt32Value` is JSON number.
|
|
3949
|
+
|
|
3950
|
+
|
|
3951
|
+
|
|
3952
|
+
.. csv-table:: UInt32Value type fields
|
|
3953
|
+
:header: "Field", "Type", "Label", "Description"
|
|
3954
|
+
:widths: auto
|
|
3955
|
+
|
|
3956
|
+
"value", ":ref:`ref_uint32`", "", "The uint32 value."
|
|
3957
|
+
|
|
3958
|
+
|
|
3959
|
+
|
|
3960
|
+
|
|
3961
|
+
|
|
3962
|
+
|
|
3963
|
+
|
|
3964
|
+
.. _ref_google.protobuf.UInt64Value:
|
|
3965
|
+
|
|
3966
|
+
UInt64Value
|
|
3967
|
+
------------------------------------------------------------------
|
|
3968
|
+
|
|
3969
|
+
Wrapper message for `uint64`.
|
|
3970
|
+
|
|
3971
|
+
The JSON representation for `UInt64Value` is JSON string.
|
|
3972
|
+
|
|
3973
|
+
|
|
3974
|
+
|
|
3975
|
+
.. csv-table:: UInt64Value type fields
|
|
3976
|
+
:header: "Field", "Type", "Label", "Description"
|
|
3977
|
+
:widths: auto
|
|
3978
|
+
|
|
3979
|
+
"value", ":ref:`ref_uint64`", "", "The uint64 value."
|
|
3980
|
+
|
|
3981
|
+
|
|
3982
|
+
|
|
3983
|
+
|
|
3984
|
+
|
|
3757
3985
|
<!-- end messages -->
|
|
3758
3986
|
|
|
3759
3987
|
<!-- end enums -->
|
|
@@ -11,6 +11,7 @@ import "flyteidl/core/identifier.proto";
|
|
|
11
11
|
import "flyteidl/core/security.proto";
|
|
12
12
|
import "google/protobuf/duration.proto";
|
|
13
13
|
import "google/protobuf/timestamp.proto";
|
|
14
|
+
import "google/protobuf/wrappers.proto";
|
|
14
15
|
|
|
15
16
|
// Request to launch an execution with the given project, domain and optionally-assigned name.
|
|
16
17
|
message ExecutionCreateRequest {
|
|
@@ -289,6 +290,12 @@ message ExecutionSpec {
|
|
|
289
290
|
|
|
290
291
|
// Controls how to select an available cluster on which this execution should run.
|
|
291
292
|
ClusterAssignment cluster_assignment = 20;
|
|
293
|
+
|
|
294
|
+
// Allows for the interruptible flag of a workflow to be overwritten for a single execution.
|
|
295
|
+
// Omitting this field uses the workflow's value as a default.
|
|
296
|
+
// As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
|
|
297
|
+
// around the bool field.
|
|
298
|
+
google.protobuf.BoolValue interruptible = 21;
|
|
292
299
|
}
|
|
293
300
|
|
|
294
301
|
// Request to terminate an in-progress execution. This action is irreversible.
|
|
@@ -11,6 +11,7 @@ import "flyteidl/core/security.proto";
|
|
|
11
11
|
import "flyteidl/admin/schedule.proto";
|
|
12
12
|
import "flyteidl/admin/common.proto";
|
|
13
13
|
import "google/protobuf/timestamp.proto";
|
|
14
|
+
import "google/protobuf/wrappers.proto";
|
|
14
15
|
|
|
15
16
|
// Request to register a launch plan. The included LaunchPlanSpec may have a complete or incomplete set of inputs required
|
|
16
17
|
// to launch a workflow execution. By default all launch plans are registered in state INACTIVE. If you wish to
|
|
@@ -118,6 +119,12 @@ message LaunchPlanSpec {
|
|
|
118
119
|
// This is useful to achieve fairness. Note: MapTasks are regarded as one unit,
|
|
119
120
|
// and parallelism/concurrency of MapTasks is independent from this.
|
|
120
121
|
int32 max_parallelism = 18;
|
|
122
|
+
|
|
123
|
+
// Allows for the interruptible flag of a workflow to be overwritten for a single execution.
|
|
124
|
+
// Omitting this field uses the workflow's value as a default.
|
|
125
|
+
// As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
|
|
126
|
+
// around the bool field.
|
|
127
|
+
google.protobuf.BoolValue interruptible = 19;
|
|
121
128
|
}
|
|
122
129
|
|
|
123
130
|
// Values computed by the flyte platform after launch plan registration.
|
|
@@ -7,6 +7,7 @@ import "flyteidl/admin/common.proto";
|
|
|
7
7
|
import "flyteidl/admin/cluster_assignment.proto";
|
|
8
8
|
import "flyteidl/core/execution.proto";
|
|
9
9
|
import "flyteidl/core/security.proto";
|
|
10
|
+
import "google/protobuf/wrappers.proto";
|
|
10
11
|
|
|
11
12
|
// Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes
|
|
12
13
|
// based on matching tags.
|
|
@@ -116,6 +117,12 @@ message WorkflowExecutionConfig {
|
|
|
116
117
|
|
|
117
118
|
// Custom annotations to be applied to a triggered execution resource.
|
|
118
119
|
Annotations annotations = 5;
|
|
120
|
+
|
|
121
|
+
// Allows for the interruptible flag of a workflow to be overwritten for a single execution.
|
|
122
|
+
// Omitting this field uses the workflow's value as a default.
|
|
123
|
+
// As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
|
|
124
|
+
// around the bool field.
|
|
125
|
+
google.protobuf.BoolValue interruptible = 6;
|
|
119
126
|
}
|
|
120
127
|
|
|
121
128
|
// Generic container for encapsulating all types of the above attributes messages.
|