@flyteorg/flyteidl2 2.0.15 → 2.0.46

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 (35) hide show
  1. package/flyteidl2/actions/actions_service_pb.ts +36 -74
  2. package/flyteidl2/app/app_definition_pb.ts +185 -24
  3. package/flyteidl2/app/app_logs_payload_pb.ts +18 -2
  4. package/flyteidl2/app/app_payload_pb.ts +90 -12
  5. package/flyteidl2/artifact/artifact_pb.ts +271 -0
  6. package/flyteidl2/artifact/artifact_service_pb.ts +378 -0
  7. package/flyteidl2/cluster/payload_pb.ts +61 -2
  8. package/flyteidl2/common/cache_pb.ts +37 -0
  9. package/flyteidl2/common/identifier_pb.ts +38 -16
  10. package/flyteidl2/common/list_pb.ts +22 -2
  11. package/flyteidl2/common/phase_pb.ts +11 -1
  12. package/flyteidl2/common/run_pb.ts +89 -3
  13. package/flyteidl2/core/artifact_id_pb.ts +112 -11
  14. package/flyteidl2/core/execution_pb.ts +190 -15
  15. package/flyteidl2/core/literals_pb.ts +14 -1
  16. package/flyteidl2/core/tasks_pb.ts +170 -14
  17. package/flyteidl2/dataproxy/dataproxy_service_pb.ts +76 -5
  18. package/flyteidl2/imagebuilder/definition_pb.ts +22 -1
  19. package/flyteidl2/logs/dataplane/payload_pb.ts +66 -2
  20. package/flyteidl2/notification/definition_pb.ts +58 -7
  21. package/flyteidl2/plugins/clustered_pb.ts +232 -0
  22. package/flyteidl2/plugins/ray_pb.ts +104 -7
  23. package/flyteidl2/settings/settings_definition_pb.ts +52 -41
  24. package/flyteidl2/task/common_pb.ts +131 -6
  25. package/flyteidl2/task/run_pb.ts +157 -9
  26. package/flyteidl2/task/task_definition_pb.ts +25 -4
  27. package/flyteidl2/task/task_service_pb.ts +18 -2
  28. package/flyteidl2/trigger/trigger_definition_pb.ts +26 -5
  29. package/flyteidl2/workflow/internal_run_service_pb.ts +37 -1
  30. package/flyteidl2/workflow/run_definition_pb.ts +219 -16
  31. package/flyteidl2/workflow/run_info_pb.ts +30 -1
  32. package/flyteidl2/workflow/run_service_pb.ts +703 -12
  33. package/flyteidl2/workflow/tracked_run_service_pb.ts +368 -0
  34. package/flyteidl2/workflow/translator_service_pb.ts +43 -2
  35. package/package.json +2 -2
