@flyteorg/flyteidl 1.16.0 → 2.0.0-alpha2
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/package.json +6 -9
- package/LICENSE +0 -202
- package/NOTICE +0 -4
- package/README.md +0 -14
- package/gen/pb-js/flyteidl.d.ts +0 -28307
- package/gen/pb-js/flyteidl.js +0 -66636
- package/protos/buf.lock +0 -18
- package/protos/buf.yaml +0 -12
- package/protos/docs/admin/admin.rst +0 -4623
- package/protos/docs/admin/index.rst +0 -13
- package/protos/docs/contributing.md +0 -68
- package/protos/docs/core/core.rst +0 -3952
- package/protos/docs/core/index.rst +0 -15
- package/protos/docs/datacatalog/datacatalog.rst +0 -1313
- package/protos/docs/datacatalog/index.rst +0 -16
- package/protos/docs/event/event.rst +0 -726
- package/protos/docs/event/index.rst +0 -27
- package/protos/docs/plugins/index.rst +0 -14
- package/protos/docs/plugins/plugins.rst +0 -780
- package/protos/docs/restructuredtext.tmpl +0 -129
- package/protos/docs/service/index.rst +0 -13
- package/protos/docs/service/service.rst +0 -543
- package/protos/docs/withoutscalar_restructuredtext.tmpl +0 -105
- package/protos/docs_index.rst +0 -19
- package/protos/flyteidl/admin/agent.proto +0 -309
- package/protos/flyteidl/admin/cluster_assignment.proto +0 -11
- package/protos/flyteidl/admin/common.proto +0 -337
- package/protos/flyteidl/admin/description_entity.proto +0 -95
- package/protos/flyteidl/admin/event.proto +0 -70
- package/protos/flyteidl/admin/execution.proto +0 -436
- package/protos/flyteidl/admin/launch_plan.proto +0 -231
- package/protos/flyteidl/admin/matchable_resource.proto +0 -194
- package/protos/flyteidl/admin/node_execution.proto +0 -248
- package/protos/flyteidl/admin/notification.proto +0 -27
- package/protos/flyteidl/admin/project.proto +0 -132
- package/protos/flyteidl/admin/project_attributes.proto +0 -69
- package/protos/flyteidl/admin/project_domain_attributes.proto +0 -80
- package/protos/flyteidl/admin/schedule.proto +0 -43
- package/protos/flyteidl/admin/signal.proto +0 -86
- package/protos/flyteidl/admin/task.proto +0 -71
- package/protos/flyteidl/admin/task_execution.proto +0 -171
- package/protos/flyteidl/admin/version.proto +0 -27
- package/protos/flyteidl/admin/workflow.proto +0 -92
- package/protos/flyteidl/admin/workflow_attributes.proto +0 -89
- package/protos/flyteidl/cacheservice/cacheservice.proto +0 -143
- package/protos/flyteidl/core/artifact_id.proto +0 -112
- package/protos/flyteidl/core/catalog.proto +0 -63
- package/protos/flyteidl/core/compiler.proto +0 -64
- package/protos/flyteidl/core/condition.proto +0 -63
- package/protos/flyteidl/core/dynamic_job.proto +0 -32
- package/protos/flyteidl/core/errors.proto +0 -42
- package/protos/flyteidl/core/execution.proto +0 -156
- package/protos/flyteidl/core/execution_envs.proto +0 -45
- package/protos/flyteidl/core/identifier.proto +0 -80
- package/protos/flyteidl/core/interface.proto +0 -64
- package/protos/flyteidl/core/literals.proto +0 -205
- package/protos/flyteidl/core/metrics.proto +0 -50
- package/protos/flyteidl/core/security.proto +0 -135
- package/protos/flyteidl/core/tasks.proto +0 -392
- package/protos/flyteidl/core/types.proto +0 -208
- package/protos/flyteidl/core/workflow.proto +0 -361
- package/protos/flyteidl/core/workflow_closure.proto +0 -18
- package/protos/flyteidl/datacatalog/datacatalog.proto +0 -420
- package/protos/flyteidl/event/cloudevents.proto +0 -81
- package/protos/flyteidl/event/event.proto +0 -347
- package/protos/flyteidl/plugins/array_job.proto +0 -30
- package/protos/flyteidl/plugins/common.proto +0 -27
- package/protos/flyteidl/plugins/dask.proto +0 -41
- package/protos/flyteidl/plugins/kubeflow/common.proto +0 -28
- package/protos/flyteidl/plugins/kubeflow/mpi.proto +0 -47
- package/protos/flyteidl/plugins/kubeflow/pytorch.proto +0 -53
- package/protos/flyteidl/plugins/kubeflow/tensorflow.proto +0 -46
- package/protos/flyteidl/plugins/mpi.proto +0 -20
- package/protos/flyteidl/plugins/presto.proto +0 -14
- package/protos/flyteidl/plugins/pytorch.proto +0 -25
- package/protos/flyteidl/plugins/qubole.proto +0 -26
- package/protos/flyteidl/plugins/ray.proto +0 -59
- package/protos/flyteidl/plugins/spark.proto +0 -42
- package/protos/flyteidl/plugins/tensorflow.proto +0 -18
- package/protos/flyteidl/plugins/waitable.proto +0 -15
- package/protos/flyteidl/service/admin.proto +0 -668
- package/protos/flyteidl/service/agent.proto +0 -79
- package/protos/flyteidl/service/auth.proto +0 -94
- package/protos/flyteidl/service/dataproxy.proto +0 -205
- package/protos/flyteidl/service/external_plugin_service.proto +0 -79
- package/protos/flyteidl/service/identity.proto +0 -51
- package/protos/flyteidl/service/signal.proto +0 -55
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package flyteidl.admin;
|
|
4
|
-
option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin";
|
|
5
|
-
|
|
6
|
-
import "flyteidl/core/identifier.proto";
|
|
7
|
-
import "flyteidl/admin/common.proto";
|
|
8
|
-
|
|
9
|
-
// DescriptionEntity contains detailed description for the task/workflow.
|
|
10
|
-
// Documentation could provide insight into the algorithms, business use case, etc.
|
|
11
|
-
message DescriptionEntity {
|
|
12
|
-
// id represents the unique identifier of the description entity.
|
|
13
|
-
core.Identifier id = 1;
|
|
14
|
-
// One-liner overview of the entity.
|
|
15
|
-
string short_description = 2;
|
|
16
|
-
// Full user description with formatting preserved.
|
|
17
|
-
Description long_description = 3;
|
|
18
|
-
// Optional link to source code used to define this entity.
|
|
19
|
-
SourceCode source_code = 4;
|
|
20
|
-
// User-specified tags. These are arbitrary and can be used for searching
|
|
21
|
-
// filtering and discovering tasks.
|
|
22
|
-
repeated string tags = 5;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// The format of the long description
|
|
26
|
-
enum DescriptionFormat {
|
|
27
|
-
DESCRIPTION_FORMAT_UNKNOWN = 0;
|
|
28
|
-
DESCRIPTION_FORMAT_MARKDOWN = 1;
|
|
29
|
-
DESCRIPTION_FORMAT_HTML = 2;
|
|
30
|
-
// python default documentation - comments is rst
|
|
31
|
-
DESCRIPTION_FORMAT_RST = 3;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
// Full user description with formatting preserved. This can be rendered
|
|
35
|
-
// by clients, such as the console or command line tools with in-tact
|
|
36
|
-
// formatting.
|
|
37
|
-
message Description {
|
|
38
|
-
oneof content {
|
|
39
|
-
// long description - no more than 4KB
|
|
40
|
-
string value = 1;
|
|
41
|
-
// if the description sizes exceed some threshold we can offload the entire
|
|
42
|
-
// description proto altogether to an external data store, like S3 rather than store inline in the db
|
|
43
|
-
string uri = 2;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// Format of the long description
|
|
47
|
-
DescriptionFormat format = 3;
|
|
48
|
-
// Optional link to an icon for the entity
|
|
49
|
-
string icon_link = 4;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
// Link to source code used to define this entity
|
|
53
|
-
message SourceCode {
|
|
54
|
-
string link = 1;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// Represents a list of DescriptionEntities returned from the admin.
|
|
58
|
-
// See :ref:`ref_flyteidl.admin.DescriptionEntity` for more details
|
|
59
|
-
message DescriptionEntityList {
|
|
60
|
-
// A list of DescriptionEntities returned based on the request.
|
|
61
|
-
repeated DescriptionEntity descriptionEntities = 1;
|
|
62
|
-
|
|
63
|
-
// In the case of multiple pages of results, the server-provided token can be used to fetch the next page
|
|
64
|
-
// in a query. If there are no more results, this value will be empty.
|
|
65
|
-
string token = 2;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
// Represents a request structure to retrieve a list of DescriptionEntities.
|
|
69
|
-
// See :ref:`ref_flyteidl.admin.DescriptionEntity` for more details
|
|
70
|
-
message DescriptionEntityListRequest {
|
|
71
|
-
// Identifies the specific type of resource that this identifier corresponds to.
|
|
72
|
-
flyteidl.core.ResourceType resource_type = 1;
|
|
73
|
-
|
|
74
|
-
// The identifier for the description entity.
|
|
75
|
-
// +required
|
|
76
|
-
NamedEntityIdentifier id = 2;
|
|
77
|
-
|
|
78
|
-
// Indicates the number of resources to be returned.
|
|
79
|
-
// +required
|
|
80
|
-
uint32 limit = 3;
|
|
81
|
-
|
|
82
|
-
// In the case of multiple pages of results, the server-provided token can be used to fetch the next page
|
|
83
|
-
// in a query.
|
|
84
|
-
// +optional
|
|
85
|
-
string token = 4;
|
|
86
|
-
|
|
87
|
-
// Indicates a list of filters passed as string.
|
|
88
|
-
// More info on constructing filters : <Link>
|
|
89
|
-
// +optional
|
|
90
|
-
string filters = 5;
|
|
91
|
-
|
|
92
|
-
// Sort ordering for returned list.
|
|
93
|
-
// +optional
|
|
94
|
-
Sort sort_by = 6;
|
|
95
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package flyteidl.admin;
|
|
4
|
-
option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin";
|
|
5
|
-
|
|
6
|
-
import "flyteidl/event/event.proto";
|
|
7
|
-
|
|
8
|
-
// Indicates that a sent event was not used to update execution state due to
|
|
9
|
-
// the referenced execution already being terminated (and therefore ineligible
|
|
10
|
-
// for further state transitions).
|
|
11
|
-
message EventErrorAlreadyInTerminalState {
|
|
12
|
-
// +required
|
|
13
|
-
string current_phase = 1;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
// Indicates an event was rejected because it came from a different cluster than
|
|
17
|
-
// is on record as running the execution.
|
|
18
|
-
message EventErrorIncompatibleCluster {
|
|
19
|
-
// The cluster which has been recorded as processing the execution.
|
|
20
|
-
// +required
|
|
21
|
-
string cluster = 1;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// Indicates why a sent event was not used to update execution.
|
|
25
|
-
message EventFailureReason {
|
|
26
|
-
// +required
|
|
27
|
-
oneof reason {
|
|
28
|
-
EventErrorAlreadyInTerminalState already_in_terminal_state = 1;
|
|
29
|
-
EventErrorIncompatibleCluster incompatible_cluster = 2;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
// Request to send a notification that a workflow execution event has occurred.
|
|
34
|
-
message WorkflowExecutionEventRequest {
|
|
35
|
-
// Unique ID for this request that can be traced between services
|
|
36
|
-
string request_id = 1;
|
|
37
|
-
|
|
38
|
-
// Details about the event that occurred.
|
|
39
|
-
event.WorkflowExecutionEvent event = 2;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
message WorkflowExecutionEventResponse {
|
|
43
|
-
// Purposefully empty, may be populated in the future.
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// Request to send a notification that a node execution event has occurred.
|
|
47
|
-
message NodeExecutionEventRequest {
|
|
48
|
-
// Unique ID for this request that can be traced between services
|
|
49
|
-
string request_id = 1;
|
|
50
|
-
|
|
51
|
-
// Details about the event that occurred.
|
|
52
|
-
event.NodeExecutionEvent event = 2;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
message NodeExecutionEventResponse {
|
|
56
|
-
// Purposefully empty, may be populated in the future.
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// Request to send a notification that a task execution event has occurred.
|
|
60
|
-
message TaskExecutionEventRequest {
|
|
61
|
-
// Unique ID for this request that can be traced between services
|
|
62
|
-
string request_id = 1;
|
|
63
|
-
|
|
64
|
-
// Details about the event that occurred.
|
|
65
|
-
event.TaskExecutionEvent event = 2;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
message TaskExecutionEventResponse {
|
|
69
|
-
// Purposefully empty, may be populated in the future.
|
|
70
|
-
}
|
|
@@ -1,436 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package flyteidl.admin;
|
|
4
|
-
option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin";
|
|
5
|
-
|
|
6
|
-
import "flyteidl/admin/cluster_assignment.proto";
|
|
7
|
-
import "flyteidl/admin/common.proto";
|
|
8
|
-
import "flyteidl/core/literals.proto";
|
|
9
|
-
import "flyteidl/core/execution.proto";
|
|
10
|
-
import "flyteidl/core/execution_envs.proto";
|
|
11
|
-
import "flyteidl/core/artifact_id.proto";
|
|
12
|
-
import "flyteidl/core/identifier.proto";
|
|
13
|
-
import "flyteidl/core/metrics.proto";
|
|
14
|
-
import "flyteidl/core/security.proto";
|
|
15
|
-
import "google/protobuf/duration.proto";
|
|
16
|
-
import "google/protobuf/timestamp.proto";
|
|
17
|
-
import "google/protobuf/wrappers.proto";
|
|
18
|
-
import "flyteidl/admin/matchable_resource.proto";
|
|
19
|
-
|
|
20
|
-
// Request to launch an execution with the given project, domain and optionally-assigned name.
|
|
21
|
-
message ExecutionCreateRequest {
|
|
22
|
-
// Name of the project the execution belongs to.
|
|
23
|
-
// +required
|
|
24
|
-
string project = 1;
|
|
25
|
-
|
|
26
|
-
// Name of the domain the execution belongs to.
|
|
27
|
-
// A domain can be considered as a subset within a specific project.
|
|
28
|
-
// +required
|
|
29
|
-
string domain = 2;
|
|
30
|
-
|
|
31
|
-
// User provided value for the resource.
|
|
32
|
-
// If none is provided the system will generate a unique string.
|
|
33
|
-
// +optional
|
|
34
|
-
string name = 3;
|
|
35
|
-
|
|
36
|
-
// Additional fields necessary to launch the execution.
|
|
37
|
-
// +optional
|
|
38
|
-
ExecutionSpec spec = 4;
|
|
39
|
-
|
|
40
|
-
// The inputs required to start the execution. All required inputs must be
|
|
41
|
-
// included in this map. If not required and not provided, defaults apply.
|
|
42
|
-
// +optional
|
|
43
|
-
core.LiteralMap inputs = 5;
|
|
44
|
-
|
|
45
|
-
// Optional, org key applied to the resource.
|
|
46
|
-
string org = 6;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// Request to relaunch the referenced execution.
|
|
50
|
-
message ExecutionRelaunchRequest {
|
|
51
|
-
// Identifier of the workflow execution to relaunch.
|
|
52
|
-
// +required
|
|
53
|
-
core.WorkflowExecutionIdentifier id = 1;
|
|
54
|
-
|
|
55
|
-
// Deprecated field, do not use.
|
|
56
|
-
reserved 2;
|
|
57
|
-
|
|
58
|
-
// User provided value for the relaunched execution.
|
|
59
|
-
// If none is provided the system will generate a unique string.
|
|
60
|
-
// +optional
|
|
61
|
-
string name = 3;
|
|
62
|
-
|
|
63
|
-
// Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
|
|
64
|
-
// If enabled, all calculations are performed even if cached results would be available, overwriting the stored
|
|
65
|
-
// data once execution finishes successfully.
|
|
66
|
-
bool overwrite_cache = 4;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
// Request to recover the referenced execution.
|
|
70
|
-
message ExecutionRecoverRequest {
|
|
71
|
-
// Identifier of the workflow execution to recover.
|
|
72
|
-
core.WorkflowExecutionIdentifier id = 1;
|
|
73
|
-
|
|
74
|
-
// User provided value for the recovered execution.
|
|
75
|
-
// If none is provided the system will generate a unique string.
|
|
76
|
-
// +optional
|
|
77
|
-
string name = 2;
|
|
78
|
-
|
|
79
|
-
// Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution.
|
|
80
|
-
ExecutionMetadata metadata = 3;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
// The unique identifier for a successfully created execution.
|
|
84
|
-
// If the name was *not* specified in the create request, this identifier will include a generated name.
|
|
85
|
-
message ExecutionCreateResponse {
|
|
86
|
-
core.WorkflowExecutionIdentifier id = 1;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// A message used to fetch a single workflow execution entity.
|
|
90
|
-
// See :ref:`ref_flyteidl.admin.Execution` for more details
|
|
91
|
-
message WorkflowExecutionGetRequest {
|
|
92
|
-
// Uniquely identifies an individual workflow execution.
|
|
93
|
-
core.WorkflowExecutionIdentifier id = 1;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// A workflow execution represents an instantiated workflow, including all inputs and additional
|
|
97
|
-
// metadata as well as computed results included state, outputs, and duration-based attributes.
|
|
98
|
-
// Used as a response object used in Get and List execution requests.
|
|
99
|
-
message Execution {
|
|
100
|
-
// Unique identifier of the workflow execution.
|
|
101
|
-
core.WorkflowExecutionIdentifier id = 1;
|
|
102
|
-
|
|
103
|
-
// User-provided configuration and inputs for launching the execution.
|
|
104
|
-
ExecutionSpec spec = 2;
|
|
105
|
-
|
|
106
|
-
// Execution results.
|
|
107
|
-
ExecutionClosure closure = 3;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
// Used as a response for request to list executions.
|
|
111
|
-
// See :ref:`ref_flyteidl.admin.Execution` for more details
|
|
112
|
-
message ExecutionList {
|
|
113
|
-
repeated Execution executions = 1;
|
|
114
|
-
|
|
115
|
-
// In the case of multiple pages of results, the server-provided token can be used to fetch the next page
|
|
116
|
-
// in a query. If there are no more results, this value will be empty.
|
|
117
|
-
string token = 2;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
// Input/output data can represented by actual values or a link to where values are stored
|
|
121
|
-
message LiteralMapBlob {
|
|
122
|
-
oneof data {
|
|
123
|
-
// Data in LiteralMap format
|
|
124
|
-
core.LiteralMap values = 1 [deprecated = true];
|
|
125
|
-
|
|
126
|
-
// In the event that the map is too large, we return a uri to the data
|
|
127
|
-
string uri = 2;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
// Specifies metadata around an aborted workflow execution.
|
|
132
|
-
message AbortMetadata {
|
|
133
|
-
// In the case of a user-specified abort, this will pass along the user-supplied cause.
|
|
134
|
-
string cause = 1;
|
|
135
|
-
|
|
136
|
-
// Identifies the entity (if any) responsible for terminating the execution
|
|
137
|
-
string principal = 2;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// Encapsulates the results of the Execution
|
|
141
|
-
message ExecutionClosure {
|
|
142
|
-
// A result produced by a terminated execution.
|
|
143
|
-
// A pending (non-terminal) execution will not have any output result.
|
|
144
|
-
oneof output_result {
|
|
145
|
-
// Output URI in the case of a successful execution.
|
|
146
|
-
// DEPRECATED. Use GetExecutionData to fetch output data instead.
|
|
147
|
-
LiteralMapBlob outputs = 1 [deprecated = true];
|
|
148
|
-
|
|
149
|
-
// Error information in the case of a failed execution.
|
|
150
|
-
core.ExecutionError error = 2;
|
|
151
|
-
|
|
152
|
-
// In the case of a user-specified abort, this will pass along the user-supplied cause.
|
|
153
|
-
string abort_cause = 10 [deprecated = true];
|
|
154
|
-
|
|
155
|
-
// In the case of a user-specified abort, this will pass along the user and their supplied cause.
|
|
156
|
-
AbortMetadata abort_metadata = 12;
|
|
157
|
-
|
|
158
|
-
// Raw output data produced by this execution.
|
|
159
|
-
// DEPRECATED. Use GetExecutionData to fetch output data instead.
|
|
160
|
-
core.LiteralMap output_data = 13 [deprecated = true];
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
// Inputs computed and passed for execution.
|
|
164
|
-
// computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan
|
|
165
|
-
core.LiteralMap computed_inputs = 3 [deprecated = true];
|
|
166
|
-
|
|
167
|
-
// Most recent recorded phase for the execution.
|
|
168
|
-
core.WorkflowExecution.Phase phase = 4;
|
|
169
|
-
|
|
170
|
-
// Reported time at which the execution began running.
|
|
171
|
-
google.protobuf.Timestamp started_at = 5;
|
|
172
|
-
|
|
173
|
-
// The amount of time the execution spent running.
|
|
174
|
-
google.protobuf.Duration duration = 6;
|
|
175
|
-
|
|
176
|
-
// Reported time at which the execution was created.
|
|
177
|
-
google.protobuf.Timestamp created_at = 7;
|
|
178
|
-
|
|
179
|
-
// Reported time at which the execution was last updated.
|
|
180
|
-
google.protobuf.Timestamp updated_at = 8;
|
|
181
|
-
|
|
182
|
-
// The notification settings to use after merging the CreateExecutionRequest and the launch plan
|
|
183
|
-
// notification settings. An execution launched with notifications will always prefer that definition
|
|
184
|
-
// to notifications defined statically in a launch plan.
|
|
185
|
-
repeated Notification notifications = 9;
|
|
186
|
-
|
|
187
|
-
// Identifies the workflow definition for this execution.
|
|
188
|
-
core.Identifier workflow_id = 11;
|
|
189
|
-
|
|
190
|
-
// Provides the details of the last stage change
|
|
191
|
-
ExecutionStateChangeDetails state_change_details = 14;
|
|
192
|
-
|
|
193
|
-
reserved 15;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
// Represents system, rather than user-facing, metadata about an execution.
|
|
197
|
-
message SystemMetadata {
|
|
198
|
-
|
|
199
|
-
// Which execution cluster this execution ran on.
|
|
200
|
-
string execution_cluster = 1;
|
|
201
|
-
|
|
202
|
-
// Which kubernetes namespace the execution ran under.
|
|
203
|
-
string namespace = 2;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
// Represents attributes about an execution which are not required to launch the execution but are useful to record.
|
|
207
|
-
// These attributes are assigned at launch time and do not change.
|
|
208
|
-
message ExecutionMetadata {
|
|
209
|
-
// The method by which this execution was launched.
|
|
210
|
-
enum ExecutionMode {
|
|
211
|
-
reserved 7;
|
|
212
|
-
|
|
213
|
-
// The default execution mode, MANUAL implies that an execution was launched by an individual.
|
|
214
|
-
MANUAL = 0;
|
|
215
|
-
|
|
216
|
-
// A schedule triggered this execution launch.
|
|
217
|
-
SCHEDULED = 1;
|
|
218
|
-
|
|
219
|
-
// A system process was responsible for launching this execution rather an individual.
|
|
220
|
-
SYSTEM = 2;
|
|
221
|
-
|
|
222
|
-
// This execution was launched with identical inputs as a previous execution.
|
|
223
|
-
RELAUNCH = 3;
|
|
224
|
-
|
|
225
|
-
// This execution was triggered by another execution.
|
|
226
|
-
CHILD_WORKFLOW = 4;
|
|
227
|
-
|
|
228
|
-
// This execution was recovered from another execution.
|
|
229
|
-
RECOVERED = 5;
|
|
230
|
-
|
|
231
|
-
// Execution was kicked off by the artifact trigger system
|
|
232
|
-
TRIGGER = 6;
|
|
233
|
-
}
|
|
234
|
-
ExecutionMode mode = 1;
|
|
235
|
-
|
|
236
|
-
// Identifier of the entity that triggered this execution.
|
|
237
|
-
// For systems using back-end authentication any value set here will be discarded in favor of the
|
|
238
|
-
// authenticated user context.
|
|
239
|
-
string principal = 2;
|
|
240
|
-
|
|
241
|
-
// Indicates the nestedness of this execution.
|
|
242
|
-
// If a user launches a workflow execution, the default nesting is 0.
|
|
243
|
-
// If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1
|
|
244
|
-
// Generally, if workflow at nesting level k launches a workflow then the child workflow will have
|
|
245
|
-
// nesting = k + 1.
|
|
246
|
-
uint32 nesting = 3;
|
|
247
|
-
|
|
248
|
-
// For scheduled executions, the requested time for execution for this specific schedule invocation.
|
|
249
|
-
google.protobuf.Timestamp scheduled_at = 4;
|
|
250
|
-
|
|
251
|
-
// Which subworkflow node (if any) launched this execution
|
|
252
|
-
core.NodeExecutionIdentifier parent_node_execution = 5;
|
|
253
|
-
|
|
254
|
-
// Optional, a reference workflow execution related to this execution.
|
|
255
|
-
// In the case of a relaunch, this references the original workflow execution.
|
|
256
|
-
core.WorkflowExecutionIdentifier reference_execution = 16;
|
|
257
|
-
|
|
258
|
-
// Optional, platform-specific metadata about the execution.
|
|
259
|
-
// In this the future this may be gated behind an ACL or some sort of authorization.
|
|
260
|
-
SystemMetadata system_metadata = 17;
|
|
261
|
-
|
|
262
|
-
// Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
|
|
263
|
-
// since we don't have a structure to handle nested ones anyways.
|
|
264
|
-
repeated core.ArtifactID artifact_ids = 18;
|
|
265
|
-
|
|
266
|
-
reserved 19;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
message NotificationList {
|
|
270
|
-
repeated Notification notifications = 1;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
// An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime
|
|
274
|
-
// of an execution as it progresses across phase changes.
|
|
275
|
-
message ExecutionSpec {
|
|
276
|
-
// Launch plan to be executed
|
|
277
|
-
core.Identifier launch_plan = 1;
|
|
278
|
-
|
|
279
|
-
// Input values to be passed for the execution
|
|
280
|
-
core.LiteralMap inputs = 2 [deprecated = true];
|
|
281
|
-
|
|
282
|
-
// Metadata for the execution
|
|
283
|
-
ExecutionMetadata metadata = 3;
|
|
284
|
-
|
|
285
|
-
// This field is deprecated. Do not use.
|
|
286
|
-
reserved 4;
|
|
287
|
-
|
|
288
|
-
oneof notification_overrides {
|
|
289
|
-
// List of notifications based on Execution status transitions
|
|
290
|
-
// When this list is not empty it is used rather than any notifications defined in the referenced launch plan.
|
|
291
|
-
// When this list is empty, the notifications defined for the launch plan will be applied.
|
|
292
|
-
NotificationList notifications = 5;
|
|
293
|
-
|
|
294
|
-
// This should be set to true if all notifications are intended to be disabled for this execution.
|
|
295
|
-
bool disable_all = 6;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
// Labels to apply to the execution resource.
|
|
299
|
-
Labels labels = 7;
|
|
300
|
-
|
|
301
|
-
// Annotations to apply to the execution resource.
|
|
302
|
-
Annotations annotations = 8;
|
|
303
|
-
|
|
304
|
-
// Optional: security context override to apply this execution.
|
|
305
|
-
core.SecurityContext security_context = 10;
|
|
306
|
-
|
|
307
|
-
// Optional: auth override to apply this execution.
|
|
308
|
-
AuthRole auth_role = 16 [deprecated = true];
|
|
309
|
-
|
|
310
|
-
// Indicates the runtime priority of the execution.
|
|
311
|
-
core.QualityOfService quality_of_service = 17;
|
|
312
|
-
|
|
313
|
-
// Controls the maximum number of task nodes that can be run in parallel for the entire workflow.
|
|
314
|
-
// This is useful to achieve fairness. Note: MapTasks are regarded as one unit,
|
|
315
|
-
// and parallelism/concurrency of MapTasks is independent from this.
|
|
316
|
-
int32 max_parallelism = 18;
|
|
317
|
-
|
|
318
|
-
// User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.).
|
|
319
|
-
// This should be a prefix like s3://my-bucket/my-data
|
|
320
|
-
RawOutputDataConfig raw_output_data_config = 19;
|
|
321
|
-
|
|
322
|
-
// Controls how to select an available cluster on which this execution should run.
|
|
323
|
-
ClusterAssignment cluster_assignment = 20;
|
|
324
|
-
|
|
325
|
-
// Allows for the interruptible flag of a workflow to be overwritten for a single execution.
|
|
326
|
-
// Omitting this field uses the workflow's value as a default.
|
|
327
|
-
// As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
|
|
328
|
-
// around the bool field.
|
|
329
|
-
google.protobuf.BoolValue interruptible = 21;
|
|
330
|
-
|
|
331
|
-
// Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
|
|
332
|
-
// If enabled, all calculations are performed even if cached results would be available, overwriting the stored
|
|
333
|
-
// data once execution finishes successfully.
|
|
334
|
-
bool overwrite_cache = 22;
|
|
335
|
-
|
|
336
|
-
// Environment variables to be set for the execution.
|
|
337
|
-
Envs envs = 23;
|
|
338
|
-
|
|
339
|
-
// Tags to be set for the execution.
|
|
340
|
-
repeated string tags = 24 [deprecated = true];
|
|
341
|
-
|
|
342
|
-
// Execution cluster label to be set for the execution.
|
|
343
|
-
ExecutionClusterLabel execution_cluster_label = 25;
|
|
344
|
-
|
|
345
|
-
// Execution environment assignments to be set for the execution.
|
|
346
|
-
repeated core.ExecutionEnvAssignment execution_env_assignments = 26;
|
|
347
|
-
|
|
348
|
-
reserved 27;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
// Request to terminate an in-progress execution. This action is irreversible.
|
|
352
|
-
// If an execution is already terminated, this request will simply be a no-op.
|
|
353
|
-
// This request will fail if it references a non-existent execution.
|
|
354
|
-
// If the request succeeds the phase "ABORTED" will be recorded for the termination
|
|
355
|
-
// with the optional cause added to the output_result.
|
|
356
|
-
message ExecutionTerminateRequest {
|
|
357
|
-
// Uniquely identifies the individual workflow execution to be terminated.
|
|
358
|
-
core.WorkflowExecutionIdentifier id = 1;
|
|
359
|
-
|
|
360
|
-
// Optional reason for aborting.
|
|
361
|
-
string cause = 2;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
message ExecutionTerminateResponse {
|
|
365
|
-
// Purposefully empty, may be populated in the future.
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
// Request structure to fetch inputs, output and other data produced by an execution.
|
|
369
|
-
// By default this data is not returned inline in :ref:`ref_flyteidl.admin.WorkflowExecutionGetRequest`
|
|
370
|
-
message WorkflowExecutionGetDataRequest {
|
|
371
|
-
// The identifier of the execution for which to fetch inputs and outputs.
|
|
372
|
-
core.WorkflowExecutionIdentifier id = 1;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
// Response structure for WorkflowExecutionGetDataRequest which contains inputs and outputs for an execution.
|
|
376
|
-
message WorkflowExecutionGetDataResponse {
|
|
377
|
-
// Signed url to fetch a core.LiteralMap of execution outputs.
|
|
378
|
-
// Deprecated: Please use full_outputs instead.
|
|
379
|
-
UrlBlob outputs = 1 [deprecated = true];
|
|
380
|
-
|
|
381
|
-
// Signed url to fetch a core.LiteralMap of execution inputs.
|
|
382
|
-
// Deprecated: Please use full_inputs instead.
|
|
383
|
-
UrlBlob inputs = 2 [deprecated = true];
|
|
384
|
-
|
|
385
|
-
// Full_inputs will only be populated if they are under a configured size threshold.
|
|
386
|
-
core.LiteralMap full_inputs = 3;
|
|
387
|
-
|
|
388
|
-
// Full_outputs will only be populated if they are under a configured size threshold.
|
|
389
|
-
core.LiteralMap full_outputs = 4;
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
// The state of the execution is used to control its visibility in the UI/CLI.
|
|
393
|
-
enum ExecutionState {
|
|
394
|
-
// By default, all executions are considered active.
|
|
395
|
-
EXECUTION_ACTIVE = 0;
|
|
396
|
-
|
|
397
|
-
// Archived executions are no longer visible in the UI.
|
|
398
|
-
EXECUTION_ARCHIVED = 1;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
message ExecutionUpdateRequest {
|
|
402
|
-
// Identifier of the execution to update
|
|
403
|
-
core.WorkflowExecutionIdentifier id = 1;
|
|
404
|
-
|
|
405
|
-
// State to set as the new value active/archive
|
|
406
|
-
ExecutionState state = 2;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
message ExecutionStateChangeDetails {
|
|
410
|
-
// The state of the execution is used to control its visibility in the UI/CLI.
|
|
411
|
-
ExecutionState state = 1;
|
|
412
|
-
|
|
413
|
-
// This timestamp represents when the state changed.
|
|
414
|
-
google.protobuf.Timestamp occurred_at = 2;
|
|
415
|
-
|
|
416
|
-
// Identifies the entity (if any) responsible for causing the state change of the execution
|
|
417
|
-
string principal = 3;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
message ExecutionUpdateResponse {}
|
|
421
|
-
|
|
422
|
-
// WorkflowExecutionGetMetricsRequest represents a request to retrieve metrics for the specified workflow execution.
|
|
423
|
-
message WorkflowExecutionGetMetricsRequest {
|
|
424
|
-
// id defines the workflow execution to query for.
|
|
425
|
-
core.WorkflowExecutionIdentifier id = 1;
|
|
426
|
-
|
|
427
|
-
// depth defines the number of Flyte entity levels to traverse when breaking down execution details.
|
|
428
|
-
int32 depth = 2;
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
// WorkflowExecutionGetMetricsResponse represents the response containing metrics for the specified workflow execution.
|
|
432
|
-
message WorkflowExecutionGetMetricsResponse {
|
|
433
|
-
// Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
|
|
434
|
-
// hierarchical structure using Flyte entity references.
|
|
435
|
-
core.Span span = 1;
|
|
436
|
-
}
|