@flyteorg/flyteidl2 2.0.0-alpha8 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/buf/validate/validate_pb.ts +4754 -0
  2. package/flyteidl2/app/app_definition_pb.ts +1112 -0
  3. package/flyteidl2/app/app_logs_payload_pb.ts +161 -0
  4. package/flyteidl2/app/app_logs_service_pb.ts +30 -0
  5. package/flyteidl2/app/app_payload_pb.ts +530 -0
  6. package/flyteidl2/app/app_service_pb.ts +104 -0
  7. package/flyteidl2/app/replica_definition_pb.ts +140 -0
  8. package/flyteidl2/cacheservice/cacheservice_pb.ts +506 -0
  9. package/flyteidl2/cacheservice/v2/cacheservice_pb.ts +249 -0
  10. package/flyteidl2/common/configuration_pb.ts +68 -0
  11. package/flyteidl2/common/phase_pb.ts +92 -0
  12. package/flyteidl2/connector/connector_pb.ts +722 -0
  13. package/flyteidl2/connector/service_pb.ts +109 -0
  14. package/flyteidl2/core/errors_pb.ts +104 -0
  15. package/flyteidl2/core/execution_pb.ts +6 -1
  16. package/flyteidl2/core/metrics_pb.ts +47 -0
  17. package/flyteidl2/core/security_pb.ts +42 -6
  18. package/flyteidl2/core/tasks_pb.ts +17 -1
  19. package/flyteidl2/datacatalog/datacatalog_pb.ts +1299 -0
  20. package/flyteidl2/event/cloudevents_pb.ts +217 -0
  21. package/flyteidl2/event/event_pb.ts +818 -0
  22. package/flyteidl2/imagebuilder/definition_pb.ts +45 -3
  23. package/flyteidl2/imagebuilder/payload_pb.ts +15 -2
  24. package/flyteidl2/plugins/common_pb.ts +82 -0
  25. package/flyteidl2/plugins/dask_pb.ts +109 -0
  26. package/flyteidl2/plugins/kubeflow/common_pb.ts +81 -0
  27. package/flyteidl2/plugins/kubeflow/mpi_pb.ts +125 -0
  28. package/flyteidl2/plugins/kubeflow/pytorch_pb.ts +156 -0
  29. package/flyteidl2/plugins/kubeflow/tensorflow_pb.ts +123 -0
  30. package/flyteidl2/plugins/mpi_pb.ts +52 -0
  31. package/flyteidl2/plugins/presto_pb.ts +49 -0
  32. package/flyteidl2/plugins/pytorch_pb.ts +82 -0
  33. package/flyteidl2/plugins/qubole_pb.ts +98 -0
  34. package/flyteidl2/plugins/ray_pb.ts +189 -0
  35. package/flyteidl2/plugins/spark_pb.ts +145 -0
  36. package/flyteidl2/plugins/tensorflow_pb.ts +57 -0
  37. package/flyteidl2/task/common_pb.ts +71 -41
  38. package/flyteidl2/task/environment_pb.ts +8 -1
  39. package/flyteidl2/task/run_pb.ts +116 -5
  40. package/flyteidl2/task/task_definition_pb.ts +184 -12
  41. package/flyteidl2/task/task_service_pb.ts +127 -2
  42. package/flyteidl2/trigger/trigger_definition_pb.ts +22 -10
  43. package/flyteidl2/trigger/trigger_service_pb.ts +22 -5
  44. package/flyteidl2/workflow/queue_service_pb.ts +7 -186
  45. package/flyteidl2/workflow/run_definition_pb.ts +411 -52
  46. package/flyteidl2/workflow/run_service_pb.ts +147 -4
  47. package/flyteidl2/workflow/state_service_pb.ts +7 -7
  48. package/google/api/annotations_pb.ts +39 -0
  49. package/google/api/http_pb.ts +478 -0
  50. package/google/rpc/status_pb.ts +74 -0
  51. package/package.json +11 -3