@@ -0,0 +1,378 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/artifact/artifact_service.proto (package flyteidl2.artifact, 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 { Artifact, ArtifactIdentifier, ArtifactName, ArtifactSpec } from "./artifact_pb.ts";
9
+ import { file_flyteidl2_artifact_artifact } from "./artifact_pb.ts";
10
+ import type { ProjectIdentifier } from "../common/identifier_pb.ts";
11
+ import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
12
+ import type { ListRequest } from "../common/list_pb.ts";
13
+ import { file_flyteidl2_common_list } from "../common/list_pb.ts";
14
+ import type { Message } from "@bufbuild/protobuf";
15
+
16
+ /**
17
+ * Describes the file flyteidl2/artifact/artifact_service.proto.
18
+ */
19
+ export const file_flyteidl2_artifact_artifact_service: GenFile = /*@__PURE__*/
20
+ fileDesc("CilmbHl0ZWlkbDIvYXJ0aWZhY3QvYXJ0aWZhY3Rfc2VydmljZS5wcm90bxISZmx5dGVpZGwyLmFydGlmYWN0IpQBChVDcmVhdGVBcnRpZmFjdFJlcXVlc3QSQwoLYXJ0aWZhY3RfaWQYASABKAsyJi5mbHl0ZWlkbDIuYXJ0aWZhY3QuQXJ0aWZhY3RJZGVudGlmaWVyQga6SAPIAQESNgoEc3BlYxgCIAEoCzIgLmZseXRlaWRsMi5hcnRpZmFjdC5BcnRpZmFjdFNwZWNCBrpIA8gBASJIChZDcm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DkAIBQtEBChZjb20uZmx5dGVpZGwyLmFydGlmYWN0QhRBcnRpZmFjdFNlcnZpY2VQcm90b0gCUAFaNmdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9hcnRpZmFjdKICA0ZBWKoCEkZseXRlaWRsMi5BcnRpZmFjdMoCEkZseXRlaWRsMlxBcnRpZmFjdOICHkZseXRlaWRsMlxBcnRpZmFjdFxHUEJNZXRhZGF0YeoCE0ZseXRlaWRsMjo6QXJ0aWZhY3RiBnByb3RvMw", [file_buf_validate_validate, file_flyteidl2_artifact_artifact, file_flyteidl2_common_identifier, file_flyteidl2_common_list]);
21
+
22
+ /**
23
+ * request message for creating an artifact.
24
+ *
25
+ * @generated from message flyteidl2.artifact.CreateArtifactRequest
26
+ */
27
+ export type CreateArtifactRequest = Message<"flyteidl2.artifact.CreateArtifactRequest"> & {
28
+ /**
29
+ * Fully qualified id (name + version) for the new artifact version.
30
+ *
31
+ * @generated from field: flyteidl2.artifact.ArtifactIdentifier artifact_id = 1;
32
+ */
33
+ artifactId?: ArtifactIdentifier;
34
+
35
+ /**
36
+ * Specification of the artifact.
37
+ *
38
+ * @generated from field: flyteidl2.artifact.ArtifactSpec spec = 2;
39
+ */
40
+ spec?: ArtifactSpec;
41
+ };
42
+
43
+ /**
44
+ * Describes the message flyteidl2.artifact.CreateArtifactRequest.
45
+ * Use `create(CreateArtifactRequestSchema)` to create a new message.
46
+ */
47
+ export const CreateArtifactRequestSchema: GenMessage<CreateArtifactRequest> = /*@__PURE__*/
48
+ messageDesc(file_flyteidl2_artifact_artifact_service, 0);
49
+
50
+ /**
51
+ * response message for creating an artifact.
52
+ *
53
+ * @generated from message flyteidl2.artifact.CreateArtifactResponse
54
+ */
55
+ export type CreateArtifactResponse = Message<"flyteidl2.artifact.CreateArtifactResponse"> & {
56
+ /**
57
+ * The artifact as persisted.
58
+ *
59
+ * @generated from field: flyteidl2.artifact.Artifact artifact = 1;
60
+ */
61
+ artifact?: Artifact;
62
+ };
63
+
64
+ /**
65
+ * Describes the message flyteidl2.artifact.CreateArtifactResponse.
66
+ * Use `create(CreateArtifactResponseSchema)` to create a new message.
67
+ */
68
+ export const CreateArtifactResponseSchema: GenMessage<CreateArtifactResponse> = /*@__PURE__*/
69
+ messageDesc(file_flyteidl2_artifact_artifact_service, 1);
70
+
71
+ /**
72
+ * request message for getting an artifact.
73
+ *
74
+ * @generated from message flyteidl2.artifact.GetArtifactRequest
75
+ */
76
+ export type GetArtifactRequest = Message<"flyteidl2.artifact.GetArtifactRequest"> & {
77
+ /**
78
+ * Name of the artifact.
79
+ *
80
+ * @generated from field: flyteidl2.artifact.ArtifactName name = 1;
81
+ */
82
+ name?: ArtifactName;
83
+
84
+ /**
85
+ * Version to fetch. When unset or set to "latest", the most recently
86
+ * created version is returned.
87
+ *
88
+ * @generated from field: optional string version = 2;
89
+ */
90
+ version?: string;
91
+ };
92
+
93
+ /**
94
+ * Describes the message flyteidl2.artifact.GetArtifactRequest.
95
+ * Use `create(GetArtifactRequestSchema)` to create a new message.
96
+ */
97
+ export const GetArtifactRequestSchema: GenMessage<GetArtifactRequest> = /*@__PURE__*/
98
+ messageDesc(file_flyteidl2_artifact_artifact_service, 2);
99
+
100
+ /**
101
+ * response message for getting an artifact.
102
+ *
103
+ * @generated from message flyteidl2.artifact.GetArtifactResponse
104
+ */
105
+ export type GetArtifactResponse = Message<"flyteidl2.artifact.GetArtifactResponse"> & {
106
+ /**
107
+ * @generated from field: flyteidl2.artifact.Artifact artifact = 1;
108
+ */
109
+ artifact?: Artifact;
110
+ };
111
+
112
+ /**
113
+ * Describes the message flyteidl2.artifact.GetArtifactResponse.
114
+ * Use `create(GetArtifactResponseSchema)` to create a new message.
115
+ */
116
+ export const GetArtifactResponseSchema: GenMessage<GetArtifactResponse> = /*@__PURE__*/
117
+ messageDesc(file_flyteidl2_artifact_artifact_service, 3);
118
+
119
+ /**
120
+ * request message for listing artifacts.
121
+ *
122
+ * @generated from message flyteidl2.artifact.ListArtifactsRequest
123
+ */
124
+ export type ListArtifactsRequest = Message<"flyteidl2.artifact.ListArtifactsRequest"> & {
125
+ /**
126
+ * Common list request parameters (limit, token, filters).
127
+ * Supported filters: field "name" with CONTAINS,
128
+ * field "created_at" with GREATER_THAN (RFC3339 timestamp value),
129
+ * field "parent_version" with EQUAL, which lists the versions that declare
130
+ * the given version as their parent — the downward direction of lineage,
131
+ * which the stored pointer alone cannot be followed in. Because a parent
132
+ * version is only unique within one artifact name, that filter requires
133
+ * `name` below to be set.
134
+ *
135
+ * @generated from field: flyteidl2.common.ListRequest request = 1;
136
+ */
137
+ request?: ListRequest;
138
+
139
+ /**
140
+ * Project scope for the listing. organization is stamped by the server.
141
+ *
142
+ * @generated from field: flyteidl2.common.ProjectIdentifier project_id = 2;
143
+ */
144
+ projectId?: ProjectIdentifier;
145
+
146
+ /**
147
+ * Optional exact name; when set, lists all versions of that artifact,
148
+ * newest first.
149
+ *
150
+ * @generated from field: optional string name = 3;
151
+ */
152
+ name?: string;
153
+ };
154
+
155
+ /**
156
+ * Describes the message flyteidl2.artifact.ListArtifactsRequest.
157
+ * Use `create(ListArtifactsRequestSchema)` to create a new message.
158
+ */
159
+ export const ListArtifactsRequestSchema: GenMessage<ListArtifactsRequest> = /*@__PURE__*/
160
+ messageDesc(file_flyteidl2_artifact_artifact_service, 4);
161
+
162
+ /**
163
+ * response message for listing artifacts.
164
+ *
165
+ * @generated from message flyteidl2.artifact.ListArtifactsResponse
166
+ */
167
+ export type ListArtifactsResponse = Message<"flyteidl2.artifact.ListArtifactsResponse"> & {
168
+ /**
169
+ * @generated from field: repeated flyteidl2.artifact.Artifact artifacts = 1;
170
+ */
171
+ artifacts: Artifact[];
172
+
173
+ /**
174
+ * Pagination token for the next page; empty when exhausted.
175
+ *
176
+ * @generated from field: string token = 2;
177
+ */
178
+ token: string;
179
+ };
180
+
181
+ /**
182
+ * Describes the message flyteidl2.artifact.ListArtifactsResponse.
183
+ * Use `create(ListArtifactsResponseSchema)` to create a new message.
184
+ */
185
+ export const ListArtifactsResponseSchema: GenMessage<ListArtifactsResponse> = /*@__PURE__*/
186
+ messageDesc(file_flyteidl2_artifact_artifact_service, 5);
187
+
188
+ /**
189
+ * request message for listing distinct artifact names.
190
+ *
191
+ * @generated from message flyteidl2.artifact.ListArtifactNamesRequest
192
+ */
193
+ export type ListArtifactNamesRequest = Message<"flyteidl2.artifact.ListArtifactNamesRequest"> & {
194
+ /**
195
+ * Common list request parameters (limit, token, filters).
196
+ * Supported filters: field "name" with CONTAINS.
197
+ *
198
+ * @generated from field: flyteidl2.common.ListRequest request = 1;
199
+ */
200
+ request?: ListRequest;
201
+
202
+ /**
203
+ * Project scope for the listing. organization is stamped by the server.
204
+ *
205
+ * @generated from field: flyteidl2.common.ProjectIdentifier project_id = 2;
206
+ */
207
+ projectId?: ProjectIdentifier;
208
+ };
209
+
210
+ /**
211
+ * Describes the message flyteidl2.artifact.ListArtifactNamesRequest.
212
+ * Use `create(ListArtifactNamesRequestSchema)` to create a new message.
213
+ */
214
+ export const ListArtifactNamesRequestSchema: GenMessage<ListArtifactNamesRequest> = /*@__PURE__*/
215
+ messageDesc(file_flyteidl2_artifact_artifact_service, 6);
216
+
217
+ /**
218
+ * One distinct artifact name: the latest version's full record plus the
219
+ * total number of versions published under the name.
220
+ *
221
+ * @generated from message flyteidl2.artifact.ArtifactGroup
222
+ */
223
+ export type ArtifactGroup = Message<"flyteidl2.artifact.ArtifactGroup"> & {
224
+ /**
225
+ * The most recently created version of the artifact.
226
+ *
227
+ * @generated from field: flyteidl2.artifact.Artifact latest = 1;
228
+ */
229
+ latest?: Artifact;
230
+
231
+ /**
232
+ * Total number of versions published under this name.
233
+ *
234
+ * @generated from field: uint64 versions = 2;
235
+ */
236
+ versions: bigint;
237
+ };
238
+
239
+ /**
240
+ * Describes the message flyteidl2.artifact.ArtifactGroup.
241
+ * Use `create(ArtifactGroupSchema)` to create a new message.
242
+ */
243
+ export const ArtifactGroupSchema: GenMessage<ArtifactGroup> = /*@__PURE__*/
244
+ messageDesc(file_flyteidl2_artifact_artifact_service, 7);
245
+
246
+ /**
247
+ * response message for listing distinct artifact names.
248
+ *
249
+ * @generated from message flyteidl2.artifact.ListArtifactNamesResponse
250
+ */
251
+ export type ListArtifactNamesResponse = Message<"flyteidl2.artifact.ListArtifactNamesResponse"> & {
252
+ /**
253
+ * @generated from field: repeated flyteidl2.artifact.ArtifactGroup groups = 1;
254
+ */
255
+ groups: ArtifactGroup[];
256
+
257
+ /**
258
+ * Pagination token for the next page; empty when exhausted.
259
+ *
260
+ * @generated from field: string token = 2;
261
+ */
262
+ token: string;
263
+ };
264
+
265
+ /**
266
+ * Describes the message flyteidl2.artifact.ListArtifactNamesResponse.
267
+ * Use `create(ListArtifactNamesResponseSchema)` to create a new message.
268
+ */
269
+ export const ListArtifactNamesResponseSchema: GenMessage<ListArtifactNamesResponse> = /*@__PURE__*/
270
+ messageDesc(file_flyteidl2_artifact_artifact_service, 8);
271
+
272
+ /**
273
+ * request message for listing distinct user_metadata keys.
274
+ *
275
+ * @generated from message flyteidl2.artifact.ListArtifactMetadataKeysRequest
276
+ */
277
+ export type ListArtifactMetadataKeysRequest = Message<"flyteidl2.artifact.ListArtifactMetadataKeysRequest"> & {
278
+ /**
279
+ * Project scope for the listing. organization is stamped by the server.
280
+ *
281
+ * @generated from field: flyteidl2.common.ProjectIdentifier project_id = 1;
282
+ */
283
+ projectId?: ProjectIdentifier;
284
+ };
285
+
286
+ /**
287
+ * Describes the message flyteidl2.artifact.ListArtifactMetadataKeysRequest.
288
+ * Use `create(ListArtifactMetadataKeysRequestSchema)` to create a new message.
289
+ */
290
+ export const ListArtifactMetadataKeysRequestSchema: GenMessage<ListArtifactMetadataKeysRequest> = /*@__PURE__*/
291
+ messageDesc(file_flyteidl2_artifact_artifact_service, 9);
292
+
293
+ /**
294
+ * response message for listing distinct user_metadata keys.
295
+ *
296
+ * @generated from message flyteidl2.artifact.ListArtifactMetadataKeysResponse
297
+ */
298
+ export type ListArtifactMetadataKeysResponse = Message<"flyteidl2.artifact.ListArtifactMetadataKeysResponse"> & {
299
+ /**
300
+ * Sorted, deduplicated keys. Capped server-side; reflects a recent window of
301
+ * artifacts, so keys only present on older versions may be absent.
302
+ *
303
+ * @generated from field: repeated string keys = 1;
304
+ */
305
+ keys: string[];
306
+ };
307
+
308
+ /**
309
+ * Describes the message flyteidl2.artifact.ListArtifactMetadataKeysResponse.
310
+ * Use `create(ListArtifactMetadataKeysResponseSchema)` to create a new message.
311
+ */
312
+ export const ListArtifactMetadataKeysResponseSchema: GenMessage<ListArtifactMetadataKeysResponse> = /*@__PURE__*/
313
+ messageDesc(file_flyteidl2_artifact_artifact_service, 10);
314
+
315
+ /**
316
+ * ArtifactService provides a minimal interface for publishing and retrieving
317
+ * typed artifacts.
318
+ *
319
+ * @generated from service flyteidl2.artifact.ArtifactService
320
+ */
321
+ export const ArtifactService: GenService<{
322
+ /**
323
+ * Create a new artifact version.
324
+ *
325
+ * @generated from rpc flyteidl2.artifact.ArtifactService.CreateArtifact
326
+ */
327
+ createArtifact: {
328
+ methodKind: "unary";
329
+ input: typeof CreateArtifactRequestSchema;
330
+ output: typeof CreateArtifactResponseSchema;
331
+ },
332
+ /**
333
+ * Get a single artifact by name and version.
334
+ *
335
+ * @generated from rpc flyteidl2.artifact.ArtifactService.GetArtifact
336
+ */
337
+ getArtifact: {
338
+ methodKind: "unary";
339
+ input: typeof GetArtifactRequestSchema;
340
+ output: typeof GetArtifactResponseSchema;
341
+ },
342
+ /**
343
+ * List artifacts within a project, optionally filtered by name.
344
+ *
345
+ * @generated from rpc flyteidl2.artifact.ArtifactService.ListArtifacts
346
+ */
347
+ listArtifacts: {
348
+ methodKind: "unary";
349
+ input: typeof ListArtifactsRequestSchema;
350
+ output: typeof ListArtifactsResponseSchema;
351
+ },
352
+ /**
353
+ * List distinct artifact names within a project, one entry per name carrying
354
+ * the latest version's full record and the total version count. Ordered by
355
+ * the latest version's creation time, newest first.
356
+ *
357
+ * @generated from rpc flyteidl2.artifact.ArtifactService.ListArtifactNames
358
+ */
359
+ listArtifactNames: {
360
+ methodKind: "unary";
361
+ input: typeof ListArtifactNamesRequestSchema;
362
+ output: typeof ListArtifactNamesResponseSchema;
363
+ },
364
+ /**
365
+ * List the distinct user_metadata keys seen on recently created artifacts
366
+ * within a project, for filter suggestions. Keys only, never values; the
367
+ * set is sorted, capped, and may be served from a short-lived cache.
368
+ *
369
+ * @generated from rpc flyteidl2.artifact.ArtifactService.ListArtifactMetadataKeys
370
+ */
371
+ listArtifactMetadataKeys: {
372
+ methodKind: "unary";
373
+ input: typeof ListArtifactMetadataKeysRequestSchema;
374
+ output: typeof ListArtifactMetadataKeysResponseSchema;
375
+ },
376
+ }> = /*@__PURE__*/
377
+ serviceDesc(file_flyteidl2_artifact_artifact_service, 0);
378
+
@@ -7,7 +7,7 @@ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
7
7
  import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
8
8
  import type { Identifier } from "../app/app_definition_pb.ts";
9
9
  import { file_flyteidl2_app_app_definition } from "../app/app_definition_pb.ts";
10
- import type { ActionAttemptIdentifier, ActionIdentifier, OrgIdentifier, ProjectIdentifier } from "../common/identifier_pb.ts";
10
+ import type { ActionAttemptIdentifier, ActionIdentifier, ClusterIdentifier, ClusterPoolIdentifier, DomainIdentifier, OrgIdentifier, ProjectIdentifier } from "../common/identifier_pb.ts";
11
11
  import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
12
12
  import type { TaskIdentifier } from "../task/task_definition_pb.ts";
13
13
  import { file_flyteidl2_task_task_definition } from "../task/task_definition_pb.ts";
@@ -17,7 +17,7 @@ import type { Message } from "@bufbuild/protobuf";
17
17
  * Describes the file flyteidl2/cluster/payload.proto.
18
18
  */
19
19
  export const file_flyteidl2_cluster_payload: GenFile = /*@__PURE__*/
20
- fileDesc("Ch9mbHl0ZWlkbDIvY2x1c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cG9pbnQYASABKAlCwwEKFWNvbS5mbHl0ZWlkbDIuY2x1c3RlckIMUGF5bG9hZFByb3RvSAJQAVo1Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL2NsdXN0ZXKiAgNGQ1iqAhFGbHl0ZWlkbDIuQ2x1c3RlcsoCEUZseXRlaWRsMlxDbHVzdGVy4gIdRmx5dGVpZGwyXENsdXN0ZXJcR1BCTWV0YWRhdGHqAhJGbHl0ZWlkbDI6OkNsdXN0ZXJiBnByb3RvMw", [file_buf_validate_validate, file_flyteidl2_app_app_definition, file_flyteidl2_common_identifier, file_flyteidl2_task_task_definition]);
20
+ fileDesc("Ch9mbHl0ZWlkbDIvY2x1c3Rlci9wYXlsb2FkLnByb3RvEhFmbHl0ZWlkbDIuY2x1c3RlciKpCAoUU2VsZWN0Q2x1c3RlclJlcXVlc3QSMQoGb3JnX2lkGAEgASgLMh8uZmx5dGVpZGwyLmNvbW1vbi5PcmdJZGVudGlmaWVySAASOQoKcHJvamVjdF9pZBgCIAEoCzIjLmZseXRlaWRsMi5jb21tb24uUHJvamVjdElkZW50aWZpZXJIABIxCgd0YXNrX2lkGAMgASgLMh4uZmx5dGVpZGwyLnRhc2suVGFza0lkZW50aWZpZXJIABI3CglhY3Rpb25faWQYBCABKAsyIi5mbHl0ZWlkbDIuY29tbW9uLkFjdGlvbklkZW50aWZpZXJIABJGChFhY3Rpb25fYXR0ZW1wdF9pZBgFIAEoCzIpLmZseXRlaWRsMi5jb21tb24uQWN0aW9uQXR0ZW1wdElkZW50aWZpZXJIABIrCgZhcHBfaWQYBiABKAsyGS5mbHl0ZWlkbDIuYXBwLklkZW50aWZpZXJIABJCCg9jbHVzdGVyX3Bvb2xfaWQYByABKAsyJy5mbHl0ZWlkbDIuY29tbW9uLkNsdXN0ZXJQb29sSWRlbnRpZmllckgAEjcKCWRvbWFpbl9pZBgJIAEoCzIiLmZseXRlaWRsMi5jb21tb24uRG9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LKAhFGbHl0ZWlkbDJcQ2x1c3RlcuICHUZseXRlaWRsMlxDbHVzdGVyXEdQQk1ldGFkYXRh6gISRmx5dGVpZGwyOjpDbHVzdGVyYgZwcm90bzM", [file_buf_validate_validate, file_flyteidl2_app_app_definition, file_flyteidl2_common_identifier, file_flyteidl2_task_task_definition]);
21
21
 
22
22
  /**
23
23
  * @generated from message flyteidl2.cluster.SelectClusterRequest
@@ -62,6 +62,27 @@ export type SelectClusterRequest = Message<"flyteidl2.cluster.SelectClusterReque
62
62
  */
63
63
  value: Identifier;
64
64
  case: "appId";
65
+ } | {
66
+ /**
67
+ * @generated from field: flyteidl2.common.ClusterPoolIdentifier cluster_pool_id = 7;
68
+ */
69
+ value: ClusterPoolIdentifier;
70
+ case: "clusterPoolId";
71
+ } | {
72
+ /**
73
+ * @generated from field: flyteidl2.common.DomainIdentifier domain_id = 9;
74
+ */
75
+ value: DomainIdentifier;
76
+ case: "domainId";
77
+ } | {
78
+ /**
79
+ * Names the cluster directly. this is for callers that already know
80
+ * the cluster and have nothing else to resolve from.
81
+ *
82
+ * @generated from field: flyteidl2.common.ClusterIdentifier cluster_id = 10;
83
+ */
84
+ value: ClusterIdentifier;
85
+ case: "clusterId";
65
86
  } | { case: undefined; value?: undefined };
