@flyteorg/flyteidl2 2.0.0-alpha4 → 2.0.0-alpha6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/flyteidl2/common/authorization_pb.ts +323 -0
- package/flyteidl2/common/identifier_pb.ts +423 -0
- package/flyteidl2/common/identity_pb.ts +205 -0
- package/flyteidl2/common/list_pb.ts +232 -0
- package/flyteidl2/common/policy_pb.ts +76 -0
- package/flyteidl2/common/role_pb.ts +161 -0
- package/flyteidl2/common/runtime_version_pb.ts +76 -0
- package/flyteidl2/core/artifact_id_pb.ts +400 -0
- package/flyteidl2/core/catalog_pb.ts +215 -0
- package/flyteidl2/core/execution_pb.ts +641 -0
- package/flyteidl2/core/identifier_pb.ts +237 -0
- package/flyteidl2/core/interface_pb.ts +187 -0
- package/flyteidl2/core/literals_pb.ts +673 -0
- package/flyteidl2/core/security_pb.ts +310 -0
- package/flyteidl2/core/tasks_pb.ts +1026 -0
- package/flyteidl2/core/types_pb.ts +592 -0
- package/flyteidl2/imagebuilder/definition_pb.ts +493 -0
- package/flyteidl2/imagebuilder/payload_pb.ts +62 -0
- package/flyteidl2/imagebuilder/service_pb.ts +30 -0
- package/flyteidl2/logs/dataplane/payload_pb.ts +396 -0
- package/flyteidl2/secret/definition_pb.ts +310 -0
- package/flyteidl2/secret/payload_pb.ts +266 -0
- package/flyteidl2/secret/secret_pb.ts +63 -0
- package/flyteidl2/task/common_pb.ts +318 -0
- package/flyteidl2/task/environment_pb.ts +36 -0
- package/flyteidl2/task/run_pb.ts +141 -0
- package/flyteidl2/task/task_definition_pb.ts +417 -0
- package/flyteidl2/task/task_service_pb.ts +248 -0
- package/flyteidl2/trigger/trigger_definition_pb.ts +292 -0
- package/flyteidl2/trigger/trigger_service_pb.ts +434 -0
- package/flyteidl2/workflow/queue_service_pb.ts +424 -0
- package/flyteidl2/workflow/run_definition_pb.ts +909 -0
- package/flyteidl2/workflow/run_logs_service_pb.ts +106 -0
- package/flyteidl2/workflow/run_service_pb.ts +863 -0
- package/flyteidl2/workflow/state_service_pb.ts +310 -0
- package/flyteidl2/workflow/translator_service_pb.ts +174 -0
- package/package.json +4 -3
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/workflow/queue_service.proto (package flyteidl2.workflow, 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 { ActionIdentifier, RunIdentifier } from "../common/identifier_pb.ts";
|
|
9
|
+
import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
|
|
10
|
+
import type { LiteralType } from "../core/types_pb.ts";
|
|
11
|
+
import { file_flyteidl2_core_types } from "../core/types_pb.ts";
|
|
12
|
+
import type { OutputReferences } from "../task/common_pb.ts";
|
|
13
|
+
import { file_flyteidl2_task_common } from "../task/common_pb.ts";
|
|
14
|
+
import type { RunSpec } from "../task/run_pb.ts";
|
|
15
|
+
import { file_flyteidl2_task_run } from "../task/run_pb.ts";
|
|
16
|
+
import type { TaskIdentifier, TaskSpec, TraceSpec } from "../task/task_definition_pb.ts";
|
|
17
|
+
import { file_flyteidl2_task_task_definition } from "../task/task_definition_pb.ts";
|
|
18
|
+
import type { Phase } from "./run_definition_pb.ts";
|
|
19
|
+
import { file_flyteidl2_workflow_run_definition } from "./run_definition_pb.ts";
|
|
20
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
21
|
+
import { file_google_protobuf_timestamp, file_google_protobuf_wrappers } from "@bufbuild/protobuf/wkt";
|
|
22
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Describes the file flyteidl2/workflow/queue_service.proto.
|
|
26
|
+
*/
|
|
27
|
+
export const file_flyteidl2_workflow_queue_service: GenFile = /*@__PURE__*/
|
|
28
|
+
fileDesc("CiZmbHl0ZWlkbDIvd29ya2Zsb3cvcXVldWVfc2VydmljZS5wcm90bxISZmx5dGVpZGwyLndvcmtmbG93IsEDChRFbnF1ZXVlQWN0aW9uUmVxdWVzdBI9CglhY3Rpb25faWQYASABKAsyIi5mbHl0ZWlkbDIuY29tbW9uLkFjdGlvbklkZW50aWZpZXJCBrpIA8gBARIfChJwYXJlbnRfYWN0aW9uX25hbWUYAiABKAlIAYgBARIpCghydW5fc3BlYxgDIAEoCzIXLmZseXRlaWRsMi50YXNrLlJ1blNwZWMSGgoJaW5wdXRfdXJpGAYgASgJQge6SARyAhABEiAKD3J1bl9vdXRwdXRfYmFzZRgHIAEoCUIHukgEcgIQARINCgVncm91cBgIIAEoCRIPCgdzdWJqZWN0GAkgASgJEi4KBHRhc2sYCiABKAsyHi5mbHl0ZWlkbDIud29ya2Zsb3cuVGFza0FjdGlvbkgAEjAKBXRyYWNlGAsgASgLMh8uZmx5dGVpZGwyLndvcmtmbG93LlRyYWNlQWN0aW9uSAASOAoJY29uZGl0aW9uGAwgASgLMiMuZmx5dGVpZGwyLndvcmtmbG93LkNvbmRpdGlvbkFjdGlvbkgAQg0KBHNwZWMSBbpIAggBQhUKE19wYXJlbnRfYWN0aW9uX25hbWUiqgEKClRhc2tBY3Rpb24SKgoCaWQYASABKAsyHi5mbHl0ZWlkbDIudGFzay5UYXNrSWRlbnRpZmllchIuCgRzcGVjGAIgASgLMhguZmx5dGVpZGwyLnRhc2suVGFza1NwZWNCBrpIA8gBARIvCgljYWNoZV9rZXkYAyABKAsyHC5nb29nbGUucHJvdG9idWYuU3RyaW5nVmFsdWUSDwoHY2x1c3RlchgEIAEoCSKiAgoLVHJhY2VBY3Rpb24SFQoEbmFtZRgBIAEoCUIHukgEcgIQARIoCgVwaGFzZRgCIAEoDjIZLmZseXRlaWRsMi53b3JrZmxvdy5QaGFzZRIuCgpzdGFydF90aW1lGAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIxCghlbmRfdGltZRgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBIAIgBARIxCgdvdXRwdXRzGAUgASgLMiAuZmx5dGVpZGwyLnRhc2suT3V0cHV0UmVmZXJlbmNlcxIvCgRzcGVjGAYgASgLMhkuZmx5dGVpZGwyLnRhc2suVHJhY2VTcGVjQga6SAPIAQFCCwoJX2VuZF90aW1lItMBCg9Db25kaXRpb25BY3Rpb24SFQoEbmFtZRgBIAEoCUIHukgEcgIQARIZCgZydW5faWQYAiABKAlCB7pIBHICEAFIABIcCglhY3Rpb25faWQYAyABKAlCB7pIBHICEAFIABIQCgZnbG9iYWwYBCABKAhIABIpCgR0eXBlGAYgASgLMhsuZmx5dGVpZGwyLmNvcmUuTGl0ZXJhbFR5cGUSDgoGcHJvbXB0GAcgASgJEhMKC2Rlc2NyaXB0aW9uGAggASgJQg4KBXNjb3BlEgW6SAIIASIXChVFbnF1ZXVlQWN0aW9uUmVzcG9uc2UicAoVQWJvcnRRdWV1ZWRSdW5SZXF1ZXN0EjcKBnJ1bl9pZBgBIAEoCzIfLmZseXRlaWRsMi5jb21tb24uUnVuSWRlbnRpZmllckIGukgDyAEBEhMKBnJlYXNvbhgCIAEoCUgAiAEBQgkKB19yZWFzb24iGAoWQWJvcnRRdWV1ZWRSdW5SZXNwb25zZSJ5ChhBYm9ydFF1ZXVlZEFjdGlvblJlcXVlc3QSPQoJYWN0aW9uX2lkGAEgASgLMiIuZmx5dGVpZGwyLmNvbW1vbi5BY3Rpb25JZGVudGlmaWVyQga6SAPIAQESEwoGcmVhc29uGAIgASgJSACIAQFCCQoHX3JlYXNvbiIbChlBYm9ydFF1ZXVlZEFjdGlvblJlc3BvbnNlMtUCCgxRdWV1ZVNlcnZpY2USZgoNRW5xdWV1ZUFjdGlvbhIoLmZseXRlaWRsMi53b3JrZmxvdy5FbnF1ZXVlQWN0aW9uUmVxdWVzdBopLmZseXRlaWRsMi53b3JrZmxvdy5FbnF1ZXVlQWN0aW9uUmVzcG9uc2UiABJpCg5BYm9ydFF1ZXVlZFJ1bhIpLmZseXRlaWRsMi53b3JrZmxvdy5BYm9ydFF1ZXVlZFJ1blJlcXVlc3QaKi5mbHl0ZWlkbDIud29ya2Zsb3cuQWJvcnRRdWV1ZWRSdW5SZXNwb25zZSIAEnIKEUFib3J0UXVldWVkQWN0aW9uEiwuZmx5dGVpZGwyLndvcmtmbG93LkFib3J0UXVldWVkQWN0aW9uUmVxdWVzdBotLmZseXRlaWRsMi53b3JrZmxvdy5BYm9ydFF1ZXVlZEFjdGlvblJlc3BvbnNlIgBCzgEKFmNvbS5mbHl0ZWlkbDIud29ya2Zsb3dCEVF1ZXVlU2VydmljZVByb3RvSAJQAVo2Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL3dvcmtmbG93ogIDRldYqgISRmx5dGVpZGwyLldvcmtmbG93ygISRmx5dGVpZGwyXFdvcmtmbG934gIeRmx5dGVpZGwyXFdvcmtmbG93XEdQQk1ldGFkYXRh6gITRmx5dGVpZGwyOjpXb3JrZmxvd2IGcHJvdG8z", [file_buf_validate_validate, file_flyteidl2_common_identifier, file_flyteidl2_core_types, file_flyteidl2_task_common, file_flyteidl2_task_run, file_flyteidl2_task_task_definition, file_flyteidl2_workflow_run_definition, file_google_protobuf_timestamp, file_google_protobuf_wrappers]);
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* request message for queuing an action.
|
|
32
|
+
*
|
|
33
|
+
* @generated from message flyteidl2.workflow.EnqueueActionRequest
|
|
34
|
+
*/
|
|
35
|
+
export type EnqueueActionRequest = Message<"flyteidl2.workflow.EnqueueActionRequest"> & {
|
|
36
|
+
/**
|
|
37
|
+
* the unique identifier for the action.
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: flyteidl2.common.ActionIdentifier action_id = 1;
|
|
40
|
+
*/
|
|
41
|
+
actionId?: ActionIdentifier;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* an optional name for the parent action, if it exists. the remaining run metadata (ex. org,
|
|
45
|
+
* project, domain) will be the same as the action_id defined above.
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: optional string parent_action_name = 2;
|
|
48
|
+
*/
|
|
49
|
+
parentActionName?: string;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Optional run spec passed in by the root action to be utilized by all downstream actions in the run.
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: flyteidl2.task.RunSpec run_spec = 3;
|
|
55
|
+
*/
|
|
56
|
+
runSpec?: RunSpec;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* the path to the input data for this action.
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: string input_uri = 6;
|
|
62
|
+
*/
|
|
63
|
+
inputUri: string;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* the run base path this action should write its output to.
|
|
67
|
+
*
|
|
68
|
+
* @generated from field: string run_output_base = 7;
|
|
69
|
+
*/
|
|
70
|
+
runOutputBase: string;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* group this action belongs to, if applicable.
|
|
74
|
+
*
|
|
75
|
+
* @generated from field: string group = 8;
|
|
76
|
+
*/
|
|
77
|
+
group: string;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* subject that created the run, if known.
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: string subject = 9;
|
|
83
|
+
*/
|
|
84
|
+
subject: string;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* @generated from oneof flyteidl2.workflow.EnqueueActionRequest.spec
|
|
88
|
+
*/
|
|
89
|
+
spec: {
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: flyteidl2.workflow.TaskAction task = 10;
|
|
92
|
+
*/
|
|
93
|
+
value: TaskAction;
|
|
94
|
+
case: "task";
|
|
95
|
+
} | {
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: flyteidl2.workflow.TraceAction trace = 11;
|
|
98
|
+
*/
|
|
99
|
+
value: TraceAction;
|
|
100
|
+
case: "trace";
|
|
101
|
+
} | {
|
|
102
|
+
/**
|
|
103
|
+
* @generated from field: flyteidl2.workflow.ConditionAction condition = 12;
|
|
104
|
+
*/
|
|
105
|
+
value: ConditionAction;
|
|
106
|
+
case: "condition";
|
|
107
|
+
} | { case: undefined; value?: undefined };
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Describes the message flyteidl2.workflow.EnqueueActionRequest.
|
|
112
|
+
* Use `create(EnqueueActionRequestSchema)` to create a new message.
|
|
113
|
+
*/
|
|
114
|
+
export const EnqueueActionRequestSchema: GenMessage<EnqueueActionRequest> = /*@__PURE__*/
|
|
115
|
+
messageDesc(file_flyteidl2_workflow_queue_service, 0);
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* @generated from message flyteidl2.workflow.TaskAction
|
|
119
|
+
*/
|
|
120
|
+
export type TaskAction = Message<"flyteidl2.workflow.TaskAction"> & {
|
|
121
|
+
/**
|
|
122
|
+
* a unique identifier for the task this action is associated with, if applicable.
|
|
123
|
+
*
|
|
124
|
+
* @generated from field: flyteidl2.task.TaskIdentifier id = 1;
|
|
125
|
+
*/
|
|
126
|
+
id?: TaskIdentifier;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* the definition of the task to be executed.
|
|
130
|
+
*
|
|
131
|
+
* @generated from field: flyteidl2.task.TaskSpec spec = 2;
|
|
132
|
+
*/
|
|
133
|
+
spec?: TaskSpec;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Enables caching when set and specifies the cache version to use.
|
|
137
|
+
*
|
|
138
|
+
* @generated from field: google.protobuf.StringValue cache_key = 3;
|
|
139
|
+
*/
|
|
140
|
+
cacheKey?: string;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* the specific cluster that this action should be executed on. if not set, the cluster from the
|
|
144
|
+
* `RunSpec` will be used.
|
|
145
|
+
*
|
|
146
|
+
* @generated from field: string cluster = 4;
|
|
147
|
+
*/
|
|
148
|
+
cluster: string;
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Describes the message flyteidl2.workflow.TaskAction.
|
|
153
|
+
* Use `create(TaskActionSchema)` to create a new message.
|
|
154
|
+
*/
|
|
155
|
+
export const TaskActionSchema: GenMessage<TaskAction> = /*@__PURE__*/
|
|
156
|
+
messageDesc(file_flyteidl2_workflow_queue_service, 1);
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* TraceAction is used to define a trace action that can be used to track the execution of an action that's managed
|
|
160
|
+
* by the local worker. This can be used to bring determinism to code that's otherwise not deterministic (e.g. current
|
|
161
|
+
* time).
|
|
162
|
+
*
|
|
163
|
+
* @generated from message flyteidl2.workflow.TraceAction
|
|
164
|
+
*/
|
|
165
|
+
export type TraceAction = Message<"flyteidl2.workflow.TraceAction"> & {
|
|
166
|
+
/**
|
|
167
|
+
* @generated from field: string name = 1;
|
|
168
|
+
*/
|
|
169
|
+
name: string;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Last known phase.
|
|
173
|
+
*
|
|
174
|
+
* @generated from field: flyteidl2.workflow.Phase phase = 2;
|
|
175
|
+
*/
|
|
176
|
+
phase: Phase;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Time the attempt started.
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: google.protobuf.Timestamp start_time = 3;
|
|
182
|
+
*/
|
|
183
|
+
startTime?: Timestamp;
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Time the attempt ended, if applicable.
|
|
187
|
+
*
|
|
188
|
+
* @generated from field: optional google.protobuf.Timestamp end_time = 4;
|
|
189
|
+
*/
|
|
190
|
+
endTime?: Timestamp;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Output references.
|
|
194
|
+
*
|
|
195
|
+
* @generated from field: flyteidl2.task.OutputReferences outputs = 5;
|
|
196
|
+
*/
|
|
197
|
+
outputs?: OutputReferences;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Task spec for the trace, useful for the typed interface inside.
|
|
201
|
+
*
|
|
202
|
+
* @generated from field: flyteidl2.task.TraceSpec spec = 6;
|
|
203
|
+
*/
|
|
204
|
+
spec?: TraceSpec;
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Describes the message flyteidl2.workflow.TraceAction.
|
|
209
|
+
* Use `create(TraceActionSchema)` to create a new message.
|
|
210
|
+
*/
|
|
211
|
+
export const TraceActionSchema: GenMessage<TraceAction> = /*@__PURE__*/
|
|
212
|
+
messageDesc(file_flyteidl2_workflow_queue_service, 2);
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* ConditionAction is used to define a condition that can be evaluated at runtime. It can be used to
|
|
216
|
+
* await a signal from an external system and can carry a value.
|
|
217
|
+
*
|
|
218
|
+
* @generated from message flyteidl2.workflow.ConditionAction
|
|
219
|
+
*/
|
|
220
|
+
export type ConditionAction = Message<"flyteidl2.workflow.ConditionAction"> & {
|
|
221
|
+
/**
|
|
222
|
+
* Name is the unique identifier for the action. It must be unique within the defined scope below.
|
|
223
|
+
*
|
|
224
|
+
* @generated from field: string name = 1;
|
|
225
|
+
*/
|
|
226
|
+
name: string;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* @generated from oneof flyteidl2.workflow.ConditionAction.scope
|
|
230
|
+
*/
|
|
231
|
+
scope: {
|
|
232
|
+
/**
|
|
233
|
+
* RunId is the unique identifier for the run this action is associated with.
|
|
234
|
+
*
|
|
235
|
+
* @generated from field: string run_id = 2;
|
|
236
|
+
*/
|
|
237
|
+
value: string;
|
|
238
|
+
case: "runId";
|
|
239
|
+
} | {
|
|
240
|
+
/**
|
|
241
|
+
* ActionId is the unique identifier for the action this action is associated with.
|
|
242
|
+
*
|
|
243
|
+
* @generated from field: string action_id = 3;
|
|
244
|
+
*/
|
|
245
|
+
value: string;
|
|
246
|
+
case: "actionId";
|
|
247
|
+
} | {
|
|
248
|
+
/**
|
|
249
|
+
* Global indicates the condition is global and can be used across all runs and actions.
|
|
250
|
+
*
|
|
251
|
+
* @generated from field: bool global = 4;
|
|
252
|
+
*/
|
|
253
|
+
value: boolean;
|
|
254
|
+
case: "global";
|
|
255
|
+
} | { case: undefined; value?: undefined };
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Type is the type of the value the condition is expected. This can be used to properly render
|
|
259
|
+
* a UI element for the condition or validate when a value is received that it is of the expected
|
|
260
|
+
* type.
|
|
261
|
+
*
|
|
262
|
+
* @generated from field: flyteidl2.core.LiteralType type = 6;
|
|
263
|
+
*/
|
|
264
|
+
type?: LiteralType;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Prompt is the prompt that will be shown to the user when the condition is awaited.
|
|
268
|
+
*
|
|
269
|
+
* @generated from field: string prompt = 7;
|
|
270
|
+
*/
|
|
271
|
+
prompt: string;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Description is a description of the condition. This can be used to provide additional
|
|
275
|
+
* information to the user about the condition.
|
|
276
|
+
*
|
|
277
|
+
* @generated from field: string description = 8;
|
|
278
|
+
*/
|
|
279
|
+
description: string;
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Describes the message flyteidl2.workflow.ConditionAction.
|
|
284
|
+
* Use `create(ConditionActionSchema)` to create a new message.
|
|
285
|
+
*/
|
|
286
|
+
export const ConditionActionSchema: GenMessage<ConditionAction> = /*@__PURE__*/
|
|
287
|
+
messageDesc(file_flyteidl2_workflow_queue_service, 3);
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* response message for queuing an action.
|
|
291
|
+
*
|
|
292
|
+
* @generated from message flyteidl2.workflow.EnqueueActionResponse
|
|
293
|
+
*/
|
|
294
|
+
export type EnqueueActionResponse = Message<"flyteidl2.workflow.EnqueueActionResponse"> & {
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Describes the message flyteidl2.workflow.EnqueueActionResponse.
|
|
299
|
+
* Use `create(EnqueueActionResponseSchema)` to create a new message.
|
|
300
|
+
*/
|
|
301
|
+
export const EnqueueActionResponseSchema: GenMessage<EnqueueActionResponse> = /*@__PURE__*/
|
|
302
|
+
messageDesc(file_flyteidl2_workflow_queue_service, 4);
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* request message for aborting a run.
|
|
306
|
+
*
|
|
307
|
+
* @generated from message flyteidl2.workflow.AbortQueuedRunRequest
|
|
308
|
+
*/
|
|
309
|
+
export type AbortQueuedRunRequest = Message<"flyteidl2.workflow.AbortQueuedRunRequest"> & {
|
|
310
|
+
/**
|
|
311
|
+
* the unique identifier for the run to be aborted.
|
|
312
|
+
*
|
|
313
|
+
* @generated from field: flyteidl2.common.RunIdentifier run_id = 1;
|
|
314
|
+
*/
|
|
315
|
+
runId?: RunIdentifier;
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Reason for aborting the run, if applicable.
|
|
319
|
+
*
|
|
320
|
+
* @generated from field: optional string reason = 2;
|
|
321
|
+
*/
|
|
322
|
+
reason?: string;
|
|
323
|
+
};
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* Describes the message flyteidl2.workflow.AbortQueuedRunRequest.
|
|
327
|
+
* Use `create(AbortQueuedRunRequestSchema)` to create a new message.
|
|
328
|
+
*/
|
|
329
|
+
export const AbortQueuedRunRequestSchema: GenMessage<AbortQueuedRunRequest> = /*@__PURE__*/
|
|
330
|
+
messageDesc(file_flyteidl2_workflow_queue_service, 5);
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* response message for aborting a run.
|
|
334
|
+
*
|
|
335
|
+
* @generated from message flyteidl2.workflow.AbortQueuedRunResponse
|
|
336
|
+
*/
|
|
337
|
+
export type AbortQueuedRunResponse = Message<"flyteidl2.workflow.AbortQueuedRunResponse"> & {
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Describes the message flyteidl2.workflow.AbortQueuedRunResponse.
|
|
342
|
+
* Use `create(AbortQueuedRunResponseSchema)` to create a new message.
|
|
343
|
+
*/
|
|
344
|
+
export const AbortQueuedRunResponseSchema: GenMessage<AbortQueuedRunResponse> = /*@__PURE__*/
|
|
345
|
+
messageDesc(file_flyteidl2_workflow_queue_service, 6);
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* @generated from message flyteidl2.workflow.AbortQueuedActionRequest
|
|
349
|
+
*/
|
|
350
|
+
export type AbortQueuedActionRequest = Message<"flyteidl2.workflow.AbortQueuedActionRequest"> & {
|
|
351
|
+
/**
|
|
352
|
+
* ActionId is the unique identifier for the action to be aborted
|
|
353
|
+
*
|
|
354
|
+
* @generated from field: flyteidl2.common.ActionIdentifier action_id = 1;
|
|
355
|
+
*/
|
|
356
|
+
actionId?: ActionIdentifier;
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* Reason for aborting the action, if applicable.
|
|
360
|
+
*
|
|
361
|
+
* @generated from field: optional string reason = 2;
|
|
362
|
+
*/
|
|
363
|
+
reason?: string;
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Describes the message flyteidl2.workflow.AbortQueuedActionRequest.
|
|
368
|
+
* Use `create(AbortQueuedActionRequestSchema)` to create a new message.
|
|
369
|
+
*/
|
|
370
|
+
export const AbortQueuedActionRequestSchema: GenMessage<AbortQueuedActionRequest> = /*@__PURE__*/
|
|
371
|
+
messageDesc(file_flyteidl2_workflow_queue_service, 7);
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* @generated from message flyteidl2.workflow.AbortQueuedActionResponse
|
|
375
|
+
*/
|
|
376
|
+
export type AbortQueuedActionResponse = Message<"flyteidl2.workflow.AbortQueuedActionResponse"> & {
|
|
377
|
+
};
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* Describes the message flyteidl2.workflow.AbortQueuedActionResponse.
|
|
381
|
+
* Use `create(AbortQueuedActionResponseSchema)` to create a new message.
|
|
382
|
+
*/
|
|
383
|
+
export const AbortQueuedActionResponseSchema: GenMessage<AbortQueuedActionResponse> = /*@__PURE__*/
|
|
384
|
+
messageDesc(file_flyteidl2_workflow_queue_service, 8);
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* provides an interface for managing execution of runs over a collection of workers.
|
|
388
|
+
*
|
|
389
|
+
* @generated from service flyteidl2.workflow.QueueService
|
|
390
|
+
*/
|
|
391
|
+
export const QueueService: GenService<{
|
|
392
|
+
/**
|
|
393
|
+
* queue a new action for execution.
|
|
394
|
+
*
|
|
395
|
+
* @generated from rpc flyteidl2.workflow.QueueService.EnqueueAction
|
|
396
|
+
*/
|
|
397
|
+
enqueueAction: {
|
|
398
|
+
methodKind: "unary";
|
|
399
|
+
input: typeof EnqueueActionRequestSchema;
|
|
400
|
+
output: typeof EnqueueActionResponseSchema;
|
|
401
|
+
},
|
|
402
|
+
/**
|
|
403
|
+
* abort a queued run.
|
|
404
|
+
*
|
|
405
|
+
* @generated from rpc flyteidl2.workflow.QueueService.AbortQueuedRun
|
|
406
|
+
*/
|
|
407
|
+
abortQueuedRun: {
|
|
408
|
+
methodKind: "unary";
|
|
409
|
+
input: typeof AbortQueuedRunRequestSchema;
|
|
410
|
+
output: typeof AbortQueuedRunResponseSchema;
|
|
411
|
+
},
|
|
412
|
+
/**
|
|
413
|
+
* AbortAction aborts a single action that was previously queued or is currently being processed by a worker.
|
|
414
|
+
*
|
|
415
|
+
* @generated from rpc flyteidl2.workflow.QueueService.AbortQueuedAction
|
|
416
|
+
*/
|
|
417
|
+
abortQueuedAction: {
|
|
418
|
+
methodKind: "unary";
|
|
419
|
+
input: typeof AbortQueuedActionRequestSchema;
|
|
420
|
+
output: typeof AbortQueuedActionResponseSchema;
|
|
421
|
+
},
|
|
422
|
+
}> = /*@__PURE__*/
|
|
423
|
+
serviceDesc(file_flyteidl2_workflow_queue_service, 0);
|
|
424
|
+
|