@@ -0,0 +1,249 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/cacheservice/v2/cacheservice.proto (package flyteidl2.cacheservice.v2, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.ts";
8
+ import type { DeleteCacheRequest as DeleteCacheRequest$1, DeleteCacheResponseSchema, GetCacheRequest as GetCacheRequest$1, GetCacheResponseSchema, GetOrExtendReservationRequest as GetOrExtendReservationRequest$1, GetOrExtendReservationResponseSchema, PutCacheRequest as PutCacheRequest$1, PutCacheResponseSchema, ReleaseReservationRequest as ReleaseReservationRequest$1, ReleaseReservationResponseSchema } from "../cacheservice_pb.ts";
9
+ import { file_flyteidl2_cacheservice_cacheservice } from "../cacheservice_pb.ts";
10
+ import type { Message } from "@bufbuild/protobuf";
11
+
12
+ /**
13
+ * Describes the file flyteidl2/cacheservice/v2/cacheservice.proto.
14
+ */
15
+ export const file_flyteidl2_cacheservice_v2_cacheservice: GenFile = /*@__PURE__*/
16
+ fileDesc("CixmbHl0ZWlkbDIvY2FjaGVzZXJ2aWNlL3YyL2NhY2hlc2VydmljZS5wcm90bxIZZmx5dGVpZGwyLmNhY2hlc2VydmljZS52MiJVCgpJZGVudGlmaWVyEhQKA29yZxgBIAEoCUIHukgEcgIQARIYCgdwcm9qZWN0GAIgASgJQge6SARyAhABEhcKBmRvbWFpbhgDIAEoCUIHukgEcgIQASKTAQoPR2V0Q2FjaGVSZXF1ZXN0Ej0KDGJhc2VfcmVxdWVzdBgBIAEoCzInLmZseXRlaWRsMi5jYWNoZXNlcnZpY2UuR2V0Q2FjaGVSZXF1ZXN0EkEKCmlkZW50aWZpZXIYAiABKAsyJS5mbHl0ZWlkbDIuY2FjaGVzZXJ2aWNlLnYyLklkZW50aWZpZXJCBrpIA8gBASKTAQoPUHV0Q2FjaGVSZXF1ZXN0Ej0KDGJhc2VfcmVxdWVzdBgBIAEoCzInLmZseXRlaWRsMi5jYWNoZXNlcnZpY2UuUHV0Q2FjaGVSZXF1ZXN0EkEKCmlkZW50aWZpZXIYAiABKAsyJS5mbHl0ZWlkbDIuY2FjaGVzZXJ2aWNlLnYyLklkZW50aWZpZXJCBrpIA8gBASKZAQoSRGVsZXRlQ2FjaGVSZXF1ZXN0EkAKDGJhc2VfcmVxdWVzdBgBIAEoCzIqLmZseXRlaWRsMi5jYWNoZXNlcnZpY2UuRGVsZXRlQ2FjaGVSZXF1ZXN0EkEKCmlkZW50aWZpZXIYAiABKAsyJS5mbHl0ZWlkbDIuY2FjaGVzZXJ2aWNlLnYyLklkZW50aWZpZXJCBrpIA8gBASKvAQodR2V0T3JFeHRlbmRSZXNlcnZhdGlvblJlcXVlc3QSSwoMYmFzZV9yZXF1ZXN0GAEgASgLMjUuZmx5dGVpZGwyLmNhY2hlc2VydmljZS5HZXRPckV4dGVuZFJlc2VydmF0aW9uUmVxdWVzdBJBCgppZGVudGlmaWVyGAIgASgLMiUuZmx5dGVpZGwyLmNhY2hlc2VydmljZS52Mi5JZGVudGlmaWVyQga6SAPIAQEipwEKGVJlbGVhc2VSZXNlcnZhdGlvblJlcXVlc3QSRwoMYmFzZV9yZXF1ZXN0GAEgASgLMjEuZmx5dGVpZGwyLmNhY2hlc2VydmljZS5SZWxlYXNlUmVzZXJ2YXRpb25SZXF1ZXN0EkEKCmlkZW50aWZpZXIYAiABKAsyJS5mbHl0ZWlkbDIuY2FjaGVzZXJ2aWNlLnYyLklkZW50aWZpZXJCBrpIA8gBATK7BAoMQ2FjaGVTZXJ2aWNlElsKA0dldBIqLmZseXRlaWRsMi5jYWNoZXNlcnZpY2UudjIuR2V0Q2FjaGVSZXF1ZXN0GiguZmx5dGVpZGwyLmNhY2hlc2VydmljZS5HZXRDYWNoZVJlc3BvbnNlElsKA1B1dBIqLmZseXRlaWRsMi5jYWNoZXNlcnZpY2UudjIuUHV0Q2FjaGVSZXF1ZXN0GiguZmx5dGVpZGwyLmNhY2hlc2VydmljZS5QdXRDYWNoZVJlc3BvbnNlEmQKBkRlbGV0ZRItLmZseXRlaWRsMi5jYWNoZXNlcnZpY2UudjIuRGVsZXRlQ2FjaGVSZXF1ZXN0GisuZmx5dGVpZGwyLmNhY2hlc2VydmljZS5EZWxldGVDYWNoZVJlc3BvbnNlEooBChZHZXRPckV4dGVuZFJlc2VydmF0aW9uEjguZmx5dGVpZGwyLmNhY2hlc2VydmljZS52Mi5HZXRPckV4dGVuZFJlc2VydmF0aW9uUmVxdWVzdBo2LmZseXRlaWRsMi5jYWNoZXNlcnZpY2UuR2V0T3JFeHRlbmRSZXNlcnZhdGlvblJlc3BvbnNlEn4KElJlbGVhc2VSZXNlcnZhdGlvbhI0LmZseXRlaWRsMi5jYWNoZXNlcnZpY2UudjIuUmVsZWFzZVJlc2VydmF0aW9uUmVxdWVzdBoyLmZseXRlaWRsMi5jYWNoZXNlcnZpY2UuUmVsZWFzZVJlc2VydmF0aW9uUmVzcG9uc2VC+QEKHWNvbS5mbHl0ZWlkbDIuY2FjaGVzZXJ2aWNlLnYyQhFDYWNoZXNlcnZpY2VQcm90b0gCUAFaPWdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9jYWNoZXNlcnZpY2UvdjKiAgNGQ1iqAhlGbHl0ZWlkbDIuQ2FjaGVzZXJ2aWNlLlYyygIZRmx5dGVpZGwyXENhY2hlc2VydmljZVxWMuICJUZseXRlaWRsMlxDYWNoZXNlcnZpY2VcVjJcR1BCTWV0YWRhdGHqAhtGbHl0ZWlkbDI6OkNhY2hlc2VydmljZTo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_flyteidl2_cacheservice_cacheservice]);
17
+
18
+ /**
19
+ *
20
+ * Identifier for cache operations, including org, project, and domain.
21
+ * This is used to scope cache operations to specific organizational contexts.
22
+ *
23
+ * @generated from message flyteidl2.cacheservice.v2.Identifier
24
+ */
25
+ export type Identifier = Message<"flyteidl2.cacheservice.v2.Identifier"> & {
26
+ /**
27
+ * Organization identifier
28
+ *
29
+ * @generated from field: string org = 1;
30
+ */
31
+ org: string;
32
+
33
+ /**
34
+ * Project identifier
35
+ *
36
+ * @generated from field: string project = 2;
37
+ */
38
+ project: string;
39
+
40
+ /**
41
+ * Domain identifier
42
+ *
43
+ * @generated from field: string domain = 3;
44
+ */
45
+ domain: string;
46
+ };
47
+
48
+ /**
49
+ * Describes the message flyteidl2.cacheservice.v2.Identifier.
50
+ * Use `create(IdentifierSchema)` to create a new message.
51
+ */
52
+ export const IdentifierSchema: GenMessage<Identifier> = /*@__PURE__*/
53
+ messageDesc(file_flyteidl2_cacheservice_v2_cacheservice, 0);
54
+
55
+ /**
56
+ *
57
+ * Request to retrieve cached data by key.
58
+ *
59
+ * @generated from message flyteidl2.cacheservice.v2.GetCacheRequest
60
+ */
61
+ export type GetCacheRequest = Message<"flyteidl2.cacheservice.v2.GetCacheRequest"> & {
62
+ /**
63
+ * @generated from field: flyteidl2.cacheservice.GetCacheRequest base_request = 1;
64
+ */
65
+ baseRequest?: GetCacheRequest$1;
66
+
67
+ /**
68
+ * Identifier for the cache operation
69
+ *
70
+ * @generated from field: flyteidl2.cacheservice.v2.Identifier identifier = 2;
71
+ */
72
+ identifier?: Identifier;
73
+ };
74
+
75
+ /**
76
+ * Describes the message flyteidl2.cacheservice.v2.GetCacheRequest.
77
+ * Use `create(GetCacheRequestSchema)` to create a new message.
78
+ */
79
+ export const GetCacheRequestSchema: GenMessage<GetCacheRequest> = /*@__PURE__*/
80
+ messageDesc(file_flyteidl2_cacheservice_v2_cacheservice, 1);
81
+
82
+ /**
83
+ *
84
+ * Request to store/update cached data by key.
85
+ *
86
+ * @generated from message flyteidl2.cacheservice.v2.PutCacheRequest
87
+ */
88
+ export type PutCacheRequest = Message<"flyteidl2.cacheservice.v2.PutCacheRequest"> & {
89
+ /**
90
+ * @generated from field: flyteidl2.cacheservice.PutCacheRequest base_request = 1;
91
+ */
92
+ baseRequest?: PutCacheRequest$1;
93
+
94
+ /**
95
+ * Identifier for the cache operation
96
+ *
97
+ * @generated from field: flyteidl2.cacheservice.v2.Identifier identifier = 2;
98
+ */
99
+ identifier?: Identifier;
100
+ };
101
+
102
+ /**
103
+ * Describes the message flyteidl2.cacheservice.v2.PutCacheRequest.
104
+ * Use `create(PutCacheRequestSchema)` to create a new message.
105
+ */
106
+ export const PutCacheRequestSchema: GenMessage<PutCacheRequest> = /*@__PURE__*/
107
+ messageDesc(file_flyteidl2_cacheservice_v2_cacheservice, 2);
108
+
109
+ /**
110
+ *
111
+ * Request to delete cached data by key.
112
+ *
113
+ * @generated from message flyteidl2.cacheservice.v2.DeleteCacheRequest
114
+ */
115
+ export type DeleteCacheRequest = Message<"flyteidl2.cacheservice.v2.DeleteCacheRequest"> & {
116
+ /**
117
+ * @generated from field: flyteidl2.cacheservice.DeleteCacheRequest base_request = 1;
118
+ */
119
+ baseRequest?: DeleteCacheRequest$1;
120
+
121
+ /**
122
+ * Identifier for the cache operation
123
+ *
124
+ * @generated from field: flyteidl2.cacheservice.v2.Identifier identifier = 2;
125
+ */
126
+ identifier?: Identifier;
127
+ };
128
+
129
+ /**
130
+ * Describes the message flyteidl2.cacheservice.v2.DeleteCacheRequest.
131
+ * Use `create(DeleteCacheRequestSchema)` to create a new message.
132
+ */
133
+ export const DeleteCacheRequestSchema: GenMessage<DeleteCacheRequest> = /*@__PURE__*/
134
+ messageDesc(file_flyteidl2_cacheservice_v2_cacheservice, 3);
135
+
136
+ /**
137
+ *
138
+ * Request to get or extend a reservation for a cache key
139
+ *
140
+ * @generated from message flyteidl2.cacheservice.v2.GetOrExtendReservationRequest
141
+ */
142
+ export type GetOrExtendReservationRequest = Message<"flyteidl2.cacheservice.v2.GetOrExtendReservationRequest"> & {
143
+ /**
144
+ * @generated from field: flyteidl2.cacheservice.GetOrExtendReservationRequest base_request = 1;
145
+ */
146
+ baseRequest?: GetOrExtendReservationRequest$1;
147
+
148
+ /**
149
+ * Identifier for the cache operation
150
+ *
151
+ * @generated from field: flyteidl2.cacheservice.v2.Identifier identifier = 2;
152
+ */
153
+ identifier?: Identifier;
154
+ };
155
+
156
+ /**
157
+ * Describes the message flyteidl2.cacheservice.v2.GetOrExtendReservationRequest.
158
+ * Use `create(GetOrExtendReservationRequestSchema)` to create a new message.
159
+ */
160
+ export const GetOrExtendReservationRequestSchema: GenMessage<GetOrExtendReservationRequest> = /*@__PURE__*/
161
+ messageDesc(file_flyteidl2_cacheservice_v2_cacheservice, 4);
162
+
163
+ /**
164
+ *
165
+ * Request to release the reservation for a cache key
166
+ *
167
+ * @generated from message flyteidl2.cacheservice.v2.ReleaseReservationRequest
168
+ */
169
+ export type ReleaseReservationRequest = Message<"flyteidl2.cacheservice.v2.ReleaseReservationRequest"> & {
170
+ /**
171
+ * @generated from field: flyteidl2.cacheservice.ReleaseReservationRequest base_request = 1;
172
+ */
173
+ baseRequest?: ReleaseReservationRequest$1;
174
+
175
+ /**
176
+ * Identifier for the cache operation
177
+ *
178
+ * @generated from field: flyteidl2.cacheservice.v2.Identifier identifier = 2;
179
+ */
180
+ identifier?: Identifier;
181
+ };
182
+
183
+ /**
184
+ * Describes the message flyteidl2.cacheservice.v2.ReleaseReservationRequest.
185
+ * Use `create(ReleaseReservationRequestSchema)` to create a new message.
186
+ */
187
+ export const ReleaseReservationRequestSchema: GenMessage<ReleaseReservationRequest> = /*@__PURE__*/
188
+ messageDesc(file_flyteidl2_cacheservice_v2_cacheservice, 5);
189
+
190
+ /**
191
+ *
192
+ * CacheService defines operations for cache management including retrieval, storage, and deletion of cached task/workflow outputs.
193
+ *
194
+ * @generated from service flyteidl2.cacheservice.v2.CacheService
195
+ */
196
+ export const CacheService: GenService<{
197
+ /**
198
+ * Retrieves cached data by key.
199
+ *
200
+ * @generated from rpc flyteidl2.cacheservice.v2.CacheService.Get
201
+ */
202
+ get: {
203
+ methodKind: "unary";
204
+ input: typeof GetCacheRequestSchema;
205
+ output: typeof GetCacheResponseSchema;
206
+ },
207
+ /**
208
+ * Stores or updates cached data by key.
209
+ *
210
+ * @generated from rpc flyteidl2.cacheservice.v2.CacheService.Put
211
+ */
212
+ put: {
213
+ methodKind: "unary";
214
+ input: typeof PutCacheRequestSchema;
215
+ output: typeof PutCacheResponseSchema;
216
+ },
217
+ /**
218
+ * Deletes cached data by key.
219
+ *
220
+ * @generated from rpc flyteidl2.cacheservice.v2.CacheService.Delete
221
+ */
222
+ delete: {
223
+ methodKind: "unary";
224
+ input: typeof DeleteCacheRequestSchema;
225
+ output: typeof DeleteCacheResponseSchema;
226
+ },
227
+ /**
228
+ * Get or extend a reservation for a cache key
229
+ *
230
+ * @generated from rpc flyteidl2.cacheservice.v2.CacheService.GetOrExtendReservation
231
+ */
232
+ getOrExtendReservation: {
233
+ methodKind: "unary";
234
+ input: typeof GetOrExtendReservationRequestSchema;
235
+ output: typeof GetOrExtendReservationResponseSchema;
236
+ },
237
+ /**
238
+ * Release the reservation for a cache key
239
+ *
240
+ * @generated from rpc flyteidl2.cacheservice.v2.CacheService.ReleaseReservation
241
+ */
242
+ releaseReservation: {
243
+ methodKind: "unary";
244
+ input: typeof ReleaseReservationRequestSchema;
245
+ output: typeof ReleaseReservationResponseSchema;
246
+ },
247
+ }> = /*@__PURE__*/
248
+ serviceDesc(file_flyteidl2_cacheservice_v2_cacheservice, 0);
249
+
@@ -0,0 +1,68 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/common/configuration.proto (package flyteidl2.common, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv1";
6
+ import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";
7
+
8
+ /**
9
+ * Describes the file flyteidl2/common/configuration.proto.
10
+ */
11
+ export const file_flyteidl2_common_configuration: GenFile = /*@__PURE__*/
12
+ fileDesc("CiRmbHl0ZWlkbDIvY29tbW9uL2NvbmZpZ3VyYXRpb24ucHJvdG8SEGZseXRlaWRsMi5jb21tb24qbAoQQXR0cmlidXRlc1NvdXJjZRIWChJTT1VSQ0VfVU5TUEVDSUZJRUQQABIKCgZHTE9CQUwQARIKCgZET01BSU4QAhILCgdQUk9KRUNUEAMSEgoOUFJPSkVDVF9ET01BSU4QBBIHCgNPUkcQBULDAQoUY29tLmZseXRlaWRsMi5jb21tb25CEkNvbmZpZ3VyYXRpb25Qcm90b0gCUAFaNGdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9jb21tb26iAgNGQ1iqAhBGbHl0ZWlkbDIuQ29tbW9uygIQRmx5dGVpZGwyXENvbW1vbuICHEZseXRlaWRsMlxDb21tb25cR1BCTWV0YWRhdGHqAhFGbHl0ZWlkbDI6OkNvbW1vbmIGcHJvdG8z");
13
+
14
+ /**
15
+ * The source of an attribute. We may have other sources in the future.
16
+ *
17
+ * @generated from enum flyteidl2.common.AttributesSource
18
+ */
19
+ export enum AttributesSource {
20
+ /**
21
+ * The source is unspecified.
22
+ *
23
+ * @generated from enum value: SOURCE_UNSPECIFIED = 0;
24
+ */
25
+ SOURCE_UNSPECIFIED = 0,
26
+
27
+ /**
28
+ * The configuration is a global configuration.
29
+ *
30
+ * @generated from enum value: GLOBAL = 1;
31
+ */
32
+ GLOBAL = 1,
33
+
34
+ /**
35
+ * The configuration is a domain configuration.
36
+ *
37
+ * @generated from enum value: DOMAIN = 2;
38
+ */
39
+ DOMAIN = 2,
40
+
41
+ /**
42
+ * The configuration is a project configuration.
43
+ *
44
+ * @generated from enum value: PROJECT = 3;
45
+ */
46
+ PROJECT = 3,
47
+
48
+ /**
49
+ * The configuration is a project-domain configuration.
50
+ *
51
+ * @generated from enum value: PROJECT_DOMAIN = 4;
52
+ */
53
+ PROJECT_DOMAIN = 4,
54
+
55
+ /**
56
+ * The configuration is a org configuration.
57
+ *
58
+ * @generated from enum value: ORG = 5;
59
+ */
60
+ ORG = 5,
61
+ }
62
+
63
+ /**
64
+ * Describes the enum flyteidl2.common.AttributesSource.
65
+ */
66
+ export const AttributesSourceSchema: GenEnum<AttributesSource> = /*@__PURE__*/
67
+ enumDesc(file_flyteidl2_common_configuration, 0);
68
+
@@ -0,0 +1,92 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/common/phase.proto (package flyteidl2.common, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv1";
6
+ import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";
7
+
8
+ /**
9
+ * Describes the file flyteidl2/common/phase.proto.
10
+ */
11
+ export const file_flyteidl2_common_phase: GenFile = /*@__PURE__*/
12
+ fileDesc("ChxmbHl0ZWlkbDIvY29tbW9uL3BoYXNlLnByb3RvEhBmbHl0ZWlkbDIuY29tbW9uKpACCgtBY3Rpb25QaGFzZRIcChhBQ1RJT05fUEhBU0VfVU5TUEVDSUZJRUQQABIXChNBQ1RJT05fUEhBU0VfUVVFVUVEEAESJgoiQUNUSU9OX1BIQVNFX1dBSVRJTkdfRk9SX1JFU09VUkNFUxACEh0KGUFDVElPTl9QSEFTRV9JTklUSUFMSVpJTkcQAxIYChRBQ1RJT05fUEhBU0VfUlVOTklORxAEEhoKFkFDVElPTl9QSEFTRV9TVUNDRUVERUQQBRIXChNBQ1RJT05fUEhBU0VfRkFJTEVEEAYSGAoUQUNUSU9OX1BIQVNFX0FCT1JURUQQBxIaChZBQ1RJT05fUEhBU0VfVElNRURfT1VUEAhCuwEKFGNvbS5mbHl0ZWlkbDIuY29tbW9uQgpQaGFzZVByb3RvSAJQAVo0Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL2NvbW1vbqICA0ZDWKoCEEZseXRlaWRsMi5Db21tb27KAhBGbHl0ZWlkbDJcQ29tbW9u4gIcRmx5dGVpZGwyXENvbW1vblxHUEJNZXRhZGF0YeoCEUZseXRlaWRsMjo6Q29tbW9uYgZwcm90bzM");
13
+
14
+ /**
15
+ * ActionPhase represents the execution state of an action.
16
+ *
17
+ * Phase transitions follow this typical flow:
18
+ * QUEUED -> WAITING_FOR_RESOURCES -> INITIALIZING -> RUNNING -> {SUCCEEDED|FAILED|ABORTED|TIMED_OUT}
19
+ *
20
+ * @generated from enum flyteidl2.common.ActionPhase
21
+ */
22
+ export enum ActionPhase {
23
+ /**
24
+ * Default/unknown phase
25
+ *
26
+ * @generated from enum value: ACTION_PHASE_UNSPECIFIED = 0;
27
+ */
28
+ UNSPECIFIED = 0,
29
+
30
+ /**
31
+ * Action has been accepted and is waiting to be scheduled
32
+ *
33
+ * @generated from enum value: ACTION_PHASE_QUEUED = 1;
34
+ */
35
+ QUEUED = 1,
36
+
37
+ /**
38
+ * Action is scheduled but waiting for compute resources to become available
39
+ *
40
+ * @generated from enum value: ACTION_PHASE_WAITING_FOR_RESOURCES = 2;
41
+ */
42
+ WAITING_FOR_RESOURCES = 2,
43
+
44
+ /**
45
+ * Resources have been allocated and the action is being set up
46
+ *
47
+ * @generated from enum value: ACTION_PHASE_INITIALIZING = 3;
48
+ */
49
+ INITIALIZING = 3,
50
+
51
+ /**
52
+ * Action is actively executing
53
+ *
54
+ * @generated from enum value: ACTION_PHASE_RUNNING = 4;
55
+ */
56
+ RUNNING = 4,
57
+
58
+ /**
59
+ * Action completed successfully
60
+ *
61
+ * @generated from enum value: ACTION_PHASE_SUCCEEDED = 5;
62
+ */
63
+ SUCCEEDED = 5,
64
+
65
+ /**
66
+ * Action failed during execution
67
+ *
68
+ * @generated from enum value: ACTION_PHASE_FAILED = 6;
69
+ */
70
+ FAILED = 6,
71
+
72
+ /**
73
+ * Action was manually terminated or cancelled
74
+ *
75
+ * @generated from enum value: ACTION_PHASE_ABORTED = 7;
76
+ */
77
+ ABORTED = 7,
78
+
79
+ /**
80
+ * Action exceeded its execution time limit
81
+ *
82
+ * @generated from enum value: ACTION_PHASE_TIMED_OUT = 8;
83
+ */
84
+ TIMED_OUT = 8,
85
+ }
86
+
87
+ /**
88
+ * Describes the enum flyteidl2.common.ActionPhase.
89
+ */
90
+ export const ActionPhaseSchema: GenEnum<ActionPhase> = /*@__PURE__*/
91
+ enumDesc(file_flyteidl2_common_phase, 0);
92
+