66
87
 
67
88
  /**
@@ -120,6 +141,35 @@ export enum SelectClusterRequest_Operation {
120
141
  * @generated from enum value: OPERATION_GET_ACTION_ATTEMPT_METRICS = 7;
121
142
  */
122
143
  GET_ACTION_ATTEMPT_METRICS = 7,
144
+
145
+ /**
146
+ * @generated from enum value: OPERATION_USE_SECRETS = 8;
147
+ */
148
+ USE_SECRETS = 8,
149
+
150
+ /**
151
+ * @generated from enum value: OPERATION_UPLOAD_TRIGGER = 9;
152
+ */
153
+ UPLOAD_TRIGGER = 9,
154
+
155
+ /**
156
+ * @generated from enum value: OPERATION_GET_IMAGE = 10;
157
+ */
158
+ GET_IMAGE = 10,
159
+
160
+ /**
161
+ * Data operations (uploads/reads/download links) for tracked runs. Routes to a dataplane
162
+ * only when the org's clusters are all directly reachable (zero trust); otherwise the
163
+ * server answers with its own endpoint and serves these from control-plane storage.
164
+ *
165
+ * @generated from enum value: OPERATION_TRACKED_RUN_DATA = 11;
166
+ */
167
+ TRACKED_RUN_DATA = 11,
168
+
169
+ /**
170
+ * @generated from enum value: OPERATION_GET_CLUSTER_CONFIG = 12;
171
+ */
172
+ GET_CLUSTER_CONFIG = 12,
123
173
  }
