@flyteorg/flyteidl2 2.0.16 → 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.
- package/flyteidl2/actions/actions_service_pb.ts +36 -74
- package/flyteidl2/app/app_definition_pb.ts +185 -24
- package/flyteidl2/app/app_logs_payload_pb.ts +18 -2
- package/flyteidl2/app/app_payload_pb.ts +90 -12
- package/flyteidl2/artifact/artifact_pb.ts +271 -0
- package/flyteidl2/artifact/artifact_service_pb.ts +378 -0
- package/flyteidl2/cluster/payload_pb.ts +44 -2
- package/flyteidl2/common/cache_pb.ts +37 -0
- package/flyteidl2/common/list_pb.ts +22 -2
- package/flyteidl2/common/phase_pb.ts +11 -1
- package/flyteidl2/common/run_pb.ts +89 -3
- package/flyteidl2/core/artifact_id_pb.ts +112 -11
- package/flyteidl2/core/execution_pb.ts +190 -15
- package/flyteidl2/core/literals_pb.ts +14 -1
- package/flyteidl2/core/tasks_pb.ts +170 -14
- package/flyteidl2/dataproxy/dataproxy_service_pb.ts +76 -5
- package/flyteidl2/imagebuilder/definition_pb.ts +22 -1
- package/flyteidl2/logs/dataplane/payload_pb.ts +66 -2
- package/flyteidl2/notification/definition_pb.ts +58 -7
- package/flyteidl2/plugins/clustered_pb.ts +232 -0
- package/flyteidl2/plugins/ray_pb.ts +104 -7
- package/flyteidl2/settings/settings_definition_pb.ts +52 -41
- package/flyteidl2/task/common_pb.ts +131 -6
- package/flyteidl2/task/run_pb.ts +157 -9
- package/flyteidl2/task/task_definition_pb.ts +25 -4
- package/flyteidl2/task/task_service_pb.ts +18 -2
- package/flyteidl2/trigger/trigger_definition_pb.ts +26 -5
- package/flyteidl2/workflow/internal_run_service_pb.ts +37 -1
- package/flyteidl2/workflow/run_definition_pb.ts +219 -16
- package/flyteidl2/workflow/run_info_pb.ts +30 -1
- package/flyteidl2/workflow/run_service_pb.ts +703 -12
- package/flyteidl2/workflow/tracked_run_service_pb.ts +368 -0
- package/flyteidl2/workflow/translator_service_pb.ts +43 -2
- package/package.json +2 -2
|
@@ -17,7 +17,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
17
17
|
* Describes the file flyteidl2/app/app_payload.proto.
|
|
18
18
|
*/
|
|
19
19
|
export const file_flyteidl2_app_app_payload: GenFile = /*@__PURE__*/
|
|
20
|
-
fileDesc("
|
|
20
|
+
fileDesc("Ch9mbHl0ZWlkbDIvYXBwL2FwcF9wYXlsb2FkLnByb3RvEg1mbHl0ZWlkbDIuYXBwIjgKDUNyZWF0ZVJlcXVlc3QSJwoDYXBwGAEgASgLMhIuZmx5dGVpZGwyLmFwcC5BcHBCBrpIA8gBASIxCg5DcmVhdGVSZXNwb25zZRIfCgNhcHAYASABKAsyEi5mbHl0ZWlkbDIuYXBwLkFwcCJ5CgpHZXRSZXF1ZXN0EisKBmFwcF9pZBgBIAEoCzIZLmZseXRlaWRsMi5hcHAuSWRlbnRpZmllckgAEikKB2luZ3Jlc3MYAiABKAsyFi5mbHl0ZWlkbDIuYXBwLkluZ3Jlc3NIAEITCgppZGVudGlmaWVyEgW6SAIIASIuCgtHZXRSZXNwb25zZRIfCgNhcHAYASABKAsyEi5mbHl0ZWlkbDIuYXBwLkFwcCJRCg1VcGRhdGVSZXF1ZXN0EicKA2FwcBgBIAEoCzISLmZseXRlaWRsMi5hcHAuQXBwQga6SAPIAQESFwoGcmVhc29uGAIgASgJQge6SARyAhhkIjEKDlVwZGF0ZVJlc3BvbnNlEh8KA2FwcBgBIAEoCzISLmZseXRlaWRsMi5hcHAuQXBwIkIKDURlbGV0ZVJlcXVlc3QSMQoGYXBwX2lkGAEgASgLMhkuZmx5dGVpZGwyLmFwcC5JZGVudGlmaWVyQga6SAPIAQEiEAoORGVsZXRlUmVzcG9uc2UicwoWQ29uc3VtZWRBcnRpZmFjdEZpbHRlchIYCgdwcm9qZWN0GAEgASgJQge6SARyAhABEhcKBmRvbWFpbhgCIAEoCUIHukgEcgIQARIVCgRuYW1lGAMgASgJQge6SARy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RlaWRsMi5hcHAuQXBwIi4KC0RlbGV0ZUV2ZW50Eh8KA2FwcBgBIAEoCzISLmZseXRlaWRsMi5hcHAuQXBwIrQBCg1XYXRjaFJlc3BvbnNlEjIKDGNyZWF0ZV9ldmVudBgBIAEoCzIaLmZseXRlaWRsMi5hcHAuQ3JlYXRlRXZlbnRIABIyCgx1cGRhdGVfZXZlbnQYAiABKAsyGi5mbHl0ZWlkbDIuYXBwLlVwZGF0ZUV2ZW50SAASMgoMZGVsZXRlX2V2ZW50GAMgASgLMhouZmx5dGVpZGwyLmFwcC5EZWxldGVFdmVudEgAQgcKBWV2ZW50Ij4KE1VwZGF0ZVN0YXR1c1JlcXVlc3QSJwoDYXBwGAEgASgLMhIuZmx5dGVpZGwyLmFwcC5BcHBCBrpIA8gBASI3ChRVcGRhdGVTdGF0dXNSZXNwb25zZRIfCgNhcHAYASABKAsyEi5mbHl0ZWlkbDIuYXBwLkFwcCJHCgxMZWFzZVJlcXVlc3QSNwoCaWQYASABKAsyIy5mbHl0ZWlkbDIuY29tbW9uLkNsdXN0ZXJJZGVudGlmaWVyQga6SAPIAQEiMQoNTGVhc2VSZXNwb25zZRIgCgRhcHBzGAEgAygLMhIuZmx5dGVpZGwyLmFwcC5BcHBCrgEKEWNvbS5mbHl0ZWlkbDIuYXBwQg9BcHBQYXlsb2FkUHJvdG9IAlABWjFnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvYXBwogIDRkFYqgINRmx5dGVpZGwyLkFwcMoCDUZseXRlaWRsMlxBcHDiAhlGbHl0ZWlkbDJcQXBwXEdQQk1ldGFkYXRh6gIORmx5dGVpZGwyOjpBcHBiBnByb3RvMw", [file_buf_validate_validate, file_flyteidl2_app_app_definition, file_flyteidl2_common_identifier, file_flyteidl2_common_list]);
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Request message for creating an app.
|
|
@@ -202,6 +202,49 @@ export type DeleteResponse = Message<"flyteidl2.app.DeleteResponse"> & {
|
|
|
202
202
|
export const DeleteResponseSchema: GenMessage<DeleteResponse> = /*@__PURE__*/
|
|
203
203
|
messageDesc(file_flyteidl2_app_app_payload, 7);
|
|
204
204
|
|
|
205
|
+
/**
|
|
206
|
+
* Filter for apps whose spec inputs reference the given artifact.
|
|
207
|
+
* The artifact org is taken from the caller's organization.
|
|
208
|
+
*
|
|
209
|
+
* @generated from message flyteidl2.app.ConsumedArtifactFilter
|
|
210
|
+
*/
|
|
211
|
+
export type ConsumedArtifactFilter = Message<"flyteidl2.app.ConsumedArtifactFilter"> & {
|
|
212
|
+
/**
|
|
213
|
+
* Project of the artifact.
|
|
214
|
+
*
|
|
215
|
+
* @generated from field: string project = 1;
|
|
216
|
+
*/
|
|
217
|
+
project: string;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Domain of the artifact.
|
|
221
|
+
*
|
|
222
|
+
* @generated from field: string domain = 2;
|
|
223
|
+
*/
|
|
224
|
+
domain: string;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Name of the artifact.
|
|
228
|
+
*
|
|
229
|
+
* @generated from field: string name = 3;
|
|
230
|
+
*/
|
|
231
|
+
name: string;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Exact artifact version. Empty matches any version.
|
|
235
|
+
*
|
|
236
|
+
* @generated from field: string version = 4;
|
|
237
|
+
*/
|
|
238
|
+
version: string;
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Describes the message flyteidl2.app.ConsumedArtifactFilter.
|
|
243
|
+
* Use `create(ConsumedArtifactFilterSchema)` to create a new message.
|
|
244
|
+
*/
|
|
245
|
+
export const ConsumedArtifactFilterSchema: GenMessage<ConsumedArtifactFilter> = /*@__PURE__*/
|
|
246
|
+
messageDesc(file_flyteidl2_app_app_payload, 8);
|
|
247
|
+
|
|
205
248
|
/**
|
|
206
249
|
* Request message for listing apps.
|
|
207
250
|
*
|
|
@@ -242,7 +285,34 @@ export type ListRequest = Message<"flyteidl2.app.ListRequest"> & {
|
|
|
242
285
|
*/
|
|
243
286
|
value: ProjectIdentifier;
|
|
244
287
|
case: "project";
|
|
288
|
+
} | {
|
|
289
|
+
/**
|
|
290
|
+
* Apps consuming the given artifact as an input.
|
|
291
|
+
*
|
|
292
|
+
* @generated from field: flyteidl2.app.ConsumedArtifactFilter artifact = 7;
|
|
293
|
+
*/
|
|
294
|
+
value: ConsumedArtifactFilter;
|
|
295
|
+
case: "artifact";
|
|
245
296
|
} | { case: undefined; value?: undefined };
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Disable caller identity enrichment in the response.
|
|
300
|
+
*
|
|
301
|
+
* @generated from field: bool disable_identity_enrichment = 5;
|
|
302
|
+
*/
|
|
303
|
+
disableIdentityEnrichment: boolean;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Include the total number of apps matching the request's filters in the response.
|
|
307
|
+
* May be set on any request, including any page of a paginated listing. The count
|
|
308
|
+
* reflects state at the time the request is served and may change between pages, so
|
|
309
|
+
* a client that needs an up-to-date total can request it again on a later page.
|
|
310
|
+
* This performs an additional count query, so leave it unset when the total is not
|
|
311
|
+
* needed.
|
|
312
|
+
*
|
|
313
|
+
* @generated from field: bool include_total_count = 6;
|
|
314
|
+
*/
|
|
315
|
+
includeTotalCount: boolean;
|
|
246
316
|
};
|
|
247
317
|
|
|
248
318
|
/**
|
|
@@ -250,7 +320,7 @@ export type ListRequest = Message<"flyteidl2.app.ListRequest"> & {
|
|
|
250
320
|
* Use `create(ListRequestSchema)` to create a new message.
|
|
251
321
|
*/
|
|
252
322
|
export const ListRequestSchema: GenMessage<ListRequest> = /*@__PURE__*/
|
|
253
|
-
messageDesc(file_flyteidl2_app_app_payload,
|
|
323
|
+
messageDesc(file_flyteidl2_app_app_payload, 9);
|
|
254
324
|
|
|
255
325
|
/**
|
|
256
326
|
* Response message for listing apps.
|
|
@@ -271,6 +341,14 @@ export type ListResponse = Message<"flyteidl2.app.ListResponse"> & {
|
|
|
271
341
|
* @generated from field: string token = 2;
|
|
272
342
|
*/
|
|
273
343
|
token: string;
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Total number of apps matching the request's filters, ignoring pagination.
|
|
347
|
+
* Only populated when include_total_count is set on the request.
|
|
348
|
+
*
|
|
349
|
+
* @generated from field: int64 total_count = 3;
|
|
350
|
+
*/
|
|
351
|
+
totalCount: bigint;
|
|
274
352
|
};
|
|
275
353
|
|
|
276
354
|
/**
|
|
@@ -278,7 +356,7 @@ export type ListResponse = Message<"flyteidl2.app.ListResponse"> & {
|
|
|
278
356
|
* Use `create(ListResponseSchema)` to create a new message.
|
|
279
357
|
*/
|
|
280
358
|
export const ListResponseSchema: GenMessage<ListResponse> = /*@__PURE__*/
|
|
281
|
-
messageDesc(file_flyteidl2_app_app_payload,
|
|
359
|
+
messageDesc(file_flyteidl2_app_app_payload, 10);
|
|
282
360
|
|
|
283
361
|
/**
|
|
284
362
|
* Request message for watching app events.
|
|
@@ -329,7 +407,7 @@ export type WatchRequest = Message<"flyteidl2.app.WatchRequest"> & {
|
|
|
329
407
|
* Use `create(WatchRequestSchema)` to create a new message.
|
|
330
408
|
*/
|
|
331
409
|
export const WatchRequestSchema: GenMessage<WatchRequest> = /*@__PURE__*/
|
|
332
|
-
messageDesc(file_flyteidl2_app_app_payload,
|
|
410
|
+
messageDesc(file_flyteidl2_app_app_payload, 11);
|
|
333
411
|
|
|
334
412
|
/**
|
|
335
413
|
* Event message for app creation.
|
|
@@ -350,7 +428,7 @@ export type CreateEvent = Message<"flyteidl2.app.CreateEvent"> & {
|
|
|
350
428
|
* Use `create(CreateEventSchema)` to create a new message.
|
|
351
429
|
*/
|
|
352
430
|
export const CreateEventSchema: GenMessage<CreateEvent> = /*@__PURE__*/
|
|
353
|
-
messageDesc(file_flyteidl2_app_app_payload,
|
|
431
|
+
messageDesc(file_flyteidl2_app_app_payload, 12);
|
|
354
432
|
|
|
355
433
|
/**
|
|
356
434
|
* Event message for app update.
|
|
@@ -378,7 +456,7 @@ export type UpdateEvent = Message<"flyteidl2.app.UpdateEvent"> & {
|
|
|
378
456
|
* Use `create(UpdateEventSchema)` to create a new message.
|
|
379
457
|
*/
|
|
380
458
|
export const UpdateEventSchema: GenMessage<UpdateEvent> = /*@__PURE__*/
|
|
381
|
-
messageDesc(file_flyteidl2_app_app_payload,
|
|
459
|
+
messageDesc(file_flyteidl2_app_app_payload, 13);
|
|
382
460
|
|
|
383
461
|
/**
|
|
384
462
|
* Event message for app deletion.
|
|
@@ -399,7 +477,7 @@ export type DeleteEvent = Message<"flyteidl2.app.DeleteEvent"> & {
|
|
|
399
477
|
* Use `create(DeleteEventSchema)` to create a new message.
|
|
400
478
|
*/
|
|
401
479
|
export const DeleteEventSchema: GenMessage<DeleteEvent> = /*@__PURE__*/
|
|
402
|
-
messageDesc(file_flyteidl2_app_app_payload,
|
|
480
|
+
messageDesc(file_flyteidl2_app_app_payload, 14);
|
|
403
481
|
|
|
404
482
|
/**
|
|
405
483
|
* Response message for watching app events.
|
|
@@ -442,7 +520,7 @@ export type WatchResponse = Message<"flyteidl2.app.WatchResponse"> & {
|
|
|
442
520
|
* Use `create(WatchResponseSchema)` to create a new message.
|
|
443
521
|
*/
|
|
444
522
|
export const WatchResponseSchema: GenMessage<WatchResponse> = /*@__PURE__*/
|
|
445
|
-
messageDesc(file_flyteidl2_app_app_payload,
|
|
523
|
+
messageDesc(file_flyteidl2_app_app_payload, 15);
|
|
446
524
|
|
|
447
525
|
/**
|
|
448
526
|
* Request message for updating app status.
|
|
@@ -463,7 +541,7 @@ export type UpdateStatusRequest = Message<"flyteidl2.app.UpdateStatusRequest"> &
|
|
|
463
541
|
* Use `create(UpdateStatusRequestSchema)` to create a new message.
|
|
464
542
|
*/
|
|
465
543
|
export const UpdateStatusRequestSchema: GenMessage<UpdateStatusRequest> = /*@__PURE__*/
|
|
466
|
-
messageDesc(file_flyteidl2_app_app_payload,
|
|
544
|
+
messageDesc(file_flyteidl2_app_app_payload, 16);
|
|
467
545
|
|
|
468
546
|
/**
|
|
469
547
|
* Response message for updating app status.
|
|
@@ -484,7 +562,7 @@ export type UpdateStatusResponse = Message<"flyteidl2.app.UpdateStatusResponse">
|
|
|
484
562
|
* Use `create(UpdateStatusResponseSchema)` to create a new message.
|
|
485
563
|
*/
|
|
486
564
|
export const UpdateStatusResponseSchema: GenMessage<UpdateStatusResponse> = /*@__PURE__*/
|
|
487
|
-
messageDesc(file_flyteidl2_app_app_payload,
|
|
565
|
+
messageDesc(file_flyteidl2_app_app_payload, 17);
|
|
488
566
|
|
|
489
567
|
/**
|
|
490
568
|
* Request message for leasing apps.
|
|
@@ -505,7 +583,7 @@ export type LeaseRequest = Message<"flyteidl2.app.LeaseRequest"> & {
|
|
|
505
583
|
* Use `create(LeaseRequestSchema)` to create a new message.
|
|
506
584
|
*/
|
|
507
585
|
export const LeaseRequestSchema: GenMessage<LeaseRequest> = /*@__PURE__*/
|
|
508
|
-
messageDesc(file_flyteidl2_app_app_payload,
|
|
586
|
+
messageDesc(file_flyteidl2_app_app_payload, 18);
|
|
509
587
|
|
|
510
588
|
/**
|
|
511
589
|
* Response message for leasing apps.
|
|
@@ -526,5 +604,5 @@ export type LeaseResponse = Message<"flyteidl2.app.LeaseResponse"> & {
|
|
|
526
604
|
* Use `create(LeaseResponseSchema)` to create a new message.
|
|
527
605
|
*/
|
|
528
606
|
export const LeaseResponseSchema: GenMessage<LeaseResponse> = /*@__PURE__*/
|
|
529
|
-
messageDesc(file_flyteidl2_app_app_payload,
|
|
607
|
+
messageDesc(file_flyteidl2_app_app_payload, 19);
|
|
530
608
|
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/artifact/artifact.proto (package flyteidl2.artifact, 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 { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { ActionIdentifier } 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 { ArtifactInfo } from "../core/artifact_id_pb.ts";
|
|
13
|
+
import { file_flyteidl2_core_artifact_id } from "../core/artifact_id_pb.ts";
|
|
14
|
+
import type { Literal } from "../core/literals_pb.ts";
|
|
15
|
+
import { file_flyteidl2_core_literals } from "../core/literals_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 { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
19
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
20
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Describes the file flyteidl2/artifact/artifact.proto.
|
|
24
|
+
*/
|
|
25
|
+
export const file_flyteidl2_artifact_artifact: GenFile = /*@__PURE__*/
|
|
26
|
+
fileDesc("CiFmbHl0ZWlkbDIvYXJ0aWZhY3QvYXJ0aWZhY3QucHJvdG8SEmZseXRlaWRsMi5hcnRpZmFjdCJ1CgxBcnRpZmFjdE5hbWUSFAoDb3JnGAEgASgJQge6SARyAhg/EhoKB3Byb2plY3QYAiABKAlCCbpIBnIEEAEYQBIZCgZkb21haW4YAyABKAlCCbpIBnIEEAEYQBIYCgRuYW1lGAQgASgJQgq6SAdyBRABGP8BImkKEkFydGlmYWN0SWRlbnRpZmllchI2CgRuYW1lGAEgASgLMiAuZmx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dpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9hcnRpZmFjdKICA0ZBWKoCEkZseXRlaWRsMi5BcnRpZmFjdMoCEkZseXRlaWRsMlxBcnRpZmFjdOICHkZseXRlaWRsMlxBcnRpZmFjdFxHUEJNZXRhZGF0YeoCE0ZseXRlaWRsMjo6QXJ0aWZhY3RiBnByb3RvMw", [file_buf_validate_validate, file_flyteidl2_common_identifier, file_flyteidl2_common_identity, file_flyteidl2_core_artifact_id, file_flyteidl2_core_literals, file_flyteidl2_core_types, file_google_protobuf_timestamp]);
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Identifies an artifact name within an org, project and domain.
|
|
30
|
+
*
|
|
31
|
+
* @generated from message flyteidl2.artifact.ArtifactName
|
|
32
|
+
*/
|
|
33
|
+
export type ArtifactName = Message<"flyteidl2.artifact.ArtifactName"> & {
|
|
34
|
+
/**
|
|
35
|
+
* Org this artifact belongs to. Stamped by the server from the caller's
|
|
36
|
+
* identity; clients may leave this empty.
|
|
37
|
+
*
|
|
38
|
+
* @generated from field: string org = 1;
|
|
39
|
+
*/
|
|
40
|
+
org: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Project this artifact belongs to.
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: string project = 2;
|
|
46
|
+
*/
|
|
47
|
+
project: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Domain this artifact belongs to.
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: string domain = 3;
|
|
53
|
+
*/
|
|
54
|
+
domain: string;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Unique name of the artifact within org/project/domain.
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: string name = 4;
|
|
60
|
+
*/
|
|
61
|
+
name: string;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message flyteidl2.artifact.ArtifactName.
|
|
66
|
+
* Use `create(ArtifactNameSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export const ArtifactNameSchema: GenMessage<ArtifactName> = /*@__PURE__*/
|
|
69
|
+
messageDesc(file_flyteidl2_artifact_artifact, 0);
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Fully qualified identifier of a single artifact version.
|
|
73
|
+
*
|
|
74
|
+
* @generated from message flyteidl2.artifact.ArtifactIdentifier
|
|
75
|
+
*/
|
|
76
|
+
export type ArtifactIdentifier = Message<"flyteidl2.artifact.ArtifactIdentifier"> & {
|
|
77
|
+
/**
|
|
78
|
+
* @generated from field: flyteidl2.artifact.ArtifactName name = 1;
|
|
79
|
+
*/
|
|
80
|
+
name?: ArtifactName;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Version of the artifact.
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: string version = 2;
|
|
86
|
+
*/
|
|
87
|
+
version: string;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Describes the message flyteidl2.artifact.ArtifactIdentifier.
|
|
92
|
+
* Use `create(ArtifactIdentifierSchema)` to create a new message.
|
|
93
|
+
*/
|
|
94
|
+
export const ArtifactIdentifierSchema: GenMessage<ArtifactIdentifier> = /*@__PURE__*/
|
|
95
|
+
messageDesc(file_flyteidl2_artifact_artifact, 1);
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* The task action attempt that produced an artifact. A dedicated message
|
|
99
|
+
* (rather than common.ActionAttemptIdentifier) because producing attempts are
|
|
100
|
+
* 0-based while that identifier validates attempt > 0.
|
|
101
|
+
*
|
|
102
|
+
* @generated from message flyteidl2.artifact.TaskActionSource
|
|
103
|
+
*/
|
|
104
|
+
export type TaskActionSource = Message<"flyteidl2.artifact.TaskActionSource"> & {
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: flyteidl2.common.ActionIdentifier action = 1;
|
|
107
|
+
*/
|
|
108
|
+
action?: ActionIdentifier;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Attempt of the producing action; retries are distinct provenance.
|
|
112
|
+
*
|
|
113
|
+
* @generated from field: uint32 attempt = 2;
|
|
114
|
+
*/
|
|
115
|
+
attempt: number;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Describes the message flyteidl2.artifact.TaskActionSource.
|
|
120
|
+
* Use `create(TaskActionSourceSchema)` to create a new message.
|
|
121
|
+
*/
|
|
122
|
+
export const TaskActionSourceSchema: GenMessage<TaskActionSource> = /*@__PURE__*/
|
|
123
|
+
messageDesc(file_flyteidl2_artifact_artifact, 2);
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Provenance of an artifact: what produced it. An unset oneof means the
|
|
127
|
+
* artifact was created manually (e.g. published from a laptop) with no
|
|
128
|
+
* specific origin.
|
|
129
|
+
*
|
|
130
|
+
* @generated from message flyteidl2.artifact.ArtifactSource
|
|
131
|
+
*/
|
|
132
|
+
export type ArtifactSource = Message<"flyteidl2.artifact.ArtifactSource"> & {
|
|
133
|
+
/**
|
|
134
|
+
* @generated from oneof flyteidl2.artifact.ArtifactSource.source
|
|
135
|
+
*/
|
|
136
|
+
source: {
|
|
137
|
+
/**
|
|
138
|
+
* The task action that produced this artifact, for artifacts published
|
|
139
|
+
* from inside a running task or extracted by the backend from task
|
|
140
|
+
* outputs.
|
|
141
|
+
*
|
|
142
|
+
* @generated from field: flyteidl2.artifact.TaskActionSource task_action = 1;
|
|
143
|
+
*/
|
|
144
|
+
value: TaskActionSource;
|
|
145
|
+
case: "taskAction";
|
|
146
|
+
} | {
|
|
147
|
+
/**
|
|
148
|
+
* Opaque reference into an external system (a URI, model id, dataset id,
|
|
149
|
+
* ticket, ...) for artifacts imported from outside Flyte.
|
|
150
|
+
*
|
|
151
|
+
* @generated from field: string external_ref = 2;
|
|
152
|
+
*/
|
|
153
|
+
value: string;
|
|
154
|
+
case: "externalRef";
|
|
155
|
+
} | { case: undefined; value?: undefined };
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Describes the message flyteidl2.artifact.ArtifactSource.
|
|
160
|
+
* Use `create(ArtifactSourceSchema)` to create a new message.
|
|
161
|
+
*/
|
|
162
|
+
export const ArtifactSourceSchema: GenMessage<ArtifactSource> = /*@__PURE__*/
|
|
163
|
+
messageDesc(file_flyteidl2_artifact_artifact, 3);
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* User-provided specification of an artifact.
|
|
167
|
+
*
|
|
168
|
+
* @generated from message flyteidl2.artifact.ArtifactSpec
|
|
169
|
+
*/
|
|
170
|
+
export type ArtifactSpec = Message<"flyteidl2.artifact.ArtifactSpec"> & {
|
|
171
|
+
/**
|
|
172
|
+
* The typed value of the artifact. Offloaded data (files, directories,
|
|
173
|
+
* dataframes) must already reside in blob storage; the literal references
|
|
174
|
+
* it by uri.
|
|
175
|
+
*
|
|
176
|
+
* @generated from field: flyteidl2.core.Literal value = 1;
|
|
177
|
+
*/
|
|
178
|
+
value?: Literal;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* The Flyte type of the value.
|
|
182
|
+
*
|
|
183
|
+
* @generated from field: flyteidl2.core.LiteralType type = 2;
|
|
184
|
+
*/
|
|
185
|
+
type?: LiteralType;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Descriptive payload (description, user metadata, card). Shared with the
|
|
189
|
+
* production declaration (task.ProducedArtifact.info), so task-produced
|
|
190
|
+
* artifacts carry it verbatim.
|
|
191
|
+
*
|
|
192
|
+
* @generated from field: flyteidl2.core.ArtifactInfo info = 3;
|
|
193
|
+
*/
|
|
194
|
+
info?: ArtifactInfo;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Optional provenance: what produced this artifact. Clients (including the
|
|
198
|
+
* SDK, which stamps this automatically when publishing from inside a
|
|
199
|
+
* running task) declare it at creation time; it is immutable afterwards.
|
|
200
|
+
*
|
|
201
|
+
* @generated from field: flyteidl2.artifact.ArtifactSource source = 6;
|
|
202
|
+
*/
|
|
203
|
+
source?: ArtifactSource;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Optional lineage: the version of THIS artifact (same org/project/domain/
|
|
207
|
+
* name) that this version was derived from. Empty means no declared parent,
|
|
208
|
+
* which is the normal case for a first version or an independently produced
|
|
209
|
+
* one.
|
|
210
|
+
*
|
|
211
|
+
* Recording the parent explicitly is what makes version history a forest
|
|
212
|
+
* rather than a chain: a new version may branch off any earlier version, not
|
|
213
|
+
* just the most recently created one, so two versions derived from the same
|
|
214
|
+
* ancestor are siblings rather than one appearing to descend from the other.
|
|
215
|
+
*
|
|
216
|
+
* Stored as given and never resolved: the referenced version is not required
|
|
217
|
+
* to exist (publication order is not guaranteed), so readers walking lineage
|
|
218
|
+
* must tolerate a dangling parent. Immutable after creation.
|
|
219
|
+
*
|
|
220
|
+
* @generated from field: string parent_version = 7;
|
|
221
|
+
*/
|
|
222
|
+
parentVersion: string;
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Describes the message flyteidl2.artifact.ArtifactSpec.
|
|
227
|
+
* Use `create(ArtifactSpecSchema)` to create a new message.
|
|
228
|
+
*/
|
|
229
|
+
export const ArtifactSpecSchema: GenMessage<ArtifactSpec> = /*@__PURE__*/
|
|
230
|
+
messageDesc(file_flyteidl2_artifact_artifact, 4);
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* A fully materialized artifact as stored by the service.
|
|
234
|
+
*
|
|
235
|
+
* @generated from message flyteidl2.artifact.Artifact
|
|
236
|
+
*/
|
|
237
|
+
export type Artifact = Message<"flyteidl2.artifact.Artifact"> & {
|
|
238
|
+
/**
|
|
239
|
+
* @generated from field: flyteidl2.artifact.ArtifactIdentifier artifact_id = 1;
|
|
240
|
+
*/
|
|
241
|
+
artifactId?: ArtifactIdentifier;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* @generated from field: flyteidl2.artifact.ArtifactSpec spec = 2;
|
|
245
|
+
*/
|
|
246
|
+
spec?: ArtifactSpec;
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Time at which the artifact was created.
|
|
250
|
+
*
|
|
251
|
+
* @generated from field: google.protobuf.Timestamp created_at = 3;
|
|
252
|
+
*/
|
|
253
|
+
createdAt?: Timestamp;
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Identity that created the artifact. Persisted subject-stripped; services
|
|
257
|
+
* re-enrich via the identity cache when serving (same convention as
|
|
258
|
+
* workflow.ActionMetadata.executed_by).
|
|
259
|
+
*
|
|
260
|
+
* @generated from field: flyteidl2.common.EnrichedIdentity created_by = 4;
|
|
261
|
+
*/
|
|
262
|
+
createdBy?: EnrichedIdentity;
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Describes the message flyteidl2.artifact.Artifact.
|
|
267
|
+
* Use `create(ArtifactSchema)` to create a new message.
|
|
268
|
+
*/
|
|
269
|
+
export const ArtifactSchema: GenMessage<Artifact> = /*@__PURE__*/
|
|
270
|
+
messageDesc(file_flyteidl2_artifact_artifact, 5);
|
|
271
|
+
|