@flyteorg/flyteidl2 2.0.0-alpha10
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/flyteidl2/common/authorization_pb.ts +323 -0
- package/flyteidl2/common/identifier_pb.ts +423 -0
- package/flyteidl2/common/identity_pb.ts +205 -0
- package/flyteidl2/common/list_pb.ts +232 -0
- package/flyteidl2/common/policy_pb.ts +76 -0
- package/flyteidl2/common/role_pb.ts +161 -0
- package/flyteidl2/common/runtime_version_pb.ts +76 -0
- package/flyteidl2/core/artifact_id_pb.ts +400 -0
- package/flyteidl2/core/catalog_pb.ts +215 -0
- package/flyteidl2/core/execution_pb.ts +641 -0
- package/flyteidl2/core/identifier_pb.ts +237 -0
- package/flyteidl2/core/interface_pb.ts +187 -0
- package/flyteidl2/core/literals_pb.ts +673 -0
- package/flyteidl2/core/security_pb.ts +310 -0
- package/flyteidl2/core/tasks_pb.ts +1088 -0
- package/flyteidl2/core/types_pb.ts +592 -0
- package/flyteidl2/imagebuilder/definition_pb.ts +535 -0
- package/flyteidl2/imagebuilder/payload_pb.ts +62 -0
- package/flyteidl2/imagebuilder/service_pb.ts +30 -0
- package/flyteidl2/logs/dataplane/payload_pb.ts +396 -0
- package/flyteidl2/plugins/dask_pb.ts +109 -0
- package/flyteidl2/plugins/ray_pb.ts +189 -0
- package/flyteidl2/plugins/spark_pb.ts +145 -0
- package/flyteidl2/secret/definition_pb.ts +310 -0
- package/flyteidl2/secret/payload_pb.ts +266 -0
- package/flyteidl2/secret/secret_pb.ts +63 -0
- package/flyteidl2/task/common_pb.ts +319 -0
- package/flyteidl2/task/environment_pb.ts +36 -0
- package/flyteidl2/task/run_pb.ts +177 -0
- package/flyteidl2/task/task_definition_pb.ts +417 -0
- package/flyteidl2/task/task_service_pb.ts +248 -0
- package/flyteidl2/trigger/trigger_definition_pb.ts +283 -0
- package/flyteidl2/trigger/trigger_service_pb.ts +451 -0
- package/flyteidl2/workflow/queue_service_pb.ts +245 -0
- package/flyteidl2/workflow/run_definition_pb.ts +1192 -0
- package/flyteidl2/workflow/run_logs_service_pb.ts +106 -0
- package/flyteidl2/workflow/run_service_pb.ts +870 -0
- package/flyteidl2/workflow/state_service_pb.ts +310 -0
- package/flyteidl2/workflow/translator_service_pb.ts +174 -0
- package/package.json +18 -0
|
@@ -0,0 +1,1192 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/workflow/run_definition.proto (package flyteidl2.workflow, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { ActionIdentifier, TriggerIdentifier } from "../common/identifier_pb.ts";
|
|
9
|
+
import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
|
|
10
|
+
import type { EnrichedIdentity } from "../common/identity_pb.ts";
|
|
11
|
+
import { file_flyteidl2_common_identity } from "../common/identity_pb.ts";
|
|
12
|
+
import type { CatalogCacheStatus } from "../core/catalog_pb.ts";
|
|
13
|
+
import { file_flyteidl2_core_catalog } from "../core/catalog_pb.ts";
|
|
14
|
+
import type { LogContext, TaskLog } from "../core/execution_pb.ts";
|
|
15
|
+
import { file_flyteidl2_core_execution } from "../core/execution_pb.ts";
|
|
16
|
+
import type { LiteralType } from "../core/types_pb.ts";
|
|
17
|
+
import { file_flyteidl2_core_types } from "../core/types_pb.ts";
|
|
18
|
+
import type { OutputReferences } from "../task/common_pb.ts";
|
|
19
|
+
import { file_flyteidl2_task_common } from "../task/common_pb.ts";
|
|
20
|
+
import type { RunSpec } from "../task/run_pb.ts";
|
|
21
|
+
import { file_flyteidl2_task_run } from "../task/run_pb.ts";
|
|
22
|
+
import type { TaskIdentifier, TaskSpec, TraceSpec } from "../task/task_definition_pb.ts";
|
|
23
|
+
import { file_flyteidl2_task_task_definition } from "../task/task_definition_pb.ts";
|
|
24
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
25
|
+
import { file_google_protobuf_timestamp, file_google_protobuf_wrappers } from "@bufbuild/protobuf/wkt";
|
|
26
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Describes the file flyteidl2/workflow/run_definition.proto.
|
|
30
|
+
*/
|
|
31
|
+
export const file_flyteidl2_workflow_run_definition: GenFile = /*@__PURE__*/
|
|
32
|
+
fileDesc("CidmbHl0ZWlkbDIvd29ya2Zsb3cvcnVuX2RlZmluaXRpb24ucHJvdG8SEmZseXRlaWRsMi53b3JrZmxvdyIxCgNSdW4SKgoGYWN0aW9uGAEgASgLMhouZmx5dGVpZGwyLndvcmtmbG93LkFjdGlvbiJqCgpSdW5EZXRhaWxzEikKCHJ1bl9zcGVjGAEgASgLMhcuZmx5dGVpZGwyLnRhc2suUnVuU3BlYxIxCgZhY3Rpb24YAiABKAsyIS5mbHl0ZWlkbDIud29ya2Zsb3cuQWN0aW9uRGV0YWlscyKqAQoKVGFza0FjdGlvbhIqCgJpZBgBIAEoCzIeLmZseXRlaWRsMi50YXNrLlRhc2tJZGVudGlmaWVyEi4KBHNwZWMYAiABKAsyGC5mbHl0ZWlkbDIudGFzay5UYXNrU3BlY0IGukgDyAEBEi8KCWNhY2hlX2tleRgDIAEoCzIcLmdvb2dsZS5wcm90b2J1Zi5TdHJpbmdWYWx1ZRIPCgdjbHVzdGVyGAQgASgJIqICCgtUcmFjZUFjdGlvbhIVCgRuYW1lGAEgASgJQge6SARyAhABEigKBXBoYXNlGAIgASgOMhkuZmx5dGVpZGwyLndvcmtmbG93LlBoYXNlEi4KCnN0YXJ0X3RpbWUYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjEK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VIQA0LPAQoWY29tLmZseXRlaWRsMi53b3JrZmxvd0ISUnVuRGVmaW5pdGlvblByb3RvSAJQAVo2Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL3dvcmtmbG93ogIDRldYqgISRmx5dGVpZGwyLldvcmtmbG93ygISRmx5dGVpZGwyXFdvcmtmbG934gIeRmx5dGVpZGwyXFdvcmtmbG93XEdQQk1ldGFkYXRh6gITRmx5dGVpZGwyOjpXb3JrZmxvd2IGcHJvdG8z", [file_buf_validate_validate, file_flyteidl2_common_identifier, file_flyteidl2_common_identity, file_flyteidl2_core_catalog, file_flyteidl2_core_execution, file_flyteidl2_core_types, file_flyteidl2_task_common, file_flyteidl2_task_run, file_flyteidl2_task_task_definition, file_google_protobuf_timestamp, file_google_protobuf_wrappers]);
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @generated from message flyteidl2.workflow.Run
|
|
36
|
+
*/
|
|
37
|
+
export type Run = Message<"flyteidl2.workflow.Run"> & {
|
|
38
|
+
/**
|
|
39
|
+
* Lightweight information about the root action.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: flyteidl2.workflow.Action action = 1;
|
|
42
|
+
*/
|
|
43
|
+
action?: Action;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message flyteidl2.workflow.Run.
|
|
48
|
+
* Use `create(RunSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export const RunSchema: GenMessage<Run> = /*@__PURE__*/
|
|
51
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 0);
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @generated from message flyteidl2.workflow.RunDetails
|
|
55
|
+
*/
|
|
56
|
+
export type RunDetails = Message<"flyteidl2.workflow.RunDetails"> & {
|
|
57
|
+
/**
|
|
58
|
+
* Run spec.
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: flyteidl2.task.RunSpec run_spec = 1;
|
|
61
|
+
*/
|
|
62
|
+
runSpec?: RunSpec;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Detailed information about the root action.
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: flyteidl2.workflow.ActionDetails action = 2;
|
|
68
|
+
*/
|
|
69
|
+
action?: ActionDetails;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message flyteidl2.workflow.RunDetails.
|
|
74
|
+
* Use `create(RunDetailsSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export const RunDetailsSchema: GenMessage<RunDetails> = /*@__PURE__*/
|
|
77
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 1);
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @generated from message flyteidl2.workflow.TaskAction
|
|
81
|
+
*/
|
|
82
|
+
export type TaskAction = Message<"flyteidl2.workflow.TaskAction"> & {
|
|
83
|
+
/**
|
|
84
|
+
* a unique identifier for the task this action is associated with, if applicable.
|
|
85
|
+
*
|
|
86
|
+
* @generated from field: flyteidl2.task.TaskIdentifier id = 1;
|
|
87
|
+
*/
|
|
88
|
+
id?: TaskIdentifier;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* the definition of the task to be executed.
|
|
92
|
+
*
|
|
93
|
+
* @generated from field: flyteidl2.task.TaskSpec spec = 2;
|
|
94
|
+
*/
|
|
95
|
+
spec?: TaskSpec;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Enables caching when set and specifies the cache version to use.
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: google.protobuf.StringValue cache_key = 3;
|
|
101
|
+
*/
|
|
102
|
+
cacheKey?: string;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* the specific cluster that this action should be executed on. if not set, the cluster from the
|
|
106
|
+
* `RunSpec` will be used.
|
|
107
|
+
*
|
|
108
|
+
* @generated from field: string cluster = 4;
|
|
109
|
+
*/
|
|
110
|
+
cluster: string;
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Describes the message flyteidl2.workflow.TaskAction.
|
|
115
|
+
* Use `create(TaskActionSchema)` to create a new message.
|
|
116
|
+
*/
|
|
117
|
+
export const TaskActionSchema: GenMessage<TaskAction> = /*@__PURE__*/
|
|
118
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 2);
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* TraceAction is used to define a trace action that can be used to track the execution of an action that's managed
|
|
122
|
+
* by the local worker. This can be used to bring determinism to code that's otherwise not deterministic (e.g. current
|
|
123
|
+
* time).
|
|
124
|
+
*
|
|
125
|
+
* @generated from message flyteidl2.workflow.TraceAction
|
|
126
|
+
*/
|
|
127
|
+
export type TraceAction = Message<"flyteidl2.workflow.TraceAction"> & {
|
|
128
|
+
/**
|
|
129
|
+
* @generated from field: string name = 1;
|
|
130
|
+
*/
|
|
131
|
+
name: string;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Last known phase.
|
|
135
|
+
*
|
|
136
|
+
* @generated from field: flyteidl2.workflow.Phase phase = 2;
|
|
137
|
+
*/
|
|
138
|
+
phase: Phase;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Time the attempt started.
|
|
142
|
+
*
|
|
143
|
+
* @generated from field: google.protobuf.Timestamp start_time = 3;
|
|
144
|
+
*/
|
|
145
|
+
startTime?: Timestamp;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Time the attempt ended, if applicable.
|
|
149
|
+
*
|
|
150
|
+
* @generated from field: optional google.protobuf.Timestamp end_time = 4;
|
|
151
|
+
*/
|
|
152
|
+
endTime?: Timestamp;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Output references.
|
|
156
|
+
*
|
|
157
|
+
* @generated from field: flyteidl2.task.OutputReferences outputs = 5;
|
|
158
|
+
*/
|
|
159
|
+
outputs?: OutputReferences;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Task spec for the trace, useful for the typed interface inside.
|
|
163
|
+
*
|
|
164
|
+
* @generated from field: flyteidl2.task.TraceSpec spec = 6;
|
|
165
|
+
*/
|
|
166
|
+
spec?: TraceSpec;
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Describes the message flyteidl2.workflow.TraceAction.
|
|
171
|
+
* Use `create(TraceActionSchema)` to create a new message.
|
|
172
|
+
*/
|
|
173
|
+
export const TraceActionSchema: GenMessage<TraceAction> = /*@__PURE__*/
|
|
174
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 3);
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* ConditionAction is used to define a condition that can be evaluated at runtime. It can be used to
|
|
178
|
+
* await a signal from an external system and can carry a value.
|
|
179
|
+
*
|
|
180
|
+
* @generated from message flyteidl2.workflow.ConditionAction
|
|
181
|
+
*/
|
|
182
|
+
export type ConditionAction = Message<"flyteidl2.workflow.ConditionAction"> & {
|
|
183
|
+
/**
|
|
184
|
+
* Name is the unique identifier for the action. It must be unique within the defined scope below.
|
|
185
|
+
*
|
|
186
|
+
* @generated from field: string name = 1;
|
|
187
|
+
*/
|
|
188
|
+
name: string;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* @generated from oneof flyteidl2.workflow.ConditionAction.scope
|
|
192
|
+
*/
|
|
193
|
+
scope: {
|
|
194
|
+
/**
|
|
195
|
+
* RunId is the unique identifier for the run this action is associated with.
|
|
196
|
+
*
|
|
197
|
+
* @generated from field: string run_id = 2;
|
|
198
|
+
*/
|
|
199
|
+
value: string;
|
|
200
|
+
case: "runId";
|
|
201
|
+
} | {
|
|
202
|
+
/**
|
|
203
|
+
* ActionId is the unique identifier for the action this action is associated with.
|
|
204
|
+
*
|
|
205
|
+
* @generated from field: string action_id = 3;
|
|
206
|
+
*/
|
|
207
|
+
value: string;
|
|
208
|
+
case: "actionId";
|
|
209
|
+
} | {
|
|
210
|
+
/**
|
|
211
|
+
* Global indicates the condition is global and can be used across all runs and actions.
|
|
212
|
+
*
|
|
213
|
+
* @generated from field: bool global = 4;
|
|
214
|
+
*/
|
|
215
|
+
value: boolean;
|
|
216
|
+
case: "global";
|
|
217
|
+
} | { case: undefined; value?: undefined };
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Type is the type of the value the condition is expected. This can be used to properly render
|
|
221
|
+
* a UI element for the condition or validate when a value is received that it is of the expected
|
|
222
|
+
* type.
|
|
223
|
+
*
|
|
224
|
+
* @generated from field: flyteidl2.core.LiteralType type = 6;
|
|
225
|
+
*/
|
|
226
|
+
type?: LiteralType;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Prompt is the prompt that will be shown to the user when the condition is awaited.
|
|
230
|
+
*
|
|
231
|
+
* @generated from field: string prompt = 7;
|
|
232
|
+
*/
|
|
233
|
+
prompt: string;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Description is a description of the condition. This can be used to provide additional
|
|
237
|
+
* information to the user about the condition.
|
|
238
|
+
*
|
|
239
|
+
* @generated from field: string description = 8;
|
|
240
|
+
*/
|
|
241
|
+
description: string;
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Describes the message flyteidl2.workflow.ConditionAction.
|
|
246
|
+
* Use `create(ConditionActionSchema)` to create a new message.
|
|
247
|
+
*/
|
|
248
|
+
export const ConditionActionSchema: GenMessage<ConditionAction> = /*@__PURE__*/
|
|
249
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 4);
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* @generated from message flyteidl2.workflow.TaskActionMetadata
|
|
253
|
+
*/
|
|
254
|
+
export type TaskActionMetadata = Message<"flyteidl2.workflow.TaskActionMetadata"> & {
|
|
255
|
+
/**
|
|
256
|
+
* Id of the task this action is associated with.
|
|
257
|
+
*
|
|
258
|
+
* @generated from field: flyteidl2.task.TaskIdentifier id = 1;
|
|
259
|
+
*/
|
|
260
|
+
id?: TaskIdentifier;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Extensible task type.
|
|
264
|
+
*
|
|
265
|
+
* @generated from field: string task_type = 2;
|
|
266
|
+
*/
|
|
267
|
+
taskType: string;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* The short name for this task.
|
|
271
|
+
*
|
|
272
|
+
* @generated from field: string short_name = 3;
|
|
273
|
+
*/
|
|
274
|
+
shortName: string;
|
|
275
|
+
};
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Describes the message flyteidl2.workflow.TaskActionMetadata.
|
|
279
|
+
* Use `create(TaskActionMetadataSchema)` to create a new message.
|
|
280
|
+
*/
|
|
281
|
+
export const TaskActionMetadataSchema: GenMessage<TaskActionMetadata> = /*@__PURE__*/
|
|
282
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 5);
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* @generated from message flyteidl2.workflow.TraceActionMetadata
|
|
286
|
+
*/
|
|
287
|
+
export type TraceActionMetadata = Message<"flyteidl2.workflow.TraceActionMetadata"> & {
|
|
288
|
+
/**
|
|
289
|
+
* @generated from field: string name = 1;
|
|
290
|
+
*/
|
|
291
|
+
name: string;
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Describes the message flyteidl2.workflow.TraceActionMetadata.
|
|
296
|
+
* Use `create(TraceActionMetadataSchema)` to create a new message.
|
|
297
|
+
*/
|
|
298
|
+
export const TraceActionMetadataSchema: GenMessage<TraceActionMetadata> = /*@__PURE__*/
|
|
299
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 6);
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* @generated from message flyteidl2.workflow.ConditionActionMetadata
|
|
303
|
+
*/
|
|
304
|
+
export type ConditionActionMetadata = Message<"flyteidl2.workflow.ConditionActionMetadata"> & {
|
|
305
|
+
/**
|
|
306
|
+
* @generated from field: string name = 1;
|
|
307
|
+
*/
|
|
308
|
+
name: string;
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* @generated from oneof flyteidl2.workflow.ConditionActionMetadata.scope
|
|
312
|
+
*/
|
|
313
|
+
scope: {
|
|
314
|
+
/**
|
|
315
|
+
* RunId is the unique identifier for the run this action is associated with.
|
|
316
|
+
*
|
|
317
|
+
* @generated from field: string run_id = 2;
|
|
318
|
+
*/
|
|
319
|
+
value: string;
|
|
320
|
+
case: "runId";
|
|
321
|
+
} | {
|
|
322
|
+
/**
|
|
323
|
+
* ActionId is the unique identifier for the action this action is associated with.
|
|
324
|
+
*
|
|
325
|
+
* @generated from field: string action_id = 3;
|
|
326
|
+
*/
|
|
327
|
+
value: string;
|
|
328
|
+
case: "actionId";
|
|
329
|
+
} | {
|
|
330
|
+
/**
|
|
331
|
+
* Global indicates the condition is global and can be used across all runs and actions.
|
|
332
|
+
*
|
|
333
|
+
* @generated from field: bool global = 4;
|
|
334
|
+
*/
|
|
335
|
+
value: boolean;
|
|
336
|
+
case: "global";
|
|
337
|
+
} | { case: undefined; value?: undefined };
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Describes the message flyteidl2.workflow.ConditionActionMetadata.
|
|
342
|
+
* Use `create(ConditionActionMetadataSchema)` to create a new message.
|
|
343
|
+
*/
|
|
344
|
+
export const ConditionActionMetadataSchema: GenMessage<ConditionActionMetadata> = /*@__PURE__*/
|
|
345
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 7);
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Static, lightweight metadata about an action.
|
|
349
|
+
*
|
|
350
|
+
* @generated from message flyteidl2.workflow.ActionMetadata
|
|
351
|
+
*/
|
|
352
|
+
export type ActionMetadata = Message<"flyteidl2.workflow.ActionMetadata"> & {
|
|
353
|
+
/**
|
|
354
|
+
* Parent action if not the root.
|
|
355
|
+
*
|
|
356
|
+
* @generated from field: string parent = 3;
|
|
357
|
+
*/
|
|
358
|
+
parent: string;
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Group this action belongs to, if applicable.
|
|
362
|
+
*
|
|
363
|
+
* @generated from field: string group = 5;
|
|
364
|
+
*/
|
|
365
|
+
group: string;
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* Identity that executed this run.
|
|
369
|
+
*
|
|
370
|
+
* @generated from field: flyteidl2.common.EnrichedIdentity executed_by = 6;
|
|
371
|
+
*/
|
|
372
|
+
executedBy?: EnrichedIdentity;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* @generated from oneof flyteidl2.workflow.ActionMetadata.spec
|
|
376
|
+
*/
|
|
377
|
+
spec: {
|
|
378
|
+
/**
|
|
379
|
+
* Task action.
|
|
380
|
+
*
|
|
381
|
+
* @generated from field: flyteidl2.workflow.TaskActionMetadata task = 7;
|
|
382
|
+
*/
|
|
383
|
+
value: TaskActionMetadata;
|
|
384
|
+
case: "task";
|
|
385
|
+
} | {
|
|
386
|
+
/**
|
|
387
|
+
* Trace action.
|
|
388
|
+
*
|
|
389
|
+
* @generated from field: flyteidl2.workflow.TraceActionMetadata trace = 8;
|
|
390
|
+
*/
|
|
391
|
+
value: TraceActionMetadata;
|
|
392
|
+
case: "trace";
|
|
393
|
+
} | {
|
|
394
|
+
/**
|
|
395
|
+
* Condition action.
|
|
396
|
+
*
|
|
397
|
+
* @generated from field: flyteidl2.workflow.ConditionActionMetadata condition = 9;
|
|
398
|
+
*/
|
|
399
|
+
value: ConditionActionMetadata;
|
|
400
|
+
case: "condition";
|
|
401
|
+
} | { case: undefined; value?: undefined };
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* Action type.
|
|
405
|
+
*
|
|
406
|
+
* @generated from field: flyteidl2.workflow.ActionType action_type = 10;
|
|
407
|
+
*/
|
|
408
|
+
actionType: ActionType;
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* If this run was initiated by a trigger, this will store the trigger identifier.
|
|
412
|
+
*
|
|
413
|
+
* @generated from field: flyteidl2.common.TriggerIdentifier trigger_id = 11;
|
|
414
|
+
*/
|
|
415
|
+
triggerId?: TriggerIdentifier;
|
|
416
|
+
};
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Describes the message flyteidl2.workflow.ActionMetadata.
|
|
420
|
+
* Use `create(ActionMetadataSchema)` to create a new message.
|
|
421
|
+
*/
|
|
422
|
+
export const ActionMetadataSchema: GenMessage<ActionMetadata> = /*@__PURE__*/
|
|
423
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 8);
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* Lightweight status of an action. For more detailed status see ActionDetails.
|
|
427
|
+
*
|
|
428
|
+
* @generated from message flyteidl2.workflow.ActionStatus
|
|
429
|
+
*/
|
|
430
|
+
export type ActionStatus = Message<"flyteidl2.workflow.ActionStatus"> & {
|
|
431
|
+
/**
|
|
432
|
+
* Last known phase.
|
|
433
|
+
*
|
|
434
|
+
* @generated from field: flyteidl2.workflow.Phase phase = 1;
|
|
435
|
+
*/
|
|
436
|
+
phase: Phase;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Time the action started.
|
|
440
|
+
*
|
|
441
|
+
* @generated from field: google.protobuf.Timestamp start_time = 2;
|
|
442
|
+
*/
|
|
443
|
+
startTime?: Timestamp;
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* Time the action ended, if applicable.
|
|
447
|
+
*
|
|
448
|
+
* @generated from field: optional google.protobuf.Timestamp end_time = 3;
|
|
449
|
+
*/
|
|
450
|
+
endTime?: Timestamp;
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* Number of action attempts.
|
|
454
|
+
*
|
|
455
|
+
* @generated from field: uint32 attempts = 4;
|
|
456
|
+
*/
|
|
457
|
+
attempts: number;
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* cache status of the action's latest attempt
|
|
461
|
+
*
|
|
462
|
+
* @generated from field: flyteidl2.core.CatalogCacheStatus cache_status = 5;
|
|
463
|
+
*/
|
|
464
|
+
cacheStatus: CatalogCacheStatus;
|
|
465
|
+
};
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* Describes the message flyteidl2.workflow.ActionStatus.
|
|
469
|
+
* Use `create(ActionStatusSchema)` to create a new message.
|
|
470
|
+
*/
|
|
471
|
+
export const ActionStatusSchema: GenMessage<ActionStatus> = /*@__PURE__*/
|
|
472
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 9);
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* Lightweight representation of an action.
|
|
476
|
+
*
|
|
477
|
+
* @generated from message flyteidl2.workflow.Action
|
|
478
|
+
*/
|
|
479
|
+
export type Action = Message<"flyteidl2.workflow.Action"> & {
|
|
480
|
+
/**
|
|
481
|
+
* Id for this action.
|
|
482
|
+
*
|
|
483
|
+
* @generated from field: flyteidl2.common.ActionIdentifier id = 1;
|
|
484
|
+
*/
|
|
485
|
+
id?: ActionIdentifier;
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Metadata for this action.
|
|
489
|
+
*
|
|
490
|
+
* @generated from field: flyteidl2.workflow.ActionMetadata metadata = 2;
|
|
491
|
+
*/
|
|
492
|
+
metadata?: ActionMetadata;
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* Last known status.
|
|
496
|
+
*
|
|
497
|
+
* @generated from field: flyteidl2.workflow.ActionStatus status = 3;
|
|
498
|
+
*/
|
|
499
|
+
status?: ActionStatus;
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* Describes the message flyteidl2.workflow.Action.
|
|
504
|
+
* Use `create(ActionSchema)` to create a new message.
|
|
505
|
+
*/
|
|
506
|
+
export const ActionSchema: GenMessage<Action> = /*@__PURE__*/
|
|
507
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 10);
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* EnrichedAction is a wrapper around Action that contains additional information
|
|
511
|
+
*
|
|
512
|
+
* @generated from message flyteidl2.workflow.EnrichedAction
|
|
513
|
+
*/
|
|
514
|
+
export type EnrichedAction = Message<"flyteidl2.workflow.EnrichedAction"> & {
|
|
515
|
+
/**
|
|
516
|
+
* The action itself.
|
|
517
|
+
*
|
|
518
|
+
* @generated from field: flyteidl2.workflow.Action action = 1;
|
|
519
|
+
*/
|
|
520
|
+
action?: Action;
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* Whether this action meets specified filters of the request or not.
|
|
524
|
+
* If an action that was previously meeting the filter but no longer does, will be sent with this flag set to false
|
|
525
|
+
*
|
|
526
|
+
* @generated from field: bool meets_filter = 2;
|
|
527
|
+
*/
|
|
528
|
+
meetsFilter: boolean;
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* Child phase info for this action (Map of phase to counts of children in given phase)
|
|
532
|
+
*
|
|
533
|
+
* @generated from field: map<int32, int32> children_phase_counts = 3;
|
|
534
|
+
*/
|
|
535
|
+
childrenPhaseCounts: { [key: number]: number };
|
|
536
|
+
};
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* Describes the message flyteidl2.workflow.EnrichedAction.
|
|
540
|
+
* Use `create(EnrichedActionSchema)` to create a new message.
|
|
541
|
+
*/
|
|
542
|
+
export const EnrichedActionSchema: GenMessage<EnrichedAction> = /*@__PURE__*/
|
|
543
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 11);
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* ErrorInfo captures details of an error.
|
|
547
|
+
*
|
|
548
|
+
* @generated from message flyteidl2.workflow.ErrorInfo
|
|
549
|
+
*/
|
|
550
|
+
export type ErrorInfo = Message<"flyteidl2.workflow.ErrorInfo"> & {
|
|
551
|
+
/**
|
|
552
|
+
* Error message.
|
|
553
|
+
*
|
|
554
|
+
* @generated from field: string message = 1;
|
|
555
|
+
*/
|
|
556
|
+
message: string;
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Error kind.
|
|
560
|
+
*
|
|
561
|
+
* @generated from field: flyteidl2.workflow.ErrorInfo.Kind kind = 2;
|
|
562
|
+
*/
|
|
563
|
+
kind: ErrorInfo_Kind;
|
|
564
|
+
};
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Describes the message flyteidl2.workflow.ErrorInfo.
|
|
568
|
+
* Use `create(ErrorInfoSchema)` to create a new message.
|
|
569
|
+
*/
|
|
570
|
+
export const ErrorInfoSchema: GenMessage<ErrorInfo> = /*@__PURE__*/
|
|
571
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 12);
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* @generated from enum flyteidl2.workflow.ErrorInfo.Kind
|
|
575
|
+
*/
|
|
576
|
+
export enum ErrorInfo_Kind {
|
|
577
|
+
/**
|
|
578
|
+
* @generated from enum value: KIND_UNSPECIFIED = 0;
|
|
579
|
+
*/
|
|
580
|
+
UNSPECIFIED = 0,
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* @generated from enum value: KIND_USER = 1;
|
|
584
|
+
*/
|
|
585
|
+
USER = 1,
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* @generated from enum value: KIND_SYSTEM = 2;
|
|
589
|
+
*/
|
|
590
|
+
SYSTEM = 2,
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* Describes the enum flyteidl2.workflow.ErrorInfo.Kind.
|
|
595
|
+
*/
|
|
596
|
+
export const ErrorInfo_KindSchema: GenEnum<ErrorInfo_Kind> = /*@__PURE__*/
|
|
597
|
+
enumDesc(file_flyteidl2_workflow_run_definition, 12, 0);
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* AbortInfo captures details of an aborted run.
|
|
601
|
+
*
|
|
602
|
+
* @generated from message flyteidl2.workflow.AbortInfo
|
|
603
|
+
*/
|
|
604
|
+
export type AbortInfo = Message<"flyteidl2.workflow.AbortInfo"> & {
|
|
605
|
+
/**
|
|
606
|
+
* Reason provided for the abort.
|
|
607
|
+
*
|
|
608
|
+
* @generated from field: string reason = 1;
|
|
609
|
+
*/
|
|
610
|
+
reason: string;
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* Identity that aborted the run.
|
|
614
|
+
*
|
|
615
|
+
* @generated from field: flyteidl2.common.EnrichedIdentity aborted_by = 2;
|
|
616
|
+
*/
|
|
617
|
+
abortedBy?: EnrichedIdentity;
|
|
618
|
+
};
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* Describes the message flyteidl2.workflow.AbortInfo.
|
|
622
|
+
* Use `create(AbortInfoSchema)` to create a new message.
|
|
623
|
+
*/
|
|
624
|
+
export const AbortInfoSchema: GenMessage<AbortInfo> = /*@__PURE__*/
|
|
625
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 13);
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* ActionDetails is the full details of an action.
|
|
629
|
+
*
|
|
630
|
+
* @generated from message flyteidl2.workflow.ActionDetails
|
|
631
|
+
*/
|
|
632
|
+
export type ActionDetails = Message<"flyteidl2.workflow.ActionDetails"> & {
|
|
633
|
+
/**
|
|
634
|
+
* Id for this action.
|
|
635
|
+
*
|
|
636
|
+
* @generated from field: flyteidl2.common.ActionIdentifier id = 1;
|
|
637
|
+
*/
|
|
638
|
+
id?: ActionIdentifier;
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* Metadata for this action.
|
|
642
|
+
*
|
|
643
|
+
* @generated from field: flyteidl2.workflow.ActionMetadata metadata = 2;
|
|
644
|
+
*/
|
|
645
|
+
metadata?: ActionMetadata;
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* Last known status.
|
|
649
|
+
*
|
|
650
|
+
* @generated from field: flyteidl2.workflow.ActionStatus status = 3;
|
|
651
|
+
*/
|
|
652
|
+
status?: ActionStatus;
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* @generated from oneof flyteidl2.workflow.ActionDetails.result
|
|
656
|
+
*/
|
|
657
|
+
result: {
|
|
658
|
+
/**
|
|
659
|
+
* Error info for the action, if failed.
|
|
660
|
+
*
|
|
661
|
+
* @generated from field: flyteidl2.workflow.ErrorInfo error_info = 4;
|
|
662
|
+
*/
|
|
663
|
+
value: ErrorInfo;
|
|
664
|
+
case: "errorInfo";
|
|
665
|
+
} | {
|
|
666
|
+
/**
|
|
667
|
+
* Abort info for the action, if aborted.
|
|
668
|
+
*
|
|
669
|
+
* @generated from field: flyteidl2.workflow.AbortInfo abort_info = 5;
|
|
670
|
+
*/
|
|
671
|
+
value: AbortInfo;
|
|
672
|
+
case: "abortInfo";
|
|
673
|
+
} | { case: undefined; value?: undefined };
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* Fully resolved spec of the action. Merges user submitted task spec with platform defaults.
|
|
677
|
+
*
|
|
678
|
+
* @generated from oneof flyteidl2.workflow.ActionDetails.spec
|
|
679
|
+
*/
|
|
680
|
+
spec: {
|
|
681
|
+
/**
|
|
682
|
+
* @generated from field: flyteidl2.task.TaskSpec task = 6;
|
|
683
|
+
*/
|
|
684
|
+
value: TaskSpec;
|
|
685
|
+
case: "task";
|
|
686
|
+
} | {
|
|
687
|
+
/**
|
|
688
|
+
* @generated from field: flyteidl2.task.TraceSpec trace = 8;
|
|
689
|
+
*/
|
|
690
|
+
value: TraceSpec;
|
|
691
|
+
case: "trace";
|
|
692
|
+
} | { case: undefined; value?: undefined };
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* List of action attempts.
|
|
696
|
+
*
|
|
697
|
+
* @generated from field: repeated flyteidl2.workflow.ActionAttempt attempts = 7;
|
|
698
|
+
*/
|
|
699
|
+
attempts: ActionAttempt[];
|
|
700
|
+
};
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Describes the message flyteidl2.workflow.ActionDetails.
|
|
704
|
+
* Use `create(ActionDetailsSchema)` to create a new message.
|
|
705
|
+
*/
|
|
706
|
+
export const ActionDetailsSchema: GenMessage<ActionDetails> = /*@__PURE__*/
|
|
707
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 14);
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* ActionAttempt is a single attempt of an action.
|
|
711
|
+
*
|
|
712
|
+
* @generated from message flyteidl2.workflow.ActionAttempt
|
|
713
|
+
*/
|
|
714
|
+
export type ActionAttempt = Message<"flyteidl2.workflow.ActionAttempt"> & {
|
|
715
|
+
/**
|
|
716
|
+
* Last known phase.
|
|
717
|
+
*
|
|
718
|
+
* @generated from field: flyteidl2.workflow.Phase phase = 1;
|
|
719
|
+
*/
|
|
720
|
+
phase: Phase;
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* Time the attempt started.
|
|
724
|
+
*
|
|
725
|
+
* @generated from field: google.protobuf.Timestamp start_time = 2;
|
|
726
|
+
*/
|
|
727
|
+
startTime?: Timestamp;
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* Time the attempt ended, if applicable.
|
|
731
|
+
*
|
|
732
|
+
* @generated from field: optional google.protobuf.Timestamp end_time = 3;
|
|
733
|
+
*/
|
|
734
|
+
endTime?: Timestamp;
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* Error info for the attempt, if failed.
|
|
738
|
+
*
|
|
739
|
+
* @generated from field: optional flyteidl2.workflow.ErrorInfo error_info = 4;
|
|
740
|
+
*/
|
|
741
|
+
errorInfo?: ErrorInfo;
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* The attempt number, starting with 1.
|
|
745
|
+
*
|
|
746
|
+
* @generated from field: uint32 attempt = 5;
|
|
747
|
+
*/
|
|
748
|
+
attempt: number;
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* Log references.
|
|
752
|
+
*
|
|
753
|
+
* @generated from field: repeated flyteidl2.core.TaskLog log_info = 6;
|
|
754
|
+
*/
|
|
755
|
+
logInfo: TaskLog[];
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* Output references.
|
|
759
|
+
*
|
|
760
|
+
* @generated from field: flyteidl2.task.OutputReferences outputs = 7;
|
|
761
|
+
*/
|
|
762
|
+
outputs?: OutputReferences;
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* Indicates whether logs are available for tailing. It doesn't necessarily indicate the logs are present, but that
|
|
766
|
+
* we have the info we need to look them up.
|
|
767
|
+
*
|
|
768
|
+
* @generated from field: bool logs_available = 8;
|
|
769
|
+
*/
|
|
770
|
+
logsAvailable: boolean;
|
|
771
|
+
|
|
772
|
+
/**
|
|
773
|
+
* cache status of the action attempt
|
|
774
|
+
*
|
|
775
|
+
* @generated from field: flyteidl2.core.CatalogCacheStatus cache_status = 9;
|
|
776
|
+
*/
|
|
777
|
+
cacheStatus: CatalogCacheStatus;
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* Cluster events like k8s events in a human-readable form.
|
|
781
|
+
*
|
|
782
|
+
* @generated from field: repeated flyteidl2.workflow.ClusterEvent cluster_events = 10;
|
|
783
|
+
*/
|
|
784
|
+
clusterEvents: ClusterEvent[];
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* History of phase transitions.
|
|
788
|
+
*
|
|
789
|
+
* @generated from field: repeated flyteidl2.workflow.PhaseTransition phase_transitions = 11;
|
|
790
|
+
*/
|
|
791
|
+
phaseTransitions: PhaseTransition[];
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* The cluster this attempt is assigned to.
|
|
795
|
+
*
|
|
796
|
+
* @generated from field: string cluster = 12;
|
|
797
|
+
*/
|
|
798
|
+
cluster: string;
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* Contains corresponding k8s pods and containers information for this action attempt.
|
|
802
|
+
*
|
|
803
|
+
* @generated from field: flyteidl2.core.LogContext log_context = 13;
|
|
804
|
+
*/
|
|
805
|
+
logContext?: LogContext;
|
|
806
|
+
};
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* Describes the message flyteidl2.workflow.ActionAttempt.
|
|
810
|
+
* Use `create(ActionAttemptSchema)` to create a new message.
|
|
811
|
+
*/
|
|
812
|
+
export const ActionAttemptSchema: GenMessage<ActionAttempt> = /*@__PURE__*/
|
|
813
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 15);
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* @generated from message flyteidl2.workflow.ClusterEvent
|
|
817
|
+
*/
|
|
818
|
+
export type ClusterEvent = Message<"flyteidl2.workflow.ClusterEvent"> & {
|
|
819
|
+
/**
|
|
820
|
+
* occurred_at is the timestamp indicating the instant that this reason happened.
|
|
821
|
+
*
|
|
822
|
+
* @generated from field: google.protobuf.Timestamp occurred_at = 1;
|
|
823
|
+
*/
|
|
824
|
+
occurredAt?: Timestamp;
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* message is the explanation for the most recent phase transition or status update.
|
|
828
|
+
*
|
|
829
|
+
* @generated from field: string message = 2;
|
|
830
|
+
*/
|
|
831
|
+
message: string;
|
|
832
|
+
};
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* Describes the message flyteidl2.workflow.ClusterEvent.
|
|
836
|
+
* Use `create(ClusterEventSchema)` to create a new message.
|
|
837
|
+
*/
|
|
838
|
+
export const ClusterEventSchema: GenMessage<ClusterEvent> = /*@__PURE__*/
|
|
839
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 16);
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* @generated from message flyteidl2.workflow.PhaseTransition
|
|
843
|
+
*/
|
|
844
|
+
export type PhaseTransition = Message<"flyteidl2.workflow.PhaseTransition"> & {
|
|
845
|
+
/**
|
|
846
|
+
* The phase.
|
|
847
|
+
*
|
|
848
|
+
* @generated from field: flyteidl2.workflow.Phase phase = 1;
|
|
849
|
+
*/
|
|
850
|
+
phase: Phase;
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* Time this phase started.
|
|
854
|
+
*
|
|
855
|
+
* @generated from field: google.protobuf.Timestamp start_time = 2;
|
|
856
|
+
*/
|
|
857
|
+
startTime?: Timestamp;
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* Time this phase ended, if applicable. For terminal phases, start time will equal end time.
|
|
861
|
+
*
|
|
862
|
+
* @generated from field: optional google.protobuf.Timestamp end_time = 3;
|
|
863
|
+
*/
|
|
864
|
+
endTime?: Timestamp;
|
|
865
|
+
};
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Describes the message flyteidl2.workflow.PhaseTransition.
|
|
869
|
+
* Use `create(PhaseTransitionSchema)` to create a new message.
|
|
870
|
+
*/
|
|
871
|
+
export const PhaseTransitionSchema: GenMessage<PhaseTransition> = /*@__PURE__*/
|
|
872
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 17);
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* Event payload for an action
|
|
876
|
+
*
|
|
877
|
+
* @generated from message flyteidl2.workflow.ActionEvent
|
|
878
|
+
*/
|
|
879
|
+
export type ActionEvent = Message<"flyteidl2.workflow.ActionEvent"> & {
|
|
880
|
+
/**
|
|
881
|
+
* The action id.
|
|
882
|
+
*
|
|
883
|
+
* @generated from field: flyteidl2.common.ActionIdentifier id = 1;
|
|
884
|
+
*/
|
|
885
|
+
id?: ActionIdentifier;
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* The attempt number.
|
|
889
|
+
*
|
|
890
|
+
* @generated from field: uint32 attempt = 2;
|
|
891
|
+
*/
|
|
892
|
+
attempt: number;
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* The phase for this attempt.
|
|
896
|
+
*
|
|
897
|
+
* @generated from field: flyteidl2.workflow.Phase phase = 3;
|
|
898
|
+
*/
|
|
899
|
+
phase: Phase;
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* The version of this attempt and phase.
|
|
903
|
+
*
|
|
904
|
+
* @generated from field: uint32 version = 4;
|
|
905
|
+
*/
|
|
906
|
+
version: number;
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* Time the attempt started.
|
|
910
|
+
*
|
|
911
|
+
* @generated from field: google.protobuf.Timestamp start_time = 5 [deprecated = true];
|
|
912
|
+
* @deprecated
|
|
913
|
+
*/
|
|
914
|
+
startTime?: Timestamp;
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* Timestamp when the event occurred, as recorded by the underlying platform (e.g. Kubernetes).
|
|
918
|
+
*
|
|
919
|
+
* @generated from field: google.protobuf.Timestamp updated_time = 6;
|
|
920
|
+
*/
|
|
921
|
+
updatedTime?: Timestamp;
|
|
922
|
+
|
|
923
|
+
/**
|
|
924
|
+
* Time the attempt ended, if applicable.
|
|
925
|
+
*
|
|
926
|
+
* @generated from field: optional google.protobuf.Timestamp end_time = 7 [deprecated = true];
|
|
927
|
+
* @deprecated
|
|
928
|
+
*/
|
|
929
|
+
endTime?: Timestamp;
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* Error info for the attempt, if failed.
|
|
933
|
+
*
|
|
934
|
+
* @generated from field: optional flyteidl2.workflow.ErrorInfo error_info = 8;
|
|
935
|
+
*/
|
|
936
|
+
errorInfo?: ErrorInfo;
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* Log references.
|
|
940
|
+
*
|
|
941
|
+
* @generated from field: repeated flyteidl2.core.TaskLog log_info = 9;
|
|
942
|
+
*/
|
|
943
|
+
logInfo: TaskLog[];
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* Metadata to associate containers with logs.
|
|
947
|
+
*
|
|
948
|
+
* @generated from field: flyteidl2.core.LogContext log_context = 10;
|
|
949
|
+
*/
|
|
950
|
+
logContext?: LogContext;
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* The cluster this attempt is running on.
|
|
954
|
+
*
|
|
955
|
+
* @generated from field: string cluster = 11;
|
|
956
|
+
*/
|
|
957
|
+
cluster: string;
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* Output references.
|
|
961
|
+
*
|
|
962
|
+
* @generated from field: flyteidl2.task.OutputReferences outputs = 12;
|
|
963
|
+
*/
|
|
964
|
+
outputs?: OutputReferences;
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* cache status of the action attempt
|
|
968
|
+
*
|
|
969
|
+
* @generated from field: flyteidl2.core.CatalogCacheStatus cache_status = 13;
|
|
970
|
+
*/
|
|
971
|
+
cacheStatus: CatalogCacheStatus;
|
|
972
|
+
|
|
973
|
+
/**
|
|
974
|
+
* Cluster events like k8s events in a human-readable form.
|
|
975
|
+
*
|
|
976
|
+
* @generated from field: repeated flyteidl2.workflow.ClusterEvent cluster_events = 14;
|
|
977
|
+
*/
|
|
978
|
+
clusterEvents: ClusterEvent[];
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* Timestamp when the event was observed and reported by the executor
|
|
982
|
+
*
|
|
983
|
+
* @generated from field: google.protobuf.Timestamp reported_time = 15;
|
|
984
|
+
*/
|
|
985
|
+
reportedTime?: Timestamp;
|
|
986
|
+
};
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* Describes the message flyteidl2.workflow.ActionEvent.
|
|
990
|
+
* Use `create(ActionEventSchema)` to create a new message.
|
|
991
|
+
*/
|
|
992
|
+
export const ActionEventSchema: GenMessage<ActionEvent> = /*@__PURE__*/
|
|
993
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 18);
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* @generated from message flyteidl2.workflow.ActionSpec
|
|
997
|
+
*/
|
|
998
|
+
export type ActionSpec = Message<"flyteidl2.workflow.ActionSpec"> & {
|
|
999
|
+
/**
|
|
1000
|
+
* the unique identifier for the action.
|
|
1001
|
+
*
|
|
1002
|
+
* @generated from field: flyteidl2.common.ActionIdentifier action_id = 1;
|
|
1003
|
+
*/
|
|
1004
|
+
actionId?: ActionIdentifier;
|
|
1005
|
+
|
|
1006
|
+
/**
|
|
1007
|
+
* an optional name for the parent action, if it exists. the remaining run metadata (ex. org,
|
|
1008
|
+
* project, domain) will be the same as the action_id defined above.
|
|
1009
|
+
*
|
|
1010
|
+
* @generated from field: optional string parent_action_name = 2;
|
|
1011
|
+
*/
|
|
1012
|
+
parentActionName?: string;
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* the run spec for this action
|
|
1016
|
+
*
|
|
1017
|
+
* @generated from field: flyteidl2.task.RunSpec run_spec = 3;
|
|
1018
|
+
*/
|
|
1019
|
+
runSpec?: RunSpec;
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* the path to the input data for this action.
|
|
1023
|
+
*
|
|
1024
|
+
* @generated from field: string input_uri = 4;
|
|
1025
|
+
*/
|
|
1026
|
+
inputUri: string;
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* the run base path this action should write its output to.
|
|
1030
|
+
*
|
|
1031
|
+
* @generated from field: string run_output_base = 5;
|
|
1032
|
+
*/
|
|
1033
|
+
runOutputBase: string;
|
|
1034
|
+
|
|
1035
|
+
/**
|
|
1036
|
+
* @generated from oneof flyteidl2.workflow.ActionSpec.spec
|
|
1037
|
+
*/
|
|
1038
|
+
spec: {
|
|
1039
|
+
/**
|
|
1040
|
+
* @generated from field: flyteidl2.workflow.TaskAction task = 6;
|
|
1041
|
+
*/
|
|
1042
|
+
value: TaskAction;
|
|
1043
|
+
case: "task";
|
|
1044
|
+
} | {
|
|
1045
|
+
/**
|
|
1046
|
+
* @generated from field: flyteidl2.workflow.ConditionAction condition = 7;
|
|
1047
|
+
*/
|
|
1048
|
+
value: ConditionAction;
|
|
1049
|
+
case: "condition";
|
|
1050
|
+
} | {
|
|
1051
|
+
/**
|
|
1052
|
+
* @generated from field: flyteidl2.workflow.TraceAction trace = 10;
|
|
1053
|
+
*/
|
|
1054
|
+
value: TraceAction;
|
|
1055
|
+
case: "trace";
|
|
1056
|
+
} | { case: undefined; value?: undefined };
|
|
1057
|
+
|
|
1058
|
+
/**
|
|
1059
|
+
* group this action belongs to, if applicable.
|
|
1060
|
+
*
|
|
1061
|
+
* @generated from field: string group = 8;
|
|
1062
|
+
*/
|
|
1063
|
+
group: string;
|
|
1064
|
+
};
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* Describes the message flyteidl2.workflow.ActionSpec.
|
|
1068
|
+
* Use `create(ActionSpecSchema)` to create a new message.
|
|
1069
|
+
*/
|
|
1070
|
+
export const ActionSpecSchema: GenMessage<ActionSpec> = /*@__PURE__*/
|
|
1071
|
+
messageDesc(file_flyteidl2_workflow_run_definition, 19);
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* TODO: define phase transitions
|
|
1075
|
+
*
|
|
1076
|
+
* @generated from enum flyteidl2.workflow.Phase
|
|
1077
|
+
*/
|
|
1078
|
+
export enum Phase {
|
|
1079
|
+
/**
|
|
1080
|
+
* @generated from enum value: PHASE_UNSPECIFIED = 0;
|
|
1081
|
+
*/
|
|
1082
|
+
UNSPECIFIED = 0,
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* @generated from enum value: PHASE_QUEUED = 1;
|
|
1086
|
+
*/
|
|
1087
|
+
QUEUED = 1,
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* @generated from enum value: PHASE_WAITING_FOR_RESOURCES = 2;
|
|
1091
|
+
*/
|
|
1092
|
+
WAITING_FOR_RESOURCES = 2,
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
* @generated from enum value: PHASE_INITIALIZING = 3;
|
|
1096
|
+
*/
|
|
1097
|
+
INITIALIZING = 3,
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* @generated from enum value: PHASE_RUNNING = 4;
|
|
1101
|
+
*/
|
|
1102
|
+
RUNNING = 4,
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* @generated from enum value: PHASE_SUCCEEDED = 5;
|
|
1106
|
+
*/
|
|
1107
|
+
SUCCEEDED = 5,
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* @generated from enum value: PHASE_FAILED = 6;
|
|
1111
|
+
*/
|
|
1112
|
+
FAILED = 6,
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* @generated from enum value: PHASE_ABORTED = 7;
|
|
1116
|
+
*/
|
|
1117
|
+
ABORTED = 7,
|
|
1118
|
+
|
|
1119
|
+
/**
|
|
1120
|
+
* @generated from enum value: PHASE_TIMED_OUT = 8;
|
|
1121
|
+
*/
|
|
1122
|
+
TIMED_OUT = 8,
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* Describes the enum flyteidl2.workflow.Phase.
|
|
1127
|
+
*/
|
|
1128
|
+
export const PhaseSchema: GenEnum<Phase> = /*@__PURE__*/
|
|
1129
|
+
enumDesc(file_flyteidl2_workflow_run_definition, 0);
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* @generated from enum flyteidl2.workflow.ActionType
|
|
1133
|
+
*/
|
|
1134
|
+
export enum ActionType {
|
|
1135
|
+
/**
|
|
1136
|
+
* @generated from enum value: ACTION_TYPE_UNSPECIFIED = 0;
|
|
1137
|
+
*/
|
|
1138
|
+
UNSPECIFIED = 0,
|
|
1139
|
+
|
|
1140
|
+
/**
|
|
1141
|
+
* @generated from enum value: ACTION_TYPE_TASK = 1;
|
|
1142
|
+
*/
|
|
1143
|
+
TASK = 1,
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* @generated from enum value: ACTION_TYPE_TRACE = 2;
|
|
1147
|
+
*/
|
|
1148
|
+
TRACE = 2,
|
|
1149
|
+
|
|
1150
|
+
/**
|
|
1151
|
+
* @generated from enum value: ACTION_TYPE_CONDITION = 3;
|
|
1152
|
+
*/
|
|
1153
|
+
CONDITION = 3,
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* Describes the enum flyteidl2.workflow.ActionType.
|
|
1158
|
+
*/
|
|
1159
|
+
export const ActionTypeSchema: GenEnum<ActionType> = /*@__PURE__*/
|
|
1160
|
+
enumDesc(file_flyteidl2_workflow_run_definition, 1);
|
|
1161
|
+
|
|
1162
|
+
/**
|
|
1163
|
+
* @generated from enum flyteidl2.workflow.RunSource
|
|
1164
|
+
*/
|
|
1165
|
+
export enum RunSource {
|
|
1166
|
+
/**
|
|
1167
|
+
* @generated from enum value: RUN_SOURCE_UNSPECIFIED = 0;
|
|
1168
|
+
*/
|
|
1169
|
+
UNSPECIFIED = 0,
|
|
1170
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* @generated from enum value: RUN_SOURCE_WEB = 1;
|
|
1173
|
+
*/
|
|
1174
|
+
WEB = 1,
|
|
1175
|
+
|
|
1176
|
+
/**
|
|
1177
|
+
* @generated from enum value: RUN_SOURCE_CLI = 2;
|
|
1178
|
+
*/
|
|
1179
|
+
CLI = 2,
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* @generated from enum value: RUN_SOURCE_SCHEDULE_TRIGGER = 3;
|
|
1183
|
+
*/
|
|
1184
|
+
SCHEDULE_TRIGGER = 3,
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
/**
|
|
1188
|
+
* Describes the enum flyteidl2.workflow.RunSource.
|
|
1189
|
+
*/
|
|
1190
|
+
export const RunSourceSchema: GenEnum<RunSource> = /*@__PURE__*/
|
|
1191
|
+
enumDesc(file_flyteidl2_workflow_run_definition, 2);
|
|
1192
|
+
|