@flyteorg/flyteidl2 2.0.0-alpha4 → 2.0.0-alpha6

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.
Files changed (37) hide show
  1. package/flyteidl2/common/authorization_pb.ts +323 -0
  2. package/flyteidl2/common/identifier_pb.ts +423 -0
  3. package/flyteidl2/common/identity_pb.ts +205 -0
  4. package/flyteidl2/common/list_pb.ts +232 -0
  5. package/flyteidl2/common/policy_pb.ts +76 -0
  6. package/flyteidl2/common/role_pb.ts +161 -0
  7. package/flyteidl2/common/runtime_version_pb.ts +76 -0
  8. package/flyteidl2/core/artifact_id_pb.ts +400 -0
  9. package/flyteidl2/core/catalog_pb.ts +215 -0
  10. package/flyteidl2/core/execution_pb.ts +641 -0
  11. package/flyteidl2/core/identifier_pb.ts +237 -0
  12. package/flyteidl2/core/interface_pb.ts +187 -0
  13. package/flyteidl2/core/literals_pb.ts +673 -0
  14. package/flyteidl2/core/security_pb.ts +310 -0
  15. package/flyteidl2/core/tasks_pb.ts +1026 -0
  16. package/flyteidl2/core/types_pb.ts +592 -0
  17. package/flyteidl2/imagebuilder/definition_pb.ts +493 -0
  18. package/flyteidl2/imagebuilder/payload_pb.ts +62 -0
  19. package/flyteidl2/imagebuilder/service_pb.ts +30 -0
  20. package/flyteidl2/logs/dataplane/payload_pb.ts +396 -0
  21. package/flyteidl2/secret/definition_pb.ts +310 -0
  22. package/flyteidl2/secret/payload_pb.ts +266 -0
  23. package/flyteidl2/secret/secret_pb.ts +63 -0
  24. package/flyteidl2/task/common_pb.ts +318 -0
  25. package/flyteidl2/task/environment_pb.ts +36 -0
  26. package/flyteidl2/task/run_pb.ts +141 -0
  27. package/flyteidl2/task/task_definition_pb.ts +417 -0
  28. package/flyteidl2/task/task_service_pb.ts +248 -0
  29. package/flyteidl2/trigger/trigger_definition_pb.ts +292 -0
  30. package/flyteidl2/trigger/trigger_service_pb.ts +434 -0
  31. package/flyteidl2/workflow/queue_service_pb.ts +424 -0
  32. package/flyteidl2/workflow/run_definition_pb.ts +909 -0
  33. package/flyteidl2/workflow/run_logs_service_pb.ts +106 -0
  34. package/flyteidl2/workflow/run_service_pb.ts +863 -0
  35. package/flyteidl2/workflow/state_service_pb.ts +310 -0
  36. package/flyteidl2/workflow/translator_service_pb.ts +174 -0
  37. package/package.json +4 -3