124
174
 
125
175
  /**
@@ -136,6 +186,15 @@ export type SelectClusterResponse = Message<"flyteidl2.cluster.SelectClusterResp
136
186
  * @generated from field: string cluster_endpoint = 1;
137
187
  */
138
188
  clusterEndpoint: string;
189
+
190
+ /**
191
+ * Name of the cluster the endpoint belongs to. Empty when the request was routed to the
192
+ * control plane's own endpoint. Clients that persist where an artifact was written (e.g.
193
+ * tracked-run reporters stamping the attempt's cluster) use this to make reads routable later.
194
+ *
195
+ * @generated from field: string cluster = 2;
196
+ */
197
+ cluster: string;
139
198
  };
140
199
 
141
200
  /**
@@ -0,0 +1,37 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/common/cache.proto (package flyteidl2.common, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import type { ActionAttemptIdentifier } from "./identifier_pb.ts";
8
+ import { file_flyteidl2_common_identifier } from "./identifier_pb.ts";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file flyteidl2/common/cache.proto.
13
+ */
14
+ export const file_flyteidl2_common_cache: GenFile = /*@__PURE__*/
15
+ fileDesc("ChxmbHl0ZWlkbDIvY29tbW9uL2NhY2hlLnByb3RvEhBmbHl0ZWlkbDIuY29tbW9uIlkKDUNhY2hlTWV0YWRhdGESSAoVc291cmNlX2FjdGlvbl9hdHRlbXB0GAEgASgLMikuZmx5dGVpZGwyLmNvbW1vbi5BY3Rpb25BdHRlbXB0SWRlbnRpZmllckK7AQoUY29tLmZseXRlaWRsMi5jb21tb25CCkNhY2hlUHJvdG9IAlABWjRnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvY29tbW9uogIDRkNYqgIQRmx5dGVpZGwyLkNvbW1vbsoCEEZseXRlaWRsMlxDb21tb27iAhxGbHl0ZWlkbDJcQ29tbW9uXEdQQk1ldGFkYXRh6gIRRmx5dGVpZGwyOjpDb21tb25iBnByb3RvMw", [file_flyteidl2_common_identifier]);
16
+
17
+ /**
18
+ * Metadata associated with a cache operation.
19
+ *
20
+ * @generated from message flyteidl2.common.CacheMetadata
21
+ */
22
+ export type CacheMetadata = Message<"flyteidl2.common.CacheMetadata"> & {
23
+ /**
24
+ * The action attempt that produced the cached outputs.
25
+ *
26
+ * @generated from field: flyteidl2.common.ActionAttemptIdentifier source_action_attempt = 1;
27
+ */
28
+ sourceActionAttempt?: ActionAttemptIdentifier;
29
+ };
30
+
31
+ /**
32
+ * Describes the message flyteidl2.common.CacheMetadata.
33
+ * Use `create(CacheMetadataSchema)` to create a new message.
34
+ */
35
+ export const CacheMetadataSchema: GenMessage<CacheMetadata> = /*@__PURE__*/
36
+ messageDesc(file_flyteidl2_common_cache, 0);
37
+