@flyteorg/flyteidl2 2.0.8 → 2.0.14
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 +70 -1
- package/flyteidl2/auth/auth_service_pb.ts +9 -2
- package/flyteidl2/cluster/payload_pb.ts +147 -0
- package/flyteidl2/cluster/service_pb.ts +30 -0
- package/flyteidl2/common/phase_pb.ts +9 -1
- package/flyteidl2/common/run_pb.ts +39 -0
- package/flyteidl2/core/execution_pb.ts +112 -11
- package/flyteidl2/core/literals_pb.ts +103 -4
- package/flyteidl2/core/tasks_pb.ts +29 -3
- package/flyteidl2/dataproxy/dataproxy_service_pb.ts +407 -5
- package/flyteidl2/notification/definition_pb.ts +81 -16
- package/flyteidl2/settings/settings_definition_pb.ts +535 -0
- package/flyteidl2/settings/settings_service_pb.ts +301 -0
- package/flyteidl2/task/task_service_pb.ts +9 -1
- package/flyteidl2/workflow/queue_service_pb.ts +1 -2
- package/flyteidl2/workflow/run_definition_pb.ts +105 -90
- package/flyteidl2/workflow/run_info_pb.ts +59 -0
- package/flyteidl2/workflow/run_logs_service_pb.ts +4 -1
- package/flyteidl2/workflow/run_service_pb.ts +161 -19
- package/flyteidl2/workflow/state_service_pb.ts +10 -1
- package/package.json +1 -1
- package/flyteidl2/core/errors_pb.ts +0 -104
|
@@ -7,6 +7,8 @@ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1
|
|
|
7
7
|
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
8
|
import type { ActionIdentifier } from "../common/identifier_pb.ts";
|
|
9
9
|
import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
|
|
10
|
+
import type { Literal } from "../core/literals_pb.ts";
|
|
11
|
+
import { file_flyteidl2_core_literals } from "../core/literals_pb.ts";
|
|
10
12
|
import type { RunSpec } from "../task/run_pb.ts";
|
|
11
13
|
import { file_flyteidl2_task_run } from "../task/run_pb.ts";
|
|
12
14
|
import type { ActionStatus, ConditionAction, TaskAction, TraceAction } from "../workflow/run_definition_pb.ts";
|
|
@@ -19,7 +21,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
19
21
|
* Describes the file flyteidl2/actions/actions_service.proto.
|
|
20
22
|
*/
|
|
21
23
|
export const file_flyteidl2_actions_actions_service: GenFile = /*@__PURE__*/
|
|
22
|
-
fileDesc("
|
|
24
|
+
fileDesc("CidmbHl0ZWlkbDIvYWN0aW9ucy9hY3Rpb25zX3NlcnZpY2UucHJvdG8SEWZseXRlaWRsMi5hY3Rpb25zIogDCgZBY3Rpb24SPQoJYWN0aW9uX2lkGAEgASgLMiIuZmx5dGVpZGwyLmNvbW1vbi5BY3Rpb25JZGVudGlmaWVyQga6SAPIAQESHwoScGFyZW50X2FjdGlvbl9uYW1lGAIgASgJSAGIAQESGgoJaW5wdXRfdXJpGAMgASgJQge6SARyAhABEiAKD3J1bl9vdXRwdXRfYmFzZRgEIAEoCUIHukgEcgIQARINCgVncm91cBgFIAEoCRIPCgdzdWJqZWN0GAYgASgJEi4KBHRhc2sYByABKAsyHi5mbHl0ZWlkbDIud29ya2Zsb3cuVGFza0FjdGlvbkgAEjAKBXRyYWNlGAggASgLMh8uZmx5dGVpZGwyLndvcmtmbG93LlRyYWNlQWN0aW9uSAASOAoJY29uZGl0aW9uGAkgASgLMiMuZmx5dGVpZGwyLndvcmtmbG93LkNvbmRpdGlvbkFjdGlvbkgAQg0KBHNwZWMSBbpIAggBQhUKE19wYXJlbnRfYWN0aW9uX25hbWUibgoORW5xdWV1ZVJlcXVlc3QSMQoGYWN0aW9uGAEgASgLMhkuZmx5dGVpZGwyLmFjdGlvbnMuQWN0aW9uQga6SAPIAQESKQoIcnVuX3NwZWMYAiABKAsyFy5mbHl0ZWlkbDIudGFzay5SdW5TcGVjIhEKD0VucXVldWVSZXNwb25zZSKxAQoNVXBkYXRlUmVxdWVzdBI9CglhY3Rpb25faWQYASABKAsyIi5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QWN0aW9uc8oCEUZseXRlaWRsMlxBY3Rpb25z4gIdRmx5dGVpZGwyXEFjdGlvbnNcR1BCTWV0YWRhdGHqAhJGbHl0ZWlkbDI6OkFjdGlvbnNiBnByb3RvMw", [file_buf_validate_validate, file_flyteidl2_common_identifier, file_flyteidl2_core_literals, file_flyteidl2_task_run, file_flyteidl2_workflow_run_definition, file_flyteidl2_workflow_state_service]);
|
|
23
25
|
|
|
24
26
|
/**
|
|
25
27
|
* Action represents a unit of work to be executed. Theses can be task executions, traces, or conditions.
|
|
@@ -364,6 +366,58 @@ export type AbortResponse = Message<"flyteidl2.actions.AbortResponse"> & {
|
|
|
364
366
|
export const AbortResponseSchema: GenMessage<AbortResponse> = /*@__PURE__*/
|
|
365
367
|
messageDesc(file_flyteidl2_actions_actions_service, 10);
|
|
366
368
|
|
|
369
|
+
/**
|
|
370
|
+
* SignalRequest is the request message for resolving a condition action.
|
|
371
|
+
*
|
|
372
|
+
* @generated from message flyteidl2.actions.SignalRequest
|
|
373
|
+
*/
|
|
374
|
+
export type SignalRequest = Message<"flyteidl2.actions.SignalRequest"> & {
|
|
375
|
+
/**
|
|
376
|
+
* The unique identifier for the condition action to signal.
|
|
377
|
+
*
|
|
378
|
+
* @generated from field: flyteidl2.common.ActionIdentifier action_id = 1;
|
|
379
|
+
*/
|
|
380
|
+
actionId?: ActionIdentifier;
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* The name of the parent action that owns this condition. Required for
|
|
384
|
+
* state store lookup and partition routing in the middleware.
|
|
385
|
+
*
|
|
386
|
+
* @generated from field: string parent_action_name = 2;
|
|
387
|
+
*/
|
|
388
|
+
parentActionName: string;
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* The value literal to signal the condition with. Must match the
|
|
392
|
+
* ConditionAction.type declared at enqueue time.
|
|
393
|
+
*
|
|
394
|
+
* @generated from field: flyteidl2.core.Literal value = 3;
|
|
395
|
+
*/
|
|
396
|
+
value?: Literal;
|
|
397
|
+
};
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Describes the message flyteidl2.actions.SignalRequest.
|
|
401
|
+
* Use `create(SignalRequestSchema)` to create a new message.
|
|
402
|
+
*/
|
|
403
|
+
export const SignalRequestSchema: GenMessage<SignalRequest> = /*@__PURE__*/
|
|
404
|
+
messageDesc(file_flyteidl2_actions_actions_service, 11);
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* SignalResponse is the response message for resolving a condition action.
|
|
408
|
+
*
|
|
409
|
+
* @generated from message flyteidl2.actions.SignalResponse
|
|
410
|
+
*/
|
|
411
|
+
export type SignalResponse = Message<"flyteidl2.actions.SignalResponse"> & {
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* Describes the message flyteidl2.actions.SignalResponse.
|
|
416
|
+
* Use `create(SignalResponseSchema)` to create a new message.
|
|
417
|
+
*/
|
|
418
|
+
export const SignalResponseSchema: GenMessage<SignalResponse> = /*@__PURE__*/
|
|
419
|
+
messageDesc(file_flyteidl2_actions_actions_service, 12);
|
|
420
|
+
|
|
367
421
|
/**
|
|
368
422
|
* ActionsService provides an interface for managing the state and execution of actions.
|
|
369
423
|
* This service is intended to replace StateService and QueueService, providing a single interface for managing both
|
|
@@ -426,6 +480,21 @@ export const ActionsService: GenService<{
|
|
|
426
480
|
input: typeof AbortRequestSchema;
|
|
427
481
|
output: typeof AbortResponseSchema;
|
|
428
482
|
},
|
|
483
|
+
/**
|
|
484
|
+
* Signal resolves a ConditionAction by providing its signal value.
|
|
485
|
+
* On success, transitions the condition to SUCCEEDED with the provided
|
|
486
|
+
* value as its output.
|
|
487
|
+
* Returns FAILED_PRECONDITION if the action is not a condition or is
|
|
488
|
+
* already terminal. Returns NOT_FOUND if the action does not exist.
|
|
489
|
+
* Returns ABORTED if the action has a write in-flight (retry).
|
|
490
|
+
*
|
|
491
|
+
* @generated from rpc flyteidl2.actions.ActionsService.Signal
|
|
492
|
+
*/
|
|
493
|
+
signal: {
|
|
494
|
+
methodKind: "unary";
|
|
495
|
+
input: typeof SignalRequestSchema;
|
|
496
|
+
output: typeof SignalResponseSchema;
|
|
497
|
+
},
|
|
429
498
|
}> = /*@__PURE__*/
|
|
430
499
|
serviceDesc(file_flyteidl2_actions_actions_service, 0);
|
|
431
500
|
|
|
@@ -10,7 +10,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
10
10
|
* Describes the file flyteidl2/auth/auth_service.proto.
|
|
11
11
|
*/
|
|
12
12
|
export const file_flyteidl2_auth_auth_service: GenFile = /*@__PURE__*/
|
|
13
|
-
fileDesc("
|
|
13
|
+
fileDesc("CiFmbHl0ZWlkbDIvYXV0aC9hdXRoX3NlcnZpY2UucHJvdG8SDmZseXRlaWRsMi5hdXRoIhoKGEdldE9BdXRoMk1ldGFkYXRhUmVxdWVzdCLQAgoZR2V0T0F1dGgyTWV0YWRhdGFSZXNwb25zZRIOCgZpc3N1ZXIYASABKAkSHgoWYXV0aG9yaXphdGlvbl9lbmRwb2ludBgCIAEoCRIWCg50b2tlbl9lbmRwb2ludBgDIAEoCRIgChhyZXNwb25zZV90eXBlc19zdXBwb3J0ZWQYBCADKAkSGAoQc2NvcGVzX3N1cHBvcnRlZBgFIAMoCRItCiV0b2tlbl9lbmRwb2ludF9hdXRoX21ldGhvZHNfc3VwcG9ydGVkGAYgAygJEhAKCGp3a3NfdXJpGAcgASgJEigKIGNvZGVfY2hhbGxlbmdlX21ldGhvZHNfc3VwcG9ydGVkGAggAygJEh0KFWdyYW50X3R5cGVzX3N1cHBvcnRlZBgJIAMoCRIlCh1kZXZpY2VfYXV0aG9yaXphdGlvbl9lbmRwb2ludBgKIAEoCSIeChxHZXRQdWJsaWNDbGllbnRDb25maWdSZXF1ZXN0IscBCh1HZXRQdWJsaWNDbGllbnRDb25maWdSZXNwb25zZRIRCgljbGllbnRfaWQYASABKAkSFAoMcmVkaXJlY3RfdXJpGAIgASgJEg4KBnNjb3BlcxgDIAMoCRIiChphdXRob3JpemF0aW9uX21ldGFkYXRhX2tleRgEIAEoCRIdChVzZXJ2aWNlX2h0dHBfZW5kcG9pbnQYBSABKAkSEAoIYXVkaWVuY2UYBiABKAkSGAoQZGF0YXBsYW5lX2RvbWFpbhgHIAEoCTL/AQoTQXV0aE1ldGFkYXRhU2VydmljZRJtChFHZXRPQXV0aDJNZXRhZGF0YRIoLmZseXRlaWRsMi5hdXRoLkdldE9BdXRoMk1ldGFkYXRhUmVxdWVzdBopLmZseXRlaWRsMi5hdXRoLkdldE9BdXRoMk1ldGFkYXRhUmVzcG9uc2UiA5ACARJ5ChVHZXRQdWJsaWNDbGllbnRDb25maWcSLC5mbHl0ZWlkbDIuYXV0aC5HZXRQdWJsaWNDbGllbnRDb25maWdSZXF1ZXN0Gi0uZmx5dGVpZGwyLmF1dGguR2V0UHVibGljQ2xpZW50Q29uZmlnUmVzcG9uc2UiA5ACAUK1AQoSY29tLmZseXRlaWRsMi5hdXRoQhBBdXRoU2VydmljZVByb3RvSAJQAVoyZ2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL2F1dGiiAgNGQViqAg5GbHl0ZWlkbDIuQXV0aMoCDkZseXRlaWRsMlxBdXRo4gIaRmx5dGVpZGwyXEF1dGhcR1BCTWV0YWRhdGHqAg9GbHl0ZWlkbDI6OkF1dGhiBnByb3RvMw");
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @generated from message flyteidl2.auth.GetOAuth2MetadataRequest
|
|
@@ -128,7 +128,7 @@ export const GetPublicClientConfigRequestSchema: GenMessage<GetPublicClientConfi
|
|
|
128
128
|
messageDesc(file_flyteidl2_auth_auth_service, 2);
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
*
|
|
131
|
+
* GetPublicClientConfigResponse encapsulates public information that flyte clients (CLIs... etc.) can use to authenticate users.
|
|
132
132
|
*
|
|
133
133
|
* @generated from message flyteidl2.auth.GetPublicClientConfigResponse
|
|
134
134
|
*/
|
|
@@ -177,6 +177,13 @@ export type GetPublicClientConfigResponse = Message<"flyteidl2.auth.GetPublicCli
|
|
|
177
177
|
* @generated from field: string audience = 6;
|
|
178
178
|
*/
|
|
179
179
|
audience: string;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Returns the endpoint to use for dataplane specific operations.
|
|
183
|
+
*
|
|
184
|
+
* @generated from field: string dataplane_domain = 7;
|
|
185
|
+
*/
|
|
186
|
+
dataplaneDomain: string;
|
|
180
187
|
};
|
|
181
188
|
|
|
182
189
|
/**
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/cluster/payload.proto (package flyteidl2.cluster, 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 { Identifier } from "../app/app_definition_pb.ts";
|
|
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";
|
|
11
|
+
import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
|
|
12
|
+
import type { TaskIdentifier } from "../task/task_definition_pb.ts";
|
|
13
|
+
import { file_flyteidl2_task_task_definition } from "../task/task_definition_pb.ts";
|
|
14
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Describes the file flyteidl2/cluster/payload.proto.
|
|
18
|
+
*/
|
|
19
|
+
export const file_flyteidl2_cluster_payload: GenFile = /*@__PURE__*/
|
|
20
|
+
fileDesc("Ch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hgKEGNsdXN0ZXJfZW5kcG9pbnQYASABKAlCwwEKFWNvbS5mbHl0ZWlkbDIuY2x1c3RlckIMUGF5bG9hZFByb3RvSAJQAVo1Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL2NsdXN0ZXKiAgNGQ1iqAhFGbHl0ZWlkbDIuQ2x1c3RlcsoCEUZseXRlaWRsMlxDbHVzdGVy4gIdRmx5dGVpZGwyXENsdXN0ZXJcR1BCTWV0YWRhdGHqAhJGbHl0ZWlkbDI6OkNsdXN0ZXJiBnByb3RvMw", [file_buf_validate_validate, file_flyteidl2_app_app_definition, file_flyteidl2_common_identifier, file_flyteidl2_task_task_definition]);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @generated from message flyteidl2.cluster.SelectClusterRequest
|
|
24
|
+
*/
|
|
25
|
+
export type SelectClusterRequest = Message<"flyteidl2.cluster.SelectClusterRequest"> & {
|
|
26
|
+
/**
|
|
27
|
+
* @generated from oneof flyteidl2.cluster.SelectClusterRequest.resource
|
|
28
|
+
*/
|
|
29
|
+
resource: {
|
|
30
|
+
/**
|
|
31
|
+
* @generated from field: flyteidl2.common.OrgIdentifier org_id = 1;
|
|
32
|
+
*/
|
|
33
|
+
value: OrgIdentifier;
|
|
34
|
+
case: "orgId";
|
|
35
|
+
} | {
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: flyteidl2.common.ProjectIdentifier project_id = 2;
|
|
38
|
+
*/
|
|
39
|
+
value: ProjectIdentifier;
|
|
40
|
+
case: "projectId";
|
|
41
|
+
} | {
|
|
42
|
+
/**
|
|
43
|
+
* @generated from field: flyteidl2.task.TaskIdentifier task_id = 3;
|
|
44
|
+
*/
|
|
45
|
+
value: TaskIdentifier;
|
|
46
|
+
case: "taskId";
|
|
47
|
+
} | {
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: flyteidl2.common.ActionIdentifier action_id = 4;
|
|
50
|
+
*/
|
|
51
|
+
value: ActionIdentifier;
|
|
52
|
+
case: "actionId";
|
|
53
|
+
} | {
|
|
54
|
+
/**
|
|
55
|
+
* @generated from field: flyteidl2.common.ActionAttemptIdentifier action_attempt_id = 5;
|
|
56
|
+
*/
|
|
57
|
+
value: ActionAttemptIdentifier;
|
|
58
|
+
case: "actionAttemptId";
|
|
59
|
+
} | {
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: flyteidl2.app.Identifier app_id = 6;
|
|
62
|
+
*/
|
|
63
|
+
value: Identifier;
|
|
64
|
+
case: "appId";
|
|
65
|
+
} | { case: undefined; value?: undefined };
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @generated from field: flyteidl2.cluster.SelectClusterRequest.Operation operation = 8;
|
|
69
|
+
*/
|
|
70
|
+
operation: SelectClusterRequest_Operation;
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Describes the message flyteidl2.cluster.SelectClusterRequest.
|
|
75
|
+
* Use `create(SelectClusterRequestSchema)` to create a new message.
|
|
76
|
+
*/
|
|
77
|
+
export const SelectClusterRequestSchema: GenMessage<SelectClusterRequest> = /*@__PURE__*/
|
|
78
|
+
messageDesc(file_flyteidl2_cluster_payload, 0);
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @generated from enum flyteidl2.cluster.SelectClusterRequest.Operation
|
|
82
|
+
*/
|
|
83
|
+
export enum SelectClusterRequest_Operation {
|
|
84
|
+
/**
|
|
85
|
+
* @generated from enum value: OPERATION_UNSPECIFIED = 0;
|
|
86
|
+
*/
|
|
87
|
+
UNSPECIFIED = 0,
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @generated from enum value: OPERATION_CREATE_UPLOAD_LOCATION = 1;
|
|
91
|
+
*/
|
|
92
|
+
CREATE_UPLOAD_LOCATION = 1,
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* @generated from enum value: OPERATION_UPLOAD_INPUTS = 2;
|
|
96
|
+
*/
|
|
97
|
+
UPLOAD_INPUTS = 2,
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @generated from enum value: OPERATION_GET_ACTION_DATA = 3;
|
|
101
|
+
*/
|
|
102
|
+
GET_ACTION_DATA = 3,
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @generated from enum value: OPERATION_QUERY_RANGE_METRICS = 4;
|
|
106
|
+
*/
|
|
107
|
+
QUERY_RANGE_METRICS = 4,
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @generated from enum value: OPERATION_CREATE_DOWNLOAD_LINK = 5;
|
|
111
|
+
*/
|
|
112
|
+
CREATE_DOWNLOAD_LINK = 5,
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @generated from enum value: OPERATION_TAIL_LOGS = 6;
|
|
116
|
+
*/
|
|
117
|
+
TAIL_LOGS = 6,
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @generated from enum value: OPERATION_GET_ACTION_ATTEMPT_METRICS = 7;
|
|
121
|
+
*/
|
|
122
|
+
GET_ACTION_ATTEMPT_METRICS = 7,
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Describes the enum flyteidl2.cluster.SelectClusterRequest.Operation.
|
|
127
|
+
*/
|
|
128
|
+
export const SelectClusterRequest_OperationSchema: GenEnum<SelectClusterRequest_Operation> = /*@__PURE__*/
|
|
129
|
+
enumDesc(file_flyteidl2_cluster_payload, 0, 0);
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @generated from message flyteidl2.cluster.SelectClusterResponse
|
|
133
|
+
*/
|
|
134
|
+
export type SelectClusterResponse = Message<"flyteidl2.cluster.SelectClusterResponse"> & {
|
|
135
|
+
/**
|
|
136
|
+
* @generated from field: string cluster_endpoint = 1;
|
|
137
|
+
*/
|
|
138
|
+
clusterEndpoint: string;
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Describes the message flyteidl2.cluster.SelectClusterResponse.
|
|
143
|
+
* Use `create(SelectClusterResponseSchema)` to create a new message.
|
|
144
|
+
*/
|
|
145
|
+
export const SelectClusterResponseSchema: GenMessage<SelectClusterResponse> = /*@__PURE__*/
|
|
146
|
+
messageDesc(file_flyteidl2_cluster_payload, 1);
|
|
147
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/cluster/service.proto (package flyteidl2.cluster, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import type { SelectClusterRequestSchema, SelectClusterResponseSchema } from "./payload_pb.ts";
|
|
8
|
+
import { file_flyteidl2_cluster_payload } from "./payload_pb.ts";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file flyteidl2/cluster/service.proto.
|
|
12
|
+
*/
|
|
13
|
+
export const file_flyteidl2_cluster_service: GenFile = /*@__PURE__*/
|
|
14
|
+
fileDesc("Ch9mbHl0ZWlkbDIvY2x1c3Rlci9zZXJ2aWNlLnByb3RvEhFmbHl0ZWlkbDIuY2x1c3RlcjJ2Cg5DbHVzdGVyU2VydmljZRJkCg1TZWxlY3RDbHVzdGVyEicuZmx5dGVpZGwyLmNsdXN0ZXIuU2VsZWN0Q2x1c3RlclJlcXVlc3QaKC5mbHl0ZWlkbDIuY2x1c3Rlci5TZWxlY3RDbHVzdGVyUmVzcG9uc2UiAELDAQoVY29tLmZseXRlaWRsMi5jbHVzdGVyQgxTZXJ2aWNlUHJvdG9IAlABWjVnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvY2x1c3RlcqICA0ZDWKoCEUZseXRlaWRsMi5DbHVzdGVyygIRRmx5dGVpZGwyXENsdXN0ZXLiAh1GbHl0ZWlkbDJcQ2x1c3RlclxHUEJNZXRhZGF0YeoCEkZseXRlaWRsMjo6Q2x1c3RlcmIGcHJvdG8z", [file_flyteidl2_cluster_payload]);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @generated from service flyteidl2.cluster.ClusterService
|
|
18
|
+
*/
|
|
19
|
+
export const ClusterService: GenService<{
|
|
20
|
+
/**
|
|
21
|
+
* @generated from rpc flyteidl2.cluster.ClusterService.SelectCluster
|
|
22
|
+
*/
|
|
23
|
+
selectCluster: {
|
|
24
|
+
methodKind: "unary";
|
|
25
|
+
input: typeof SelectClusterRequestSchema;
|
|
26
|
+
output: typeof SelectClusterResponseSchema;
|
|
27
|
+
},
|
|
28
|
+
}> = /*@__PURE__*/
|
|
29
|
+
serviceDesc(file_flyteidl2_cluster_service, 0);
|
|
30
|
+
|
|
@@ -9,13 +9,14 @@ import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";
|
|
|
9
9
|
* Describes the file flyteidl2/common/phase.proto.
|
|
10
10
|
*/
|
|
11
11
|
export const file_flyteidl2_common_phase: GenFile = /*@__PURE__*/
|
|
12
|
-
fileDesc("
|
|
12
|
+
fileDesc("ChxmbHl0ZWlkbDIvY29tbW9uL3BoYXNlLnByb3RvEhBmbHl0ZWlkbDIuY29tbW9uKqkCCgtBY3Rpb25QaGFzZRIcChhBQ1RJT05fUEhBU0VfVU5TUEVDSUZJRUQQABIXChNBQ1RJT05fUEhBU0VfUVVFVUVEEAESJgoiQUNUSU9OX1BIQVNFX1dBSVRJTkdfRk9SX1JFU09VUkNFUxACEh0KGUFDVElPTl9QSEFTRV9JTklUSUFMSVpJTkcQAxIYChRBQ1RJT05fUEhBU0VfUlVOTklORxAEEhoKFkFDVElPTl9QSEFTRV9TVUNDRUVERUQQBRIXChNBQ1RJT05fUEhBU0VfRkFJTEVEEAYSGAoUQUNUSU9OX1BIQVNFX0FCT1JURUQQBxIaChZBQ1RJT05fUEhBU0VfVElNRURfT1VUEAgSFwoTQUNUSU9OX1BIQVNFX1BBVVNFRBAJQrsBChRjb20uZmx5dGVpZGwyLmNvbW1vbkIKUGhhc2VQcm90b0gCUAFaNGdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9jb21tb26iAgNGQ1iqAhBGbHl0ZWlkbDIuQ29tbW9uygIQRmx5dGVpZGwyXENvbW1vbuICHEZseXRlaWRsMlxDb21tb25cR1BCTWV0YWRhdGHqAhFGbHl0ZWlkbDI6OkNvbW1vbmIGcHJvdG8z");
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* ActionPhase represents the execution state of an action.
|
|
16
16
|
*
|
|
17
17
|
* Phase transitions follow this typical flow:
|
|
18
18
|
* QUEUED -> WAITING_FOR_RESOURCES -> INITIALIZING -> RUNNING -> {SUCCEEDED|FAILED|ABORTED|TIMED_OUT}
|
|
19
|
+
* Condition actions: PAUSED -> {SUCCEEDED(signal)|TIMED_OUT(timeout)|ABORTED(abort)}
|
|
19
20
|
*
|
|
20
21
|
* @generated from enum flyteidl2.common.ActionPhase
|
|
21
22
|
*/
|
|
@@ -82,6 +83,13 @@ export enum ActionPhase {
|
|
|
82
83
|
* @generated from enum value: ACTION_PHASE_TIMED_OUT = 8;
|
|
83
84
|
*/
|
|
84
85
|
TIMED_OUT = 8,
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Action is paused and waiting for an external signal (condition actions)
|
|
89
|
+
*
|
|
90
|
+
* @generated from enum value: ACTION_PHASE_PAUSED = 9;
|
|
91
|
+
*/
|
|
92
|
+
PAUSED = 9,
|
|
85
93
|
}
|
|
86
94
|
|
|
87
95
|
/**
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/common/run.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 { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file flyteidl2/common/run.proto.
|
|
12
|
+
*/
|
|
13
|
+
export const file_flyteidl2_common_run: GenFile = /*@__PURE__*/
|
|
14
|
+
fileDesc("ChpmbHl0ZWlkbDIvY29tbW9uL3J1bi5wcm90bxIQZmx5dGVpZGwyLmNvbW1vbiJIChJPZmZsb2FkZWRJbnB1dERhdGESFAoDdXJpGAEgASgJQge6SARyAhABEhwKC2lucHV0c19oYXNoGAIgASgJQge6SARyAhABQrkBChRjb20uZmx5dGVpZGwyLmNvbW1vbkIIUnVuUHJvdG9IAlABWjRnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvY29tbW9uogIDRkNYqgIQRmx5dGVpZGwyLkNvbW1vbsoCEEZseXRlaWRsMlxDb21tb27iAhxGbHl0ZWlkbDJcQ29tbW9uXEdQQk1ldGFkYXRh6gIRRmx5dGVpZGwyOjpDb21tb25iBnByb3RvMw", [file_buf_validate_validate]);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Captures required data to reference offloaded inputs.
|
|
18
|
+
*
|
|
19
|
+
* @generated from message flyteidl2.common.OffloadedInputData
|
|
20
|
+
*/
|
|
21
|
+
export type OffloadedInputData = Message<"flyteidl2.common.OffloadedInputData"> & {
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: string uri = 1;
|
|
24
|
+
*/
|
|
25
|
+
uri: string;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: string inputs_hash = 2;
|
|
29
|
+
*/
|
|
30
|
+
inputsHash: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message flyteidl2.common.OffloadedInputData.
|
|
35
|
+
* Use `create(OffloadedInputDataSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export const OffloadedInputDataSchema: GenMessage<OffloadedInputData> = /*@__PURE__*/
|
|
38
|
+
messageDesc(file_flyteidl2_common_run, 0);
|
|
39
|
+
|
|
@@ -12,7 +12,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
12
12
|
* Describes the file flyteidl2/core/execution.proto.
|
|
13
13
|
*/
|
|
14
14
|
export const file_flyteidl2_core_execution: GenFile = /*@__PURE__*/
|
|
15
|
-
fileDesc("
|
|
15
|
+
fileDesc("Ch5mbHl0ZWlkbDIvY29yZS9leGVjdXRpb24ucHJvdG8SDmZseXRlaWRsMi5jb3JlIqcBChFXb3JrZmxvd0V4ZWN1dGlvbiKRAQoFUGhhc2USDQoJVU5ERUZJTkVEEAASCgoGUVVFVUVEEAESCwoHUlVOTklORxACEg4KClNVQ0NFRURJTkcQAxINCglTVUNDRUVERUQQBBILCgdGQUlMSU5HEAUSCgoGRkFJTEVEEAYSCwoHQUJPUlRFRBAHEg0KCVRJTUVEX09VVBAIEgwKCEFCT1JUSU5HEAkitgEKDU5vZGVFeGVjdXRpb24ipAEKBVBoYXNlEg0KCVVOREVGSU5FRBAAEgoKBlFVRVVFRBABEgsKB1JVTk5JTkcQAhINCglTVUNDRUVERUQQAxILCgdGQUlMSU5HEAQSCgoGRkFJTEVEEAUSCwoHQUJPUlRFRBAGEgsKB1NLSVBQRUQQBxINCglUSU1FRF9PVVQQCBITCg9EWU5BTUlDX1JVTk5JTkcQCRINCglSRUNPVkVSRUQQCiKsAQoNVGFza0V4ZWN1dGlvbiKaAQoFUGhhc2USDQoJVU5ERUZJTkVEEAASCgoGUVVFVUVEEAESCwoHUlVOTklORxACEg0KCVNVQ0NFRURFRBADEgsKB0FCT1JURUQQBBIKCgZ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VhbGl0eU9mU2VydmljZRI1CgR0aWVyGAEgASgOMiUuZmx5dGVpZGwyLmNvcmUuUXVhbGl0eU9mU2VydmljZS5UaWVySAASNAoEc3BlYxgCIAEoCzIkLmZseXRlaWRsMi5jb3JlLlF1YWxpdHlPZlNlcnZpY2VTcGVjSAAiNAoEVGllchINCglVTkRFRklORUQQABIICgRISUdIEAESCgoGTUVESVVNEAISBwoDTE9XEANCDQoLZGVzaWduYXRpb25CswEKEmNvbS5mbHl0ZWlkbDIuY29yZUIORXhlY3V0aW9uUHJvdG9IAlABWjJnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvY29yZaICA0ZDWKoCDkZseXRlaWRsMi5Db3JlygIORmx5dGVpZGwyXENvcmXiAhpGbHl0ZWlkbDJcQ29yZVxHUEJNZXRhZGF0YeoCD0ZseXRlaWRsMjo6Q29yZWIGcHJvdG8z", [file_google_protobuf_duration, file_google_protobuf_timestamp]);
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Indicates various phases of Workflow Execution
|
|
@@ -293,6 +293,19 @@ export type ExecutionError = Message<"flyteidl2.core.ExecutionError"> & {
|
|
|
293
293
|
* @generated from field: string worker = 6;
|
|
294
294
|
*/
|
|
295
295
|
worker: string;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Whether this failure consumed a user retry. Mirrors the value the
|
|
299
|
+
* container reported via ContainerError.kind. Default is NON_RECOVERABLE
|
|
300
|
+
* (proto3 zero), matching the ContainerError.Kind default — producers
|
|
301
|
+
* (lease worker, leasor) must always set this explicitly when surfacing
|
|
302
|
+
* a recoverable failure. The SDK error-marshaling path is the source of
|
|
303
|
+
* truth: ordinary exceptions -> RECOVERABLE; flyte.errors.NonRecoverableError
|
|
304
|
+
* -> NON_RECOVERABLE.
|
|
305
|
+
*
|
|
306
|
+
* @generated from field: flyteidl2.core.ContainerError.Kind recoverability = 7;
|
|
307
|
+
*/
|
|
308
|
+
recoverability: ContainerError_Kind;
|
|
296
309
|
};
|
|
297
310
|
|
|
298
311
|
/**
|
|
@@ -330,6 +343,94 @@ export enum ExecutionError_ErrorKind {
|
|
|
330
343
|
export const ExecutionError_ErrorKindSchema: GenEnum<ExecutionError_ErrorKind> = /*@__PURE__*/
|
|
331
344
|
enumDesc(file_flyteidl2_core_execution, 3, 0);
|
|
332
345
|
|
|
346
|
+
/**
|
|
347
|
+
* Error message to propagate detailed errors from container executions to the
|
|
348
|
+
* execution engine.
|
|
349
|
+
*
|
|
350
|
+
* @generated from message flyteidl2.core.ContainerError
|
|
351
|
+
*/
|
|
352
|
+
export type ContainerError = Message<"flyteidl2.core.ContainerError"> & {
|
|
353
|
+
/**
|
|
354
|
+
* A simplified code for errors, so that we can provide a glossary of all possible errors.
|
|
355
|
+
*
|
|
356
|
+
* @generated from field: string code = 1;
|
|
357
|
+
*/
|
|
358
|
+
code: string;
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* A detailed error message.
|
|
362
|
+
*
|
|
363
|
+
* @generated from field: string message = 2;
|
|
364
|
+
*/
|
|
365
|
+
message: string;
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* An abstract error kind for this error. Defaults to Non_Recoverable if not specified.
|
|
369
|
+
*
|
|
370
|
+
* @generated from field: flyteidl2.core.ContainerError.Kind kind = 3;
|
|
371
|
+
*/
|
|
372
|
+
kind: ContainerError_Kind;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* Defines the origin of the error (system, user, unknown).
|
|
376
|
+
*
|
|
377
|
+
* @generated from field: flyteidl2.core.ExecutionError.ErrorKind origin = 4;
|
|
378
|
+
*/
|
|
379
|
+
origin: ExecutionError_ErrorKind;
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* Describes the message flyteidl2.core.ContainerError.
|
|
384
|
+
* Use `create(ContainerErrorSchema)` to create a new message.
|
|
385
|
+
*/
|
|
386
|
+
export const ContainerErrorSchema: GenMessage<ContainerError> = /*@__PURE__*/
|
|
387
|
+
messageDesc(file_flyteidl2_core_execution, 4);
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* Defines a generic error type that dictates the behavior of the retry strategy.
|
|
391
|
+
*
|
|
392
|
+
* @generated from enum flyteidl2.core.ContainerError.Kind
|
|
393
|
+
*/
|
|
394
|
+
export enum ContainerError_Kind {
|
|
395
|
+
/**
|
|
396
|
+
* @generated from enum value: NON_RECOVERABLE = 0;
|
|
397
|
+
*/
|
|
398
|
+
NON_RECOVERABLE = 0,
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* @generated from enum value: RECOVERABLE = 1;
|
|
402
|
+
*/
|
|
403
|
+
RECOVERABLE = 1,
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Describes the enum flyteidl2.core.ContainerError.Kind.
|
|
408
|
+
*/
|
|
409
|
+
export const ContainerError_KindSchema: GenEnum<ContainerError_Kind> = /*@__PURE__*/
|
|
410
|
+
enumDesc(file_flyteidl2_core_execution, 4, 0);
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* Defines the errors.pb file format the container can produce to communicate
|
|
414
|
+
* failure reasons to the execution engine.
|
|
415
|
+
*
|
|
416
|
+
* @generated from message flyteidl2.core.ErrorDocument
|
|
417
|
+
*/
|
|
418
|
+
export type ErrorDocument = Message<"flyteidl2.core.ErrorDocument"> & {
|
|
419
|
+
/**
|
|
420
|
+
* The error raised during execution.
|
|
421
|
+
*
|
|
422
|
+
* @generated from field: flyteidl2.core.ContainerError error = 1;
|
|
423
|
+
*/
|
|
424
|
+
error?: ContainerError;
|
|
425
|
+
};
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* Describes the message flyteidl2.core.ErrorDocument.
|
|
429
|
+
* Use `create(ErrorDocumentSchema)` to create a new message.
|
|
430
|
+
*/
|
|
431
|
+
export const ErrorDocumentSchema: GenMessage<ErrorDocument> = /*@__PURE__*/
|
|
432
|
+
messageDesc(file_flyteidl2_core_execution, 5);
|
|
433
|
+
|
|
333
434
|
/**
|
|
334
435
|
* Log information for the task that is specific to a log sink
|
|
335
436
|
* When our log story is flushed out, we may have more metadata here like log link expiry
|
|
@@ -388,7 +489,7 @@ export type TaskLog = Message<"flyteidl2.core.TaskLog"> & {
|
|
|
388
489
|
* Use `create(TaskLogSchema)` to create a new message.
|
|
389
490
|
*/
|
|
390
491
|
export const TaskLogSchema: GenMessage<TaskLog> = /*@__PURE__*/
|
|
391
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
492
|
+
messageDesc(file_flyteidl2_core_execution, 6);
|
|
392
493
|
|
|
393
494
|
/**
|
|
394
495
|
* @generated from enum flyteidl2.core.TaskLog.MessageFormat
|
|
@@ -414,7 +515,7 @@ export enum TaskLog_MessageFormat {
|
|
|
414
515
|
* Describes the enum flyteidl2.core.TaskLog.MessageFormat.
|
|
415
516
|
*/
|
|
416
517
|
export const TaskLog_MessageFormatSchema: GenEnum<TaskLog_MessageFormat> = /*@__PURE__*/
|
|
417
|
-
enumDesc(file_flyteidl2_core_execution,
|
|
518
|
+
enumDesc(file_flyteidl2_core_execution, 6, 0);
|
|
418
519
|
|
|
419
520
|
/**
|
|
420
521
|
* @generated from enum flyteidl2.core.TaskLog.LinkType
|
|
@@ -446,7 +547,7 @@ export enum TaskLog_LinkType {
|
|
|
446
547
|
* Describes the enum flyteidl2.core.TaskLog.LinkType.
|
|
447
548
|
*/
|
|
448
549
|
export const TaskLog_LinkTypeSchema: GenEnum<TaskLog_LinkType> = /*@__PURE__*/
|
|
449
|
-
enumDesc(file_flyteidl2_core_execution,
|
|
550
|
+
enumDesc(file_flyteidl2_core_execution, 6, 1);
|
|
450
551
|
|
|
451
552
|
/**
|
|
452
553
|
* Contains metadata required to identify logs produces by a set of pods
|
|
@@ -470,7 +571,7 @@ export type LogContext = Message<"flyteidl2.core.LogContext"> & {
|
|
|
470
571
|
* Use `create(LogContextSchema)` to create a new message.
|
|
471
572
|
*/
|
|
472
573
|
export const LogContextSchema: GenMessage<LogContext> = /*@__PURE__*/
|
|
473
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
574
|
+
messageDesc(file_flyteidl2_core_execution, 7);
|
|
474
575
|
|
|
475
576
|
/**
|
|
476
577
|
* Contains metadata required to identify logs produces by a single pod
|
|
@@ -509,7 +610,7 @@ export type PodLogContext = Message<"flyteidl2.core.PodLogContext"> & {
|
|
|
509
610
|
* Use `create(PodLogContextSchema)` to create a new message.
|
|
510
611
|
*/
|
|
511
612
|
export const PodLogContextSchema: GenMessage<PodLogContext> = /*@__PURE__*/
|
|
512
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
613
|
+
messageDesc(file_flyteidl2_core_execution, 8);
|
|
513
614
|
|
|
514
615
|
/**
|
|
515
616
|
* Contains metadata required to identify logs produces by a single container
|
|
@@ -533,7 +634,7 @@ export type ContainerContext = Message<"flyteidl2.core.ContainerContext"> & {
|
|
|
533
634
|
* Use `create(ContainerContextSchema)` to create a new message.
|
|
534
635
|
*/
|
|
535
636
|
export const ContainerContextSchema: GenMessage<ContainerContext> = /*@__PURE__*/
|
|
536
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
637
|
+
messageDesc(file_flyteidl2_core_execution, 9);
|
|
537
638
|
|
|
538
639
|
/**
|
|
539
640
|
* Contains metadata required to identify logs produces by a single light-weight process that was run inside a container
|
|
@@ -557,7 +658,7 @@ export type ContainerContext_ProcessContext = Message<"flyteidl2.core.ContainerC
|
|
|
557
658
|
* Use `create(ContainerContext_ProcessContextSchema)` to create a new message.
|
|
558
659
|
*/
|
|
559
660
|
export const ContainerContext_ProcessContextSchema: GenMessage<ContainerContext_ProcessContext> = /*@__PURE__*/
|
|
560
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
661
|
+
messageDesc(file_flyteidl2_core_execution, 9, 0);
|
|
561
662
|
|
|
562
663
|
/**
|
|
563
664
|
* Represents customized execution run-time attributes.
|
|
@@ -578,7 +679,7 @@ export type QualityOfServiceSpec = Message<"flyteidl2.core.QualityOfServiceSpec"
|
|
|
578
679
|
* Use `create(QualityOfServiceSpecSchema)` to create a new message.
|
|
579
680
|
*/
|
|
580
681
|
export const QualityOfServiceSpecSchema: GenMessage<QualityOfServiceSpec> = /*@__PURE__*/
|
|
581
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
682
|
+
messageDesc(file_flyteidl2_core_execution, 10);
|
|
582
683
|
|
|
583
684
|
/**
|
|
584
685
|
* Indicates the priority of an execution.
|
|
@@ -609,7 +710,7 @@ export type QualityOfService = Message<"flyteidl2.core.QualityOfService"> & {
|
|
|
609
710
|
* Use `create(QualityOfServiceSchema)` to create a new message.
|
|
610
711
|
*/
|
|
611
712
|
export const QualityOfServiceSchema: GenMessage<QualityOfService> = /*@__PURE__*/
|
|
612
|
-
messageDesc(file_flyteidl2_core_execution,
|
|
713
|
+
messageDesc(file_flyteidl2_core_execution, 11);
|
|
613
714
|
|
|
614
715
|
/**
|
|
615
716
|
* @generated from enum flyteidl2.core.QualityOfService.Tier
|
|
@@ -642,5 +743,5 @@ export enum QualityOfService_Tier {
|
|
|
642
743
|
* Describes the enum flyteidl2.core.QualityOfService.Tier.
|
|
643
744
|
*/
|
|
644
745
|
export const QualityOfService_TierSchema: GenEnum<QualityOfService_Tier> = /*@__PURE__*/
|
|
645
|
-
enumDesc(file_flyteidl2_core_execution,
|
|
746
|
+
enumDesc(file_flyteidl2_core_execution, 11, 0);
|
|
646
747
|
|