@@ -0,0 +1,909 @@
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 { OutputReferences } from "../task/common_pb.ts";
17
+ import { file_flyteidl2_task_common } from "../task/common_pb.ts";
18
+ import type { RunSpec } from "../task/run_pb.ts";
19
+ import { file_flyteidl2_task_run } from "../task/run_pb.ts";
20
+ import type { TaskIdentifier, TaskSpec, TraceSpec } from "../task/task_definition_pb.ts";
21
+ import { file_flyteidl2_task_task_definition } from "../task/task_definition_pb.ts";
22
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
23
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
24
+ import type { Message } from "@bufbuild/protobuf";
25
+
26
+ /**
27
+ * Describes the file flyteidl2/workflow/run_definition.proto.
28
+ */
29
+ export const file_flyteidl2_workflow_run_definition: GenFile = /*@__PURE__*/
30
+ fileDesc("CidmbHl0ZWlkbDIvd29ya2Zsb3cvcnVuX2RlZmluaXRpb24ucHJvdG8SEmZseXRlaWRsMi53b3JrZmxvdyIxCgNSdW4SKgoGYWN0aW9uGAEgASgLMhouZmx5dGVpZGwyLndvcmtmbG93LkFjdGlvbiJqCgpSdW5EZXRhaWxzEikKCHJ1bl9zcGVjGAEgASgLMhcuZmx5dGVpZGwyLnRhc2suUnVuU3BlYxIxCgZhY3Rpb24YAiABKAsyIS5mbHl0ZWlkbDIud29ya2Zsb3cuQWN0aW9uRGV0YWlscyJnChJUYXNrQWN0aW9uTWV0YWRhdGESKgoCaWQYASABKAsyHi5mbHl0ZWlkbDIudGFzay5UYXNrSWRlbnRpZmllchIRCgl0YXNrX3R5cGUYAiABKAkSEgoKc2hvcnRfbmFtZRgDIAEoCSIjChNUcmFjZUFjdGlvbk1ldGFkYXRhEgwKBG5hbWUYASABKAkiggEKF0NvbmRpdGlvbkFjdGlvbk1ldGFkYXRhEgwKBG5hbWUYASABKAkSGQoGcnVuX2lkGAIgASgJQge6SARyAhABSAASHAoJYWN0aW9uX2lkGAMgASgJQge6SARyAhABSAASEAoGZ2xvYmFsGAQgASgISABCDgoFc2NvcGUSBbpIAggBIpIDCg5BY3Rpb25NZXRhZGF0YRIOCgZwYXJlbnQYAyABKAkSDQoFZ3JvdXAYBSABKAkSNwoLZXhlY3V0ZWRfYnkYBiABKAsyIi5mbHl0ZWlkbDIuY29tbW9uLkVucmljaGVkSWRlbnRpdHkSNgoEdGFzaxgHIAEoCzImLmZseXRlaWRsMi53b3JrZmxvdy5UYXNrQWN0aW9uTWV0YWRhdGFIABI4CgV0cmFjZRgIIAEoCzInLmZseXRlaWRsMi53b3JrZmxvdy5UcmFjZUFjdGlvbk1ldGFkYXRhSAASQAoJY29uZGl0aW9uGAkgAS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k5JTkcQBBITCg9QSEFTRV9TVUNDRUVERUQQBRIQCgxQSEFTRV9GQUlMRUQQBhIRCg1QSEFTRV9BQk9SVEVEEAcSEwoPUEhBU0VfVElNRURfT1VUEAgqcQoKQWN0aW9uVHlwZRIbChdBQ1RJT05fVFlQRV9VTlNQRUNJRklFRBAAEhQKEEFDVElPTl9UWVBFX1RBU0sQARIVChFBQ1RJT05fVFlQRV9UUkFDRRACEhkKFUFDVElPTl9UWVBFX0NPTkRJVElPThADQs8BChZjb20uZmx5dGVpZGwyLndvcmtmbG93QhJSdW5EZWZpbml0aW9uUHJvdG9IAlABWjZnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvd29ya2Zsb3eiAgNGV1iqAhJGbHl0ZWlkbDIuV29ya2Zsb3fKAhJGbHl0ZWlkbDJcV29ya2Zsb3fiAh5GbHl0ZWlkbDJcV29ya2Zsb3dcR1BCTWV0YWRhdGHqAhNGbHl0ZWlkbDI6OldvcmtmbG93YgZwcm90bzM", [file_buf_validate_validate, file_flyteidl2_common_identifier, file_flyteidl2_common_identity, file_flyteidl2_core_catalog, file_flyteidl2_core_execution, file_flyteidl2_task_common, file_flyteidl2_task_run, file_flyteidl2_task_task_definition, file_google_protobuf_timestamp]);
31
+
32
+ /**
33
+ * @generated from message flyteidl2.workflow.Run
34
+ */
35
+ export type Run = Message<"flyteidl2.workflow.Run"> & {
36
+ /**
37
+ * Lightweight information about the root action.
38
+ *
39
+ * @generated from field: flyteidl2.workflow.Action action = 1;
40
+ */
41
+ action?: Action;
42
+ };
43
+
44
+ /**
45
+ * Describes the message flyteidl2.workflow.Run.
46
+ * Use `create(RunSchema)` to create a new message.
47
+ */
48
+ export const RunSchema: GenMessage<Run> = /*@__PURE__*/
49
+ messageDesc(file_flyteidl2_workflow_run_definition, 0);
50
+
51
+ /**
52
+ * @generated from message flyteidl2.workflow.RunDetails
53
+ */
54
+ export type RunDetails = Message<"flyteidl2.workflow.RunDetails"> & {
55
+ /**
56
+ * Run spec.
57
+ *
58
+ * @generated from field: flyteidl2.task.RunSpec run_spec = 1;
59
+ */
60
+ runSpec?: RunSpec;
61
+
62
+ /**
63
+ * Detailed information about the root action.
64
+ *
65
+ * @generated from field: flyteidl2.workflow.ActionDetails action = 2;
66
+ */
67
+ action?: ActionDetails;
68
+ };
69
+
70
+ /**
71
+ * Describes the message flyteidl2.workflow.RunDetails.
72
+ * Use `create(RunDetailsSchema)` to create a new message.
73
+ */
74
+ export const RunDetailsSchema: GenMessage<RunDetails> = /*@__PURE__*/
75
+ messageDesc(file_flyteidl2_workflow_run_definition, 1);
76
+
77
+ /**
78
+ * @generated from message flyteidl2.workflow.TaskActionMetadata
79
+ */
80
+ export type TaskActionMetadata = Message<"flyteidl2.workflow.TaskActionMetadata"> & {
81
+ /**
82
+ * Id of the task this action is associated with.
83
+ *
84
+ * @generated from field: flyteidl2.task.TaskIdentifier id = 1;
85
+ */
86
+ id?: TaskIdentifier;
87
+
88
+ /**
89
+ * Extensible task type.
90
+ *
91
+ * @generated from field: string task_type = 2;
92
+ */
93
+ taskType: string;
94
+
95
+ /**
96
+ * The short name for this task.
97
+ *
98
+ * @generated from field: string short_name = 3;
99
+ */
100
+ shortName: string;
101
+ };
102
+
103
+ /**
104
+ * Describes the message flyteidl2.workflow.TaskActionMetadata.
105
+ * Use `create(TaskActionMetadataSchema)` to create a new message.
106
+ */
107
+ export const TaskActionMetadataSchema: GenMessage<TaskActionMetadata> = /*@__PURE__*/
108
+ messageDesc(file_flyteidl2_workflow_run_definition, 2);
109
+
110
+ /**
111
+ * @generated from message flyteidl2.workflow.TraceActionMetadata
112
+ */
113
+ export type TraceActionMetadata = Message<"flyteidl2.workflow.TraceActionMetadata"> & {
114
+ /**
115
+ * @generated from field: string name = 1;
116
+ */
117
+ name: string;
118
+ };
119
+
120
+ /**
121
+ * Describes the message flyteidl2.workflow.TraceActionMetadata.
122
+ * Use `create(TraceActionMetadataSchema)` to create a new message.
123
+ */
124
+ export const TraceActionMetadataSchema: GenMessage<TraceActionMetadata> = /*@__PURE__*/
125
+ messageDesc(file_flyteidl2_workflow_run_definition, 3);
126
+
127
+ /**
128
+ * @generated from message flyteidl2.workflow.ConditionActionMetadata
129
+ */
130
+ export type ConditionActionMetadata = Message<"flyteidl2.workflow.ConditionActionMetadata"> & {
131
+ /**
132
+ * @generated from field: string name = 1;
133
+ */
134
+ name: string;
135
+
136
+ /**
137
+ * @generated from oneof flyteidl2.workflow.ConditionActionMetadata.scope
138
+ */
139
+ scope: {
140
+ /**
141
+ * RunId is the unique identifier for the run this action is associated with.
142
+ *
143
+ * @generated from field: string run_id = 2;
144
+ */
145
+ value: string;
146
+ case: "runId";
147
+ } | {
148
+ /**
149
+ * ActionId is the unique identifier for the action this action is associated with.
150
+ *
151
+ * @generated from field: string action_id = 3;
152
+ */
153
+ value: string;
154
+ case: "actionId";
155
+ } | {
156
+ /**
157
+ * Global indicates the condition is global and can be used across all runs and actions.
158
+ *
159
+ * @generated from field: bool global = 4;
160
+ */
161
+ value: boolean;
162
+ case: "global";
163
+ } | { case: undefined; value?: undefined };
164
+ };
165
+
166
+ /**
167
+ * Describes the message flyteidl2.workflow.ConditionActionMetadata.
168
+ * Use `create(ConditionActionMetadataSchema)` to create a new message.
169
+ */
170
+ export const ConditionActionMetadataSchema: GenMessage<ConditionActionMetadata> = /*@__PURE__*/
171
+ messageDesc(file_flyteidl2_workflow_run_definition, 4);
172
+
173
+ /**
174
+ * Static, lightweight metadata about an action.
175
+ *
176
+ * @generated from message flyteidl2.workflow.ActionMetadata
177
+ */
178
+ export type ActionMetadata = Message<"flyteidl2.workflow.ActionMetadata"> & {
179
+ /**
180
+ * Parent action if not the root.
181
+ *
182
+ * @generated from field: string parent = 3;
183
+ */
184
+ parent: string;
185
+
186
+ /**
187
+ * Group this action belongs to, if applicable.
188
+ *
189
+ * @generated from field: string group = 5;
190
+ */
191
+ group: string;
192
+
193
+ /**
194
+ * Identity that executed this run.
195
+ *
196
+ * @generated from field: flyteidl2.common.EnrichedIdentity executed_by = 6;
197
+ */
198
+ executedBy?: EnrichedIdentity;
199
+
200
+ /**
201
+ * @generated from oneof flyteidl2.workflow.ActionMetadata.spec
202
+ */
203
+ spec: {
204
+ /**
205
+ * Task action.
206
+ *
207
+ * @generated from field: flyteidl2.workflow.TaskActionMetadata task = 7;
208
+ */
209
+ value: TaskActionMetadata;
210
+ case: "task";
211
+ } | {
212
+ /**
213
+ * Trace action.
214
+ *
215
+ * @generated from field: flyteidl2.workflow.TraceActionMetadata trace = 8;
216
+ */
217
+ value: TraceActionMetadata;
218
+ case: "trace";
219
+ } | {
220
+ /**
221
+ * Condition action.
222
+ *
223
+ * @generated from field: flyteidl2.workflow.ConditionActionMetadata condition = 9;
224
+ */
225
+ value: ConditionActionMetadata;
226
+ case: "condition";
227
+ } | { case: undefined; value?: undefined };
228
+
229
+ /**
230
+ * Action type.
231
+ *
232
+ * @generated from field: flyteidl2.workflow.ActionType action_type = 10;
233
+ */
234
+ actionType: ActionType;
235
+
236
+ /**
237
+ * If this run was initiated by a trigger, this will store the trigger identifier.
238
+ *
239
+ * @generated from field: flyteidl2.common.TriggerIdentifier trigger_id = 11;
240
+ */
241
+ triggerId?: TriggerIdentifier;
242
+ };
243
+
244
+ /**
245
+ * Describes the message flyteidl2.workflow.ActionMetadata.
246
+ * Use `create(ActionMetadataSchema)` to create a new message.
247
+ */
248
+ export const ActionMetadataSchema: GenMessage<ActionMetadata> = /*@__PURE__*/
249
+ messageDesc(file_flyteidl2_workflow_run_definition, 5);
250
+
251
+ /**
252
+ * Lightweight status of an action. For more detailed status see ActionDetails.
253
+ *
254
+ * @generated from message flyteidl2.workflow.ActionStatus
255
+ */
256
+ export type ActionStatus = Message<"flyteidl2.workflow.ActionStatus"> & {
257
+ /**
258
+ * Last known phase.
259
+ *
260
+ * @generated from field: flyteidl2.workflow.Phase phase = 1;
261
+ */
262
+ phase: Phase;
263
+
264
+ /**
265
+ * Time the action started.
266
+ *
267
+ * @generated from field: google.protobuf.Timestamp start_time = 2;
268
+ */
269
+ startTime?: Timestamp;
270
+
271
+ /**
272
+ * Time the action ended, if applicable.
273
+ *
274
+ * @generated from field: optional google.protobuf.Timestamp end_time = 3;
275
+ */
276
+ endTime?: Timestamp;
277
+
278
+ /**
279
+ * Number of action attempts.
280
+ *
281
+ * @generated from field: uint32 attempts = 4;
282
+ */
283
+ attempts: number;
284
+
285
+ /**
286
+ * cache status of the action's latest attempt
287
+ *
288
+ * @generated from field: flyteidl2.core.CatalogCacheStatus cache_status = 5;
289
+ */
290
+ cacheStatus: CatalogCacheStatus;
291
+ };
292
+
293
+ /**
294
+ * Describes the message flyteidl2.workflow.ActionStatus.
295
+ * Use `create(ActionStatusSchema)` to create a new message.
296
+ */
297
+ export const ActionStatusSchema: GenMessage<ActionStatus> = /*@__PURE__*/
298
+ messageDesc(file_flyteidl2_workflow_run_definition, 6);
299
+
300
+ /**
301
+ * Lightweight representation of an action.
302
+ *
303
+ * @generated from message flyteidl2.workflow.Action
304
+ */
305
+ export type Action = Message<"flyteidl2.workflow.Action"> & {
306
+ /**
307
+ * Id for this action.
308
+ *
309
+ * @generated from field: flyteidl2.common.ActionIdentifier id = 1;
310
+ */
311
+ id?: ActionIdentifier;
312
+
313
+ /**
314
+ * Metadata for this action.
315
+ *
316
+ * @generated from field: flyteidl2.workflow.ActionMetadata metadata = 2;
317
+ */
318
+ metadata?: ActionMetadata;
319
+
320
+ /**
321
+ * Last known status.
322
+ *
323
+ * @generated from field: flyteidl2.workflow.ActionStatus status = 3;
324
+ */
325
+ status?: ActionStatus;
326
+ };
327
+
328
+ /**
329
+ * Describes the message flyteidl2.workflow.Action.
330
+ * Use `create(ActionSchema)` to create a new message.
331
+ */
332
+ export const ActionSchema: GenMessage<Action> = /*@__PURE__*/
333
+ messageDesc(file_flyteidl2_workflow_run_definition, 7);
334
+
335
+ /**
336
+ * EnrichedAction is a wrapper around Action that contains additional information
337
+ *
338
+ * @generated from message flyteidl2.workflow.EnrichedAction
339
+ */
340
+ export type EnrichedAction = Message<"flyteidl2.workflow.EnrichedAction"> & {
341
+ /**
342
+ * The action itself.
343
+ *
344
+ * @generated from field: flyteidl2.workflow.Action action = 1;
345
+ */
346
+ action?: Action;
347
+
348
+ /**
349
+ * Whether this action meets specified filters of the request or not.
350
+ * If an action that was previously meeting the filter but no longer does, will be sent with this flag set to false
351
+ *
352
+ * @generated from field: bool meets_filter = 2;
353
+ */
354
+ meetsFilter: boolean;
355
+
356
+ /**
357
+ * Child phase info for this action (Map of phase to counts of children in given phase)
358
+ *
359
+ * @generated from field: map<int32, int32> children_phase_counts = 3;
360
+ */
361
+ childrenPhaseCounts: { [key: number]: number };
362
+ };
363
+
364
+ /**
365
+ * Describes the message flyteidl2.workflow.EnrichedAction.
366
+ * Use `create(EnrichedActionSchema)` to create a new message.
367
+ */
368
+ export const EnrichedActionSchema: GenMessage<EnrichedAction> = /*@__PURE__*/
369
+ messageDesc(file_flyteidl2_workflow_run_definition, 8);
370
+
371
+ /**
372
+ * ErrorInfo captures details of an error.
373
+ *
374
+ * @generated from message flyteidl2.workflow.ErrorInfo
375
+ */
376
+ export type ErrorInfo = Message<"flyteidl2.workflow.ErrorInfo"> & {
377
+ /**
378
+ * Error message.
379
+ *
380
+ * @generated from field: string message = 1;
381
+ */
382
+ message: string;
383
+
384
+ /**
385
+ * Error kind.
386
+ *
387
+ * @generated from field: flyteidl2.workflow.ErrorInfo.Kind kind = 2;
388
+ */
389
+ kind: ErrorInfo_Kind;
390
+ };
391
+
392
+ /**
393
+ * Describes the message flyteidl2.workflow.ErrorInfo.
394
+ * Use `create(ErrorInfoSchema)` to create a new message.
395
+ */
396
+ export const ErrorInfoSchema: GenMessage<ErrorInfo> = /*@__PURE__*/
397
+ messageDesc(file_flyteidl2_workflow_run_definition, 9);
398
+
399
+ /**
400
+ * @generated from enum flyteidl2.workflow.ErrorInfo.Kind
401
+ */
402
+ export enum ErrorInfo_Kind {
403
+ /**
404
+ * @generated from enum value: KIND_UNSPECIFIED = 0;
405
+ */
406
+ UNSPECIFIED = 0,
407
+
408
+ /**
409
+ * @generated from enum value: KIND_USER = 1;
410
+ */
411
+ USER = 1,
412
+
413
+ /**
414
+ * @generated from enum value: KIND_SYSTEM = 2;
415
+ */
416
+ SYSTEM = 2,
417
+ }
418
+
419
+ /**
420
+ * Describes the enum flyteidl2.workflow.ErrorInfo.Kind.
421
+ */
422
+ export const ErrorInfo_KindSchema: GenEnum<ErrorInfo_Kind> = /*@__PURE__*/
423
+ enumDesc(file_flyteidl2_workflow_run_definition, 9, 0);
424
+
425
+ /**
426
+ * AbortInfo captures details of an aborted run.
427
+ *
428
+ * @generated from message flyteidl2.workflow.AbortInfo
429
+ */
430
+ export type AbortInfo = Message<"flyteidl2.workflow.AbortInfo"> & {
431
+ /**
432
+ * Reason provided for the abort.
433
+ *
434
+ * @generated from field: string reason = 1;
435
+ */
436
+ reason: string;
437
+
438
+ /**
439
+ * Identity that aborted the run.
440
+ *
441
+ * @generated from field: flyteidl2.common.EnrichedIdentity aborted_by = 2;
442
+ */
443
+ abortedBy?: EnrichedIdentity;
444
+ };
445
+
446
+ /**
447
+ * Describes the message flyteidl2.workflow.AbortInfo.
448
+ * Use `create(AbortInfoSchema)` to create a new message.
449
+ */
450
+ export const AbortInfoSchema: GenMessage<AbortInfo> = /*@__PURE__*/
451
+ messageDesc(file_flyteidl2_workflow_run_definition, 10);
452
+
453
+ /**
454
+ * ActionDetails is the full details of an action.
455
+ *
456
+ * @generated from message flyteidl2.workflow.ActionDetails
457
+ */
458
+ export type ActionDetails = Message<"flyteidl2.workflow.ActionDetails"> & {
459
+ /**
460
+ * Id for this action.
461
+ *
462
+ * @generated from field: flyteidl2.common.ActionIdentifier id = 1;
463
+ */
464
+ id?: ActionIdentifier;
465
+
466
+ /**
467
+ * Metadata for this action.
468
+ *
469
+ * @generated from field: flyteidl2.workflow.ActionMetadata metadata = 2;
470
+ */
471
+ metadata?: ActionMetadata;
472
+
473
+ /**
474
+ * Last known status.
475
+ *
476
+ * @generated from field: flyteidl2.workflow.ActionStatus status = 3;
477
+ */
478
+ status?: ActionStatus;
479
+
480
+ /**
481
+ * @generated from oneof flyteidl2.workflow.ActionDetails.result
482
+ */
483
+ result: {
484
+ /**
485
+ * Error info for the action, if failed.
486
+ *
487
+ * @generated from field: flyteidl2.workflow.ErrorInfo error_info = 4;
488
+ */
489
+ value: ErrorInfo;
490
+ case: "errorInfo";
491
+ } | {
492
+ /**
493
+ * Abort info for the action, if aborted.
494
+ *
495
+ * @generated from field: flyteidl2.workflow.AbortInfo abort_info = 5;
496
+ */
497
+ value: AbortInfo;
498
+ case: "abortInfo";
499
+ } | { case: undefined; value?: undefined };
500
+
501
+ /**
502
+ * Fully resolved spec of the action. Merges user submitted task spec with platform defaults.
503
+ *
504
+ * @generated from oneof flyteidl2.workflow.ActionDetails.spec
505
+ */
506
+ spec: {
507
+ /**
508
+ * @generated from field: flyteidl2.task.TaskSpec task = 6;
509
+ */
510
+ value: TaskSpec;
511
+ case: "task";
512
+ } | {
513
+ /**
514
+ * @generated from field: flyteidl2.task.TraceSpec trace = 8;
515
+ */
516
+ value: TraceSpec;
517
+ case: "trace";
518
+ } | { case: undefined; value?: undefined };
519
+
520
+ /**
521
+ * List of action attempts.
522
+ *
523
+ * @generated from field: repeated flyteidl2.workflow.ActionAttempt attempts = 7;
524
+ */
525
+ attempts: ActionAttempt[];
526
+ };
527
+
528
+ /**
529
+ * Describes the message flyteidl2.workflow.ActionDetails.
530
+ * Use `create(ActionDetailsSchema)` to create a new message.
531
+ */
532
+ export const ActionDetailsSchema: GenMessage<ActionDetails> = /*@__PURE__*/
533
+ messageDesc(file_flyteidl2_workflow_run_definition, 11);
534
+
535
+ /**
536
+ * ActionAttempt is a single attempt of an action.
537
+ *
538
+ * @generated from message flyteidl2.workflow.ActionAttempt
539
+ */
540
+ export type ActionAttempt = Message<"flyteidl2.workflow.ActionAttempt"> & {
541
+ /**
542
+ * Last known phase.
543
+ *
544
+ * @generated from field: flyteidl2.workflow.Phase phase = 1;
545
+ */
546
+ phase: Phase;
547
+
548
+ /**
549
+ * Time the attempt started.
550
+ *
551
+ * @generated from field: google.protobuf.Timestamp start_time = 2;
552
+ */
553
+ startTime?: Timestamp;
554
+
555
+ /**
556
+ * Time the attempt ended, if applicable.
557
+ *
558
+ * @generated from field: optional google.protobuf.Timestamp end_time = 3;
559
+ */
560
+ endTime?: Timestamp;
561
+
562
+ /**
563
+ * Error info for the attempt, if failed.
564
+ *
565
+ * @generated from field: optional flyteidl2.workflow.ErrorInfo error_info = 4;
566
+ */
567
+ errorInfo?: ErrorInfo;
568
+
569
+ /**
570
+ * The attempt number, starting with 1.
571
+ *
572
+ * @generated from field: uint32 attempt = 5;
573
+ */
574
+ attempt: number;
575
+
576
+ /**
577
+ * Log references.
578
+ *
579
+ * @generated from field: repeated flyteidl2.core.TaskLog log_info = 6;
580
+ */
581
+ logInfo: TaskLog[];
582
+
583
+ /**
584
+ * Output references.
585
+ *
586
+ * @generated from field: flyteidl2.task.OutputReferences outputs = 7;
587
+ */
588
+ outputs?: OutputReferences;
589
+
590
+ /**
591
+ * Indicates whether logs are available for tailing. It doesn't necessarily indicate the logs are present, but that
592
+ * we have the info we need to look them up.
593
+ *
594
+ * @generated from field: bool logs_available = 8;
595
+ */
596
+ logsAvailable: boolean;
597
+
598
+ /**
599
+ * cache status of the action attempt
600
+ *
601
+ * @generated from field: flyteidl2.core.CatalogCacheStatus cache_status = 9;
602
+ */
603
+ cacheStatus: CatalogCacheStatus;
604
+
605
+ /**
606
+ * Cluster events like k8s events in a human-readable form.
607
+ *
608
+ * @generated from field: repeated flyteidl2.workflow.ClusterEvent cluster_events = 10;
609
+ */
610
+ clusterEvents: ClusterEvent[];
611
+
612
+ /**
613
+ * History of phase transitions.
614
+ *
615
+ * @generated from field: repeated flyteidl2.workflow.PhaseTransition phase_transitions = 11;
616
+ */
617
+ phaseTransitions: PhaseTransition[];
618
+
619
+ /**
620
+ * The cluster this attempt is assigned to.
621
+ *
622
+ * @generated from field: string cluster = 12;
623
+ */
624
+ cluster: string;
625
+
626
+ /**
627
+ * Contains corresponding k8s pods and containers information for this action attempt.
628
+ *
629
+ * @generated from field: flyteidl2.core.LogContext log_context = 13;
630
+ */
631
+ logContext?: LogContext;
632
+ };
633
+
634
+ /**
635
+ * Describes the message flyteidl2.workflow.ActionAttempt.
636
+ * Use `create(ActionAttemptSchema)` to create a new message.
637
+ */
638
+ export const ActionAttemptSchema: GenMessage<ActionAttempt> = /*@__PURE__*/
639
+ messageDesc(file_flyteidl2_workflow_run_definition, 12);
640
+
641
+ /**
642
+ * @generated from message flyteidl2.workflow.ClusterEvent
643
+ */
644
+ export type ClusterEvent = Message<"flyteidl2.workflow.ClusterEvent"> & {
645
+ /**
646
+ * occurred_at is the timestamp indicating the instant that this reason happened.
647
+ *
648
+ * @generated from field: google.protobuf.Timestamp occurred_at = 1;
649
+ */
650
+ occurredAt?: Timestamp;
651
+
652
+ /**
653
+ * message is the explanation for the most recent phase transition or status update.
654
+ *
655
+ * @generated from field: string message = 2;
656
+ */
657
+ message: string;
658
+ };
659
+
660
+ /**
661
+ * Describes the message flyteidl2.workflow.ClusterEvent.
662
+ * Use `create(ClusterEventSchema)` to create a new message.
663
+ */
664
+ export const ClusterEventSchema: GenMessage<ClusterEvent> = /*@__PURE__*/
665
+ messageDesc(file_flyteidl2_workflow_run_definition, 13);
666
+
667
+ /**
668
+ * @generated from message flyteidl2.workflow.PhaseTransition
669
+ */
670
+ export type PhaseTransition = Message<"flyteidl2.workflow.PhaseTransition"> & {
671
+ /**
672
+ * The phase.
673
+ *
674
+ * @generated from field: flyteidl2.workflow.Phase phase = 1;
675
+ */
676
+ phase: Phase;
677
+
678
+ /**
679
+ * Time this phase started.
680
+ *
681
+ * @generated from field: google.protobuf.Timestamp start_time = 2;
682
+ */
683
+ startTime?: Timestamp;
684
+
685
+ /**
686
+ * Time this phase ended, if applicable. For terminal phases, start time will equal end time.
687
+ *
688
+ * @generated from field: optional google.protobuf.Timestamp end_time = 3;
689
+ */
690
+ endTime?: Timestamp;
691
+ };
692
+
693
+ /**
694
+ * Describes the message flyteidl2.workflow.PhaseTransition.
695
+ * Use `create(PhaseTransitionSchema)` to create a new message.
696
+ */
697
+ export const PhaseTransitionSchema: GenMessage<PhaseTransition> = /*@__PURE__*/
698
+ messageDesc(file_flyteidl2_workflow_run_definition, 14);
699
+
700
+ /**
701
+ * Event payload for an action
702
+ *
703
+ * @generated from message flyteidl2.workflow.ActionEvent
704
+ */
705
+ export type ActionEvent = Message<"flyteidl2.workflow.ActionEvent"> & {
706
+ /**
707
+ * The action id.
708
+ *
709
+ * @generated from field: flyteidl2.common.ActionIdentifier id = 1;
710
+ */
711
+ id?: ActionIdentifier;
712
+
713
+ /**
714
+ * The attempt number.
715
+ *
716
+ * @generated from field: uint32 attempt = 2;
717
+ */
718
+ attempt: number;
719
+
720
+ /**
721
+ * The phase for this attempt.
722
+ *
723
+ * @generated from field: flyteidl2.workflow.Phase phase = 3;
724
+ */
725
+ phase: Phase;
726
+
727
+ /**
728
+ * The version of this attempt and phase.
729
+ *
730
+ * @generated from field: uint32 version = 4;
731
+ */
732
+ version: number;
733
+
734
+ /**
735
+ * Time the attempt started.
736
+ *
737
+ * @generated from field: google.protobuf.Timestamp start_time = 5 [deprecated = true];
738
+ * @deprecated
739
+ */
740
+ startTime?: Timestamp;
741
+
742
+ /**
743
+ * Timestamp when the event occurred, as recorded by the underlying platform (e.g. Kubernetes).
744
+ *
745
+ * @generated from field: google.protobuf.Timestamp updated_time = 6;
746
+ */
747
+ updatedTime?: Timestamp;
748
+
749
+ /**
750
+ * Time the attempt ended, if applicable.
751
+ *
752
+ * @generated from field: optional google.protobuf.Timestamp end_time = 7 [deprecated = true];
753
+ * @deprecated
754
+ */
755
+ endTime?: Timestamp;
756
+
757
+ /**
758
+ * Error info for the attempt, if failed.
759
+ *
760
+ * @generated from field: optional flyteidl2.workflow.ErrorInfo error_info = 8;
761
+ */
762
+ errorInfo?: ErrorInfo;
763
+
764
+ /**
765
+ * Log references.
766
+ *
767
+ * @generated from field: repeated flyteidl2.core.TaskLog log_info = 9;
768
+ */
769
+ logInfo: TaskLog[];
770
+
771
+ /**
772
+ * Metadata to associate containers with logs.
773
+ *
774
+ * @generated from field: flyteidl2.core.LogContext log_context = 10;
775
+ */
776
+ logContext?: LogContext;
777
+
778
+ /**
779
+ * The cluster this attempt is running on.
780
+ *
781
+ * @generated from field: string cluster = 11;
782
+ */
783
+ cluster: string;
784
+
785
+ /**
786
+ * Output references.
787
+ *
788
+ * @generated from field: flyteidl2.task.OutputReferences outputs = 12;
789
+ */
790
+ outputs?: OutputReferences;
791
+
792
+ /**
793
+ * cache status of the action attempt
794
+ *
795
+ * @generated from field: flyteidl2.core.CatalogCacheStatus cache_status = 13;
796
+ */
797
+ cacheStatus: CatalogCacheStatus;
798
+
799
+ /**
800
+ * Cluster events like k8s events in a human-readable form.
801
+ *
802
+ * @generated from field: repeated flyteidl2.workflow.ClusterEvent cluster_events = 14;
803
+ */
804
+ clusterEvents: ClusterEvent[];
805
+
806
+ /**
807
+ * Timestamp when the event was observed and reported by the executor
808
+ *
809
+ * @generated from field: google.protobuf.Timestamp reported_time = 15;
810
+ */
811
+ reportedTime?: Timestamp;
812
+ };
813
+
814
+ /**
815
+ * Describes the message flyteidl2.workflow.ActionEvent.
816
+ * Use `create(ActionEventSchema)` to create a new message.
817
+ */
818
+ export const ActionEventSchema: GenMessage<ActionEvent> = /*@__PURE__*/
819
+ messageDesc(file_flyteidl2_workflow_run_definition, 15);
820
+
821
+ /**
822
+ * TODO: define phase transitions
823
+ *
824
+ * @generated from enum flyteidl2.workflow.Phase
825
+ */
826
+ export enum Phase {
827
+ /**
828
+ * @generated from enum value: PHASE_UNSPECIFIED = 0;
829
+ */
830
+ UNSPECIFIED = 0,
831
+
832
+ /**
833
+ * @generated from enum value: PHASE_QUEUED = 1;
834
+ */
835
+ QUEUED = 1,
836
+
837
+ /**
838
+ * @generated from enum value: PHASE_WAITING_FOR_RESOURCES = 2;
839
+ */
840
+ WAITING_FOR_RESOURCES = 2,
841
+
842
+ /**
843
+ * @generated from enum value: PHASE_INITIALIZING = 3;
844
+ */
845
+ INITIALIZING = 3,
846
+
847
+ /**
848
+ * @generated from enum value: PHASE_RUNNING = 4;
849
+ */
850
+ RUNNING = 4,
851
+
852
+ /**
853
+ * @generated from enum value: PHASE_SUCCEEDED = 5;
854
+ */
855
+ SUCCEEDED = 5,
856
+
857
+ /**
858
+ * @generated from enum value: PHASE_FAILED = 6;
859
+ */
860
+ FAILED = 6,
861
+
862
+ /**
863
+ * @generated from enum value: PHASE_ABORTED = 7;
864
+ */
865
+ ABORTED = 7,
866
+
867
+ /**
868
+ * @generated from enum value: PHASE_TIMED_OUT = 8;
869
+ */
870
+ TIMED_OUT = 8,
871
+ }
872
+
873
+ /**
874
+ * Describes the enum flyteidl2.workflow.Phase.
875
+ */
876
+ export const PhaseSchema: GenEnum<Phase> = /*@__PURE__*/
877
+ enumDesc(file_flyteidl2_workflow_run_definition, 0);
878
+
879
+ /**
880
+ * @generated from enum flyteidl2.workflow.ActionType
881
+ */
882
+ export enum ActionType {
883
+ /**
884
+ * @generated from enum value: ACTION_TYPE_UNSPECIFIED = 0;
885
+ */
886
+ UNSPECIFIED = 0,
887
+
888
+ /**
889
+ * @generated from enum value: ACTION_TYPE_TASK = 1;
890
+ */
891
+ TASK = 1,
892
+
893
+ /**
894
+ * @generated from enum value: ACTION_TYPE_TRACE = 2;
895
+ */
896
+ TRACE = 2,
897
+
898
+ /**
899
+ * @generated from enum value: ACTION_TYPE_CONDITION = 3;
900
+ */
901
+ CONDITION = 3,
902
+ }
903
+
904
+ /**
905
+ * Describes the enum flyteidl2.workflow.ActionType.
906
+ */
907
+ export const ActionTypeSchema: GenEnum<ActionType> = /*@__PURE__*/
908
+ enumDesc(file_flyteidl2_workflow_run_definition, 1);
909
+