@flyteorg/flyteidl2 2.0.0-alpha10
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 +1088 -0
- package/flyteidl2/core/types_pb.ts +592 -0
- package/flyteidl2/imagebuilder/definition_pb.ts +535 -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/plugins/dask_pb.ts +109 -0
- package/flyteidl2/plugins/ray_pb.ts +189 -0
- package/flyteidl2/plugins/spark_pb.ts +145 -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 +319 -0
- package/flyteidl2/task/environment_pb.ts +36 -0
- package/flyteidl2/task/run_pb.ts +177 -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 +283 -0
- package/flyteidl2/trigger/trigger_service_pb.ts +451 -0
- package/flyteidl2/workflow/queue_service_pb.ts +245 -0
- package/flyteidl2/workflow/run_definition_pb.ts +1192 -0
- package/flyteidl2/workflow/run_logs_service_pb.ts +106 -0
- package/flyteidl2/workflow/run_service_pb.ts +870 -0
- package/flyteidl2/workflow/state_service_pb.ts +310 -0
- package/flyteidl2/workflow/translator_service_pb.ts +174 -0
- package/package.json +18 -0
|
@@ -0,0 +1,870 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/workflow/run_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, ClusterIdentifier, ProjectIdentifier, RunIdentifier, TriggerName } from "../common/identifier_pb.ts";
|
|
9
|
+
import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
|
|
10
|
+
import type { Filter, ListRequest } from "../common/list_pb.ts";
|
|
11
|
+
import { file_flyteidl2_common_list } from "../common/list_pb.ts";
|
|
12
|
+
import type { Inputs, Outputs } 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 } from "../task/task_definition_pb.ts";
|
|
17
|
+
import { file_flyteidl2_task_task_definition } from "../task/task_definition_pb.ts";
|
|
18
|
+
import type { Action, ActionDetails, ClusterEvent, EnrichedAction, Run, RunDetails, RunSource } from "./run_definition_pb.ts";
|
|
19
|
+
import { file_flyteidl2_workflow_run_definition } from "./run_definition_pb.ts";
|
|
20
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Describes the file flyteidl2/workflow/run_service.proto.
|
|
24
|
+
*/
|
|
25
|
+
export const file_flyteidl2_workflow_run_service: GenFile = /*@__PURE__*/
|
|
26
|
+
fileDesc("CiRmbHl0ZWlkbDIvd29ya2Zsb3cvcnVuX3NlcnZpY2UucHJvdG8SEmZseXRlaWRsMi53b3JrZmxvdyK3AwoQQ3JlYXRlUnVuUmVxdWVzdBIxCgZydW5faWQYASABKAsyHy5mbHl0ZWlkbDIuY29tbW9uLlJ1bklkZW50aWZpZXJIABI5Cgpwcm9qZWN0X2lkGAYgASgLMiMuZmx5dGVpZGwyLmNvbW1vbi5Qcm9qZWN0SWRlbnRpZmllckgAEjEKB3Rhc2tfaWQYAiABKAsyHi5mbHl0ZWlkbDIudGFzay5UYXNrSWRlbnRpZmllckgBEi0KCXRhc2tfc3BlYxgDIAEoCzIYLmZseXRlaWRsMi50YXNrLlRhc2tTcGVjSAESNQoMdHJpZ2dlcl9uYW1lGAcgASgLMh0uZmx5dGVpZGwyLmNvbW1vbi5UcmlnZ2VyTmFtZUgBEiYKBmlucHV0cxgEIAEoCzIWLmZseXRlaWRsMi50YXNrLklucHV0cxIpCghydW5fc3BlYxgFIAEoCzIXLmZseXRlaWRsMi50YXNrLlJ1blNwZWMSLQoGc291cmNlGAggASgOMh0uZmx5dGVpZGwyLndvcmtmbG93LlJ1blNvdXJjZUILCgJpZBIFukgCCAFCDQoEdGFzaxIFukgCCAEiOQoRQ3JlYXRlUnVuUmVzcG9uc2USJAoDcnVuGAEgASgLMhcuZmx5dGVpZGwyLndvcmtmbG93LlJ1biJqCg9BYm9ydFJ1blJlcXVlc3QSNwoGcnVuX2lkGAEgASgLMh8uZmx5dGVpZGwyLmNvbW1vbi5SdW5JZGVudGlmaWVyQga6SAPIAQESEwoGcmVhc29uGAIgASgJSACIAQFCCQoHX3JlYXNvbiISChBBYm9ydFJ1blJlc3BvbnNlI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XF1ZXN0GicuZmx5dGVpZGwyLndvcmtmbG93Lkxpc3RBY3Rpb25zUmVzcG9uc2UiA5ACARJlCgxXYXRjaEFjdGlvbnMSJy5mbHl0ZWlkbDIud29ya2Zsb3cuV2F0Y2hBY3Rpb25zUmVxdWVzdBooLmZseXRlaWRsMi53b3JrZmxvdy5XYXRjaEFjdGlvbnNSZXNwb25zZSIAMAESdwoSV2F0Y2hDbHVzdGVyRXZlbnRzEi0uZmx5dGVpZGwyLndvcmtmbG93LldhdGNoQ2x1c3RlckV2ZW50c1JlcXVlc3QaLi5mbHl0ZWlkbDIud29ya2Zsb3cuV2F0Y2hDbHVzdGVyRXZlbnRzUmVzcG9uc2UiADABEmAKC0Fib3J0QWN0aW9uEiYuZmx5dGVpZGwyLndvcmtmbG93LkFib3J0QWN0aW9uUmVxdWVzdBonLmZseXRlaWRsMi53b3JrZmxvdy5BYm9ydEFjdGlvblJlc3BvbnNlIgBCzAEKFmNvbS5mbHl0ZWlkbDIud29ya2Zsb3dCD1J1blNlcnZpY2VQcm90b0gCUAFaNmdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi93b3JrZmxvd6ICA0ZXWKoCEkZseXRlaWRsMi5Xb3JrZmxvd8oCEkZseXRlaWRsMlxXb3JrZmxvd+ICHkZseXRlaWRsMlxXb3JrZmxvd1xHUEJNZXRhZGF0YeoCE0ZseXRlaWRsMjo6V29ya2Zsb3diBnByb3RvMw", [file_buf_validate_validate, file_flyteidl2_common_identifier, file_flyteidl2_common_list, file_flyteidl2_task_common, file_flyteidl2_task_run, file_flyteidl2_task_task_definition, file_flyteidl2_workflow_run_definition]);
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Request message for creating a run.
|
|
30
|
+
*
|
|
31
|
+
* @generated from message flyteidl2.workflow.CreateRunRequest
|
|
32
|
+
*/
|
|
33
|
+
export type CreateRunRequest = Message<"flyteidl2.workflow.CreateRunRequest"> & {
|
|
34
|
+
/**
|
|
35
|
+
* @generated from oneof flyteidl2.workflow.CreateRunRequest.id
|
|
36
|
+
*/
|
|
37
|
+
id: {
|
|
38
|
+
/**
|
|
39
|
+
* The user provided run id.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: flyteidl2.common.RunIdentifier run_id = 1;
|
|
42
|
+
*/
|
|
43
|
+
value: RunIdentifier;
|
|
44
|
+
case: "runId";
|
|
45
|
+
} | {
|
|
46
|
+
/**
|
|
47
|
+
* The project id for this run. Run name will be generated.
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: flyteidl2.common.ProjectIdentifier project_id = 6;
|
|
50
|
+
*/
|
|
51
|
+
value: ProjectIdentifier;
|
|
52
|
+
case: "projectId";
|
|
53
|
+
} | { case: undefined; value?: undefined };
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* The task to run.
|
|
57
|
+
*
|
|
58
|
+
* @generated from oneof flyteidl2.workflow.CreateRunRequest.task
|
|
59
|
+
*/
|
|
60
|
+
task: {
|
|
61
|
+
/**
|
|
62
|
+
* The task id to use.
|
|
63
|
+
*
|
|
64
|
+
* @generated from field: flyteidl2.task.TaskIdentifier task_id = 2;
|
|
65
|
+
*/
|
|
66
|
+
value: TaskIdentifier;
|
|
67
|
+
case: "taskId";
|
|
68
|
+
} | {
|
|
69
|
+
/**
|
|
70
|
+
* The task spec to use.
|
|
71
|
+
*
|
|
72
|
+
* @generated from field: flyteidl2.task.TaskSpec task_spec = 3;
|
|
73
|
+
*/
|
|
74
|
+
value: TaskSpec;
|
|
75
|
+
case: "taskSpec";
|
|
76
|
+
} | {
|
|
77
|
+
/**
|
|
78
|
+
* The trigger name to use.
|
|
79
|
+
*
|
|
80
|
+
* @generated from field: flyteidl2.common.TriggerName trigger_name = 7;
|
|
81
|
+
*/
|
|
82
|
+
value: TriggerName;
|
|
83
|
+
case: "triggerName";
|
|
84
|
+
} | { case: undefined; value?: undefined };
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Inputs to use.
|
|
88
|
+
*
|
|
89
|
+
* @generated from field: flyteidl2.task.Inputs inputs = 4;
|
|
90
|
+
*/
|
|
91
|
+
inputs?: Inputs;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* The run spec to use.
|
|
95
|
+
*
|
|
96
|
+
* @generated from field: flyteidl2.task.RunSpec run_spec = 5;
|
|
97
|
+
*/
|
|
98
|
+
runSpec?: RunSpec;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Indicates client that created this run.
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: flyteidl2.workflow.RunSource source = 8;
|
|
104
|
+
*/
|
|
105
|
+
source: RunSource;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Describes the message flyteidl2.workflow.CreateRunRequest.
|
|
110
|
+
* Use `create(CreateRunRequestSchema)` to create a new message.
|
|
111
|
+
*/
|
|
112
|
+
export const CreateRunRequestSchema: GenMessage<CreateRunRequest> = /*@__PURE__*/
|
|
113
|
+
messageDesc(file_flyteidl2_workflow_run_service, 0);
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Response message for creating a run.
|
|
117
|
+
*
|
|
118
|
+
* @generated from message flyteidl2.workflow.CreateRunResponse
|
|
119
|
+
*/
|
|
120
|
+
export type CreateRunResponse = Message<"flyteidl2.workflow.CreateRunResponse"> & {
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: flyteidl2.workflow.Run run = 1;
|
|
123
|
+
*/
|
|
124
|
+
run?: Run;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Describes the message flyteidl2.workflow.CreateRunResponse.
|
|
129
|
+
* Use `create(CreateRunResponseSchema)` to create a new message.
|
|
130
|
+
*/
|
|
131
|
+
export const CreateRunResponseSchema: GenMessage<CreateRunResponse> = /*@__PURE__*/
|
|
132
|
+
messageDesc(file_flyteidl2_workflow_run_service, 1);
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Request message for aborting a run.
|
|
136
|
+
*
|
|
137
|
+
* @generated from message flyteidl2.workflow.AbortRunRequest
|
|
138
|
+
*/
|
|
139
|
+
export type AbortRunRequest = Message<"flyteidl2.workflow.AbortRunRequest"> & {
|
|
140
|
+
/**
|
|
141
|
+
* Run to abort.
|
|
142
|
+
*
|
|
143
|
+
* @generated from field: flyteidl2.common.RunIdentifier run_id = 1;
|
|
144
|
+
*/
|
|
145
|
+
runId?: RunIdentifier;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Reason for aborting the run. if applicable.
|
|
149
|
+
*
|
|
150
|
+
* @generated from field: optional string reason = 2;
|
|
151
|
+
*/
|
|
152
|
+
reason?: string;
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Describes the message flyteidl2.workflow.AbortRunRequest.
|
|
157
|
+
* Use `create(AbortRunRequestSchema)` to create a new message.
|
|
158
|
+
*/
|
|
159
|
+
export const AbortRunRequestSchema: GenMessage<AbortRunRequest> = /*@__PURE__*/
|
|
160
|
+
messageDesc(file_flyteidl2_workflow_run_service, 2);
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Response message for aborting a run.
|
|
164
|
+
*
|
|
165
|
+
* @generated from message flyteidl2.workflow.AbortRunResponse
|
|
166
|
+
*/
|
|
167
|
+
export type AbortRunResponse = Message<"flyteidl2.workflow.AbortRunResponse"> & {
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Describes the message flyteidl2.workflow.AbortRunResponse.
|
|
172
|
+
* Use `create(AbortRunResponseSchema)` to create a new message.
|
|
173
|
+
*/
|
|
174
|
+
export const AbortRunResponseSchema: GenMessage<AbortRunResponse> = /*@__PURE__*/
|
|
175
|
+
messageDesc(file_flyteidl2_workflow_run_service, 3);
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Request message for getting detailed information about a run.
|
|
179
|
+
*
|
|
180
|
+
* @generated from message flyteidl2.workflow.GetRunDetailsRequest
|
|
181
|
+
*/
|
|
182
|
+
export type GetRunDetailsRequest = Message<"flyteidl2.workflow.GetRunDetailsRequest"> & {
|
|
183
|
+
/**
|
|
184
|
+
* Run to query.
|
|
185
|
+
*
|
|
186
|
+
* @generated from field: flyteidl2.common.RunIdentifier run_id = 1;
|
|
187
|
+
*/
|
|
188
|
+
runId?: RunIdentifier;
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Describes the message flyteidl2.workflow.GetRunDetailsRequest.
|
|
193
|
+
* Use `create(GetRunDetailsRequestSchema)` to create a new message.
|
|
194
|
+
*/
|
|
195
|
+
export const GetRunDetailsRequestSchema: GenMessage<GetRunDetailsRequest> = /*@__PURE__*/
|
|
196
|
+
messageDesc(file_flyteidl2_workflow_run_service, 4);
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Response message for getting detailed information about a run.
|
|
200
|
+
*
|
|
201
|
+
* @generated from message flyteidl2.workflow.GetRunDetailsResponse
|
|
202
|
+
*/
|
|
203
|
+
export type GetRunDetailsResponse = Message<"flyteidl2.workflow.GetRunDetailsResponse"> & {
|
|
204
|
+
/**
|
|
205
|
+
* Detailed information about the run.
|
|
206
|
+
*
|
|
207
|
+
* @generated from field: flyteidl2.workflow.RunDetails details = 1;
|
|
208
|
+
*/
|
|
209
|
+
details?: RunDetails;
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Describes the message flyteidl2.workflow.GetRunDetailsResponse.
|
|
214
|
+
* Use `create(GetRunDetailsResponseSchema)` to create a new message.
|
|
215
|
+
*/
|
|
216
|
+
export const GetRunDetailsResponseSchema: GenMessage<GetRunDetailsResponse> = /*@__PURE__*/
|
|
217
|
+
messageDesc(file_flyteidl2_workflow_run_service, 5);
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Request message for watching detailed information about a run.
|
|
221
|
+
*
|
|
222
|
+
* @generated from message flyteidl2.workflow.WatchRunDetailsRequest
|
|
223
|
+
*/
|
|
224
|
+
export type WatchRunDetailsRequest = Message<"flyteidl2.workflow.WatchRunDetailsRequest"> & {
|
|
225
|
+
/**
|
|
226
|
+
* Run to query.
|
|
227
|
+
*
|
|
228
|
+
* @generated from field: flyteidl2.common.RunIdentifier run_id = 1;
|
|
229
|
+
*/
|
|
230
|
+
runId?: RunIdentifier;
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Describes the message flyteidl2.workflow.WatchRunDetailsRequest.
|
|
235
|
+
* Use `create(WatchRunDetailsRequestSchema)` to create a new message.
|
|
236
|
+
*/
|
|
237
|
+
export const WatchRunDetailsRequestSchema: GenMessage<WatchRunDetailsRequest> = /*@__PURE__*/
|
|
238
|
+
messageDesc(file_flyteidl2_workflow_run_service, 6);
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Response message for watching detailed information about a run.
|
|
242
|
+
*
|
|
243
|
+
* @generated from message flyteidl2.workflow.WatchRunDetailsResponse
|
|
244
|
+
*/
|
|
245
|
+
export type WatchRunDetailsResponse = Message<"flyteidl2.workflow.WatchRunDetailsResponse"> & {
|
|
246
|
+
/**
|
|
247
|
+
* Detailed information about the run.
|
|
248
|
+
*
|
|
249
|
+
* @generated from field: flyteidl2.workflow.RunDetails details = 1;
|
|
250
|
+
*/
|
|
251
|
+
details?: RunDetails;
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Describes the message flyteidl2.workflow.WatchRunDetailsResponse.
|
|
256
|
+
* Use `create(WatchRunDetailsResponseSchema)` to create a new message.
|
|
257
|
+
*/
|
|
258
|
+
export const WatchRunDetailsResponseSchema: GenMessage<WatchRunDetailsResponse> = /*@__PURE__*/
|
|
259
|
+
messageDesc(file_flyteidl2_workflow_run_service, 7);
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Request message for getting detailed information about an action.
|
|
263
|
+
*
|
|
264
|
+
* @generated from message flyteidl2.workflow.GetActionDetailsRequest
|
|
265
|
+
*/
|
|
266
|
+
export type GetActionDetailsRequest = Message<"flyteidl2.workflow.GetActionDetailsRequest"> & {
|
|
267
|
+
/**
|
|
268
|
+
* Action to query.
|
|
269
|
+
*
|
|
270
|
+
* @generated from field: flyteidl2.common.ActionIdentifier action_id = 1;
|
|
271
|
+
*/
|
|
272
|
+
actionId?: ActionIdentifier;
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Describes the message flyteidl2.workflow.GetActionDetailsRequest.
|
|
277
|
+
* Use `create(GetActionDetailsRequestSchema)` to create a new message.
|
|
278
|
+
*/
|
|
279
|
+
export const GetActionDetailsRequestSchema: GenMessage<GetActionDetailsRequest> = /*@__PURE__*/
|
|
280
|
+
messageDesc(file_flyteidl2_workflow_run_service, 8);
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Response message for getting detailed information about an action.
|
|
284
|
+
*
|
|
285
|
+
* @generated from message flyteidl2.workflow.GetActionDetailsResponse
|
|
286
|
+
*/
|
|
287
|
+
export type GetActionDetailsResponse = Message<"flyteidl2.workflow.GetActionDetailsResponse"> & {
|
|
288
|
+
/**
|
|
289
|
+
* Detailed information about the action.
|
|
290
|
+
*
|
|
291
|
+
* @generated from field: flyteidl2.workflow.ActionDetails details = 1;
|
|
292
|
+
*/
|
|
293
|
+
details?: ActionDetails;
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Describes the message flyteidl2.workflow.GetActionDetailsResponse.
|
|
298
|
+
* Use `create(GetActionDetailsResponseSchema)` to create a new message.
|
|
299
|
+
*/
|
|
300
|
+
export const GetActionDetailsResponseSchema: GenMessage<GetActionDetailsResponse> = /*@__PURE__*/
|
|
301
|
+
messageDesc(file_flyteidl2_workflow_run_service, 9);
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Request message for watching detailed information about an action.
|
|
305
|
+
*
|
|
306
|
+
* @generated from message flyteidl2.workflow.WatchActionDetailsRequest
|
|
307
|
+
*/
|
|
308
|
+
export type WatchActionDetailsRequest = Message<"flyteidl2.workflow.WatchActionDetailsRequest"> & {
|
|
309
|
+
/**
|
|
310
|
+
* Action to query.
|
|
311
|
+
*
|
|
312
|
+
* @generated from field: flyteidl2.common.ActionIdentifier action_id = 1;
|
|
313
|
+
*/
|
|
314
|
+
actionId?: ActionIdentifier;
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Describes the message flyteidl2.workflow.WatchActionDetailsRequest.
|
|
319
|
+
* Use `create(WatchActionDetailsRequestSchema)` to create a new message.
|
|
320
|
+
*/
|
|
321
|
+
export const WatchActionDetailsRequestSchema: GenMessage<WatchActionDetailsRequest> = /*@__PURE__*/
|
|
322
|
+
messageDesc(file_flyteidl2_workflow_run_service, 10);
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Response message for watching detailed information about an action.
|
|
326
|
+
*
|
|
327
|
+
* @generated from message flyteidl2.workflow.WatchActionDetailsResponse
|
|
328
|
+
*/
|
|
329
|
+
export type WatchActionDetailsResponse = Message<"flyteidl2.workflow.WatchActionDetailsResponse"> & {
|
|
330
|
+
/**
|
|
331
|
+
* Detailed information about the action.
|
|
332
|
+
*
|
|
333
|
+
* @generated from field: flyteidl2.workflow.ActionDetails details = 1;
|
|
334
|
+
*/
|
|
335
|
+
details?: ActionDetails;
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Describes the message flyteidl2.workflow.WatchActionDetailsResponse.
|
|
340
|
+
* Use `create(WatchActionDetailsResponseSchema)` to create a new message.
|
|
341
|
+
*/
|
|
342
|
+
export const WatchActionDetailsResponseSchema: GenMessage<WatchActionDetailsResponse> = /*@__PURE__*/
|
|
343
|
+
messageDesc(file_flyteidl2_workflow_run_service, 11);
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Request message for querying action data.
|
|
347
|
+
*
|
|
348
|
+
* @generated from message flyteidl2.workflow.GetActionDataRequest
|
|
349
|
+
*/
|
|
350
|
+
export type GetActionDataRequest = Message<"flyteidl2.workflow.GetActionDataRequest"> & {
|
|
351
|
+
/**
|
|
352
|
+
* Action to query.
|
|
353
|
+
*
|
|
354
|
+
* @generated from field: flyteidl2.common.ActionIdentifier action_id = 1;
|
|
355
|
+
*/
|
|
356
|
+
actionId?: ActionIdentifier;
|
|
357
|
+
};
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Describes the message flyteidl2.workflow.GetActionDataRequest.
|
|
361
|
+
* Use `create(GetActionDataRequestSchema)` to create a new message.
|
|
362
|
+
*/
|
|
363
|
+
export const GetActionDataRequestSchema: GenMessage<GetActionDataRequest> = /*@__PURE__*/
|
|
364
|
+
messageDesc(file_flyteidl2_workflow_run_service, 12);
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Response message for querying action data.
|
|
368
|
+
*
|
|
369
|
+
* @generated from message flyteidl2.workflow.GetActionDataResponse
|
|
370
|
+
*/
|
|
371
|
+
export type GetActionDataResponse = Message<"flyteidl2.workflow.GetActionDataResponse"> & {
|
|
372
|
+
/**
|
|
373
|
+
* Inputs for the action.
|
|
374
|
+
*
|
|
375
|
+
* @generated from field: flyteidl2.task.Inputs inputs = 1;
|
|
376
|
+
*/
|
|
377
|
+
inputs?: Inputs;
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* Outputs for the action.
|
|
381
|
+
*
|
|
382
|
+
* @generated from field: flyteidl2.task.Outputs outputs = 2;
|
|
383
|
+
*/
|
|
384
|
+
outputs?: Outputs;
|
|
385
|
+
};
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Describes the message flyteidl2.workflow.GetActionDataResponse.
|
|
389
|
+
* Use `create(GetActionDataResponseSchema)` to create a new message.
|
|
390
|
+
*/
|
|
391
|
+
export const GetActionDataResponseSchema: GenMessage<GetActionDataResponse> = /*@__PURE__*/
|
|
392
|
+
messageDesc(file_flyteidl2_workflow_run_service, 13);
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Request message for listing runs.
|
|
396
|
+
*
|
|
397
|
+
* @generated from message flyteidl2.workflow.ListRunsRequest
|
|
398
|
+
*/
|
|
399
|
+
export type ListRunsRequest = Message<"flyteidl2.workflow.ListRunsRequest"> & {
|
|
400
|
+
/**
|
|
401
|
+
* Common list request parameters.
|
|
402
|
+
*
|
|
403
|
+
* @generated from field: flyteidl2.common.ListRequest request = 1;
|
|
404
|
+
*/
|
|
405
|
+
request?: ListRequest;
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* @generated from oneof flyteidl2.workflow.ListRunsRequest.scope_by
|
|
409
|
+
*/
|
|
410
|
+
scopeBy: {
|
|
411
|
+
/**
|
|
412
|
+
* Organization name for filtering runs.
|
|
413
|
+
*
|
|
414
|
+
* @generated from field: string org = 2;
|
|
415
|
+
*/
|
|
416
|
+
value: string;
|
|
417
|
+
case: "org";
|
|
418
|
+
} | {
|
|
419
|
+
/**
|
|
420
|
+
* Project identifier for filtering runs.
|
|
421
|
+
*
|
|
422
|
+
* @generated from field: flyteidl2.common.ProjectIdentifier project_id = 4;
|
|
423
|
+
*/
|
|
424
|
+
value: ProjectIdentifier;
|
|
425
|
+
case: "projectId";
|
|
426
|
+
} | {
|
|
427
|
+
/**
|
|
428
|
+
* List runs created from a trigger.
|
|
429
|
+
*
|
|
430
|
+
* @generated from field: flyteidl2.common.TriggerName trigger_name = 6;
|
|
431
|
+
*/
|
|
432
|
+
value: TriggerName;
|
|
433
|
+
case: "triggerName";
|
|
434
|
+
} | { case: undefined; value?: undefined };
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* Describes the message flyteidl2.workflow.ListRunsRequest.
|
|
439
|
+
* Use `create(ListRunsRequestSchema)` to create a new message.
|
|
440
|
+
*/
|
|
441
|
+
export const ListRunsRequestSchema: GenMessage<ListRunsRequest> = /*@__PURE__*/
|
|
442
|
+
messageDesc(file_flyteidl2_workflow_run_service, 14);
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Response message for listing runs.
|
|
446
|
+
*
|
|
447
|
+
* @generated from message flyteidl2.workflow.ListRunsResponse
|
|
448
|
+
*/
|
|
449
|
+
export type ListRunsResponse = Message<"flyteidl2.workflow.ListRunsResponse"> & {
|
|
450
|
+
/**
|
|
451
|
+
* List of runs matching the filter criteria.
|
|
452
|
+
*
|
|
453
|
+
* @generated from field: repeated flyteidl2.workflow.Run runs = 1;
|
|
454
|
+
*/
|
|
455
|
+
runs: Run[];
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* Token for fetching the next page of results, if any.
|
|
459
|
+
*
|
|
460
|
+
* @generated from field: string token = 2;
|
|
461
|
+
*/
|
|
462
|
+
token: string;
|
|
463
|
+
};
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* Describes the message flyteidl2.workflow.ListRunsResponse.
|
|
467
|
+
* Use `create(ListRunsResponseSchema)` to create a new message.
|
|
468
|
+
*/
|
|
469
|
+
export const ListRunsResponseSchema: GenMessage<ListRunsResponse> = /*@__PURE__*/
|
|
470
|
+
messageDesc(file_flyteidl2_workflow_run_service, 15);
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* Request message for watching runs.
|
|
474
|
+
*
|
|
475
|
+
* @generated from message flyteidl2.workflow.WatchRunsRequest
|
|
476
|
+
*/
|
|
477
|
+
export type WatchRunsRequest = Message<"flyteidl2.workflow.WatchRunsRequest"> & {
|
|
478
|
+
/**
|
|
479
|
+
* @generated from oneof flyteidl2.workflow.WatchRunsRequest.target
|
|
480
|
+
*/
|
|
481
|
+
target: {
|
|
482
|
+
/**
|
|
483
|
+
* Organization name for filtering runs.
|
|
484
|
+
*
|
|
485
|
+
* @generated from field: string org = 2;
|
|
486
|
+
*/
|
|
487
|
+
value: string;
|
|
488
|
+
case: "org";
|
|
489
|
+
} | {
|
|
490
|
+
/**
|
|
491
|
+
* Cluster identifier for filtering runs.
|
|
492
|
+
*
|
|
493
|
+
* @generated from field: flyteidl2.common.ClusterIdentifier cluster_id = 3;
|
|
494
|
+
*/
|
|
495
|
+
value: ClusterIdentifier;
|
|
496
|
+
case: "clusterId";
|
|
497
|
+
} | {
|
|
498
|
+
/**
|
|
499
|
+
* Project identifier for filtering runs.
|
|
500
|
+
*
|
|
501
|
+
* @generated from field: flyteidl2.common.ProjectIdentifier project_id = 4;
|
|
502
|
+
*/
|
|
503
|
+
value: ProjectIdentifier;
|
|
504
|
+
case: "projectId";
|
|
505
|
+
} | {
|
|
506
|
+
/**
|
|
507
|
+
* Task identifier for filtering runs.
|
|
508
|
+
*
|
|
509
|
+
* @generated from field: flyteidl2.task.TaskIdentifier task_id = 5;
|
|
510
|
+
*/
|
|
511
|
+
value: TaskIdentifier;
|
|
512
|
+
case: "taskId";
|
|
513
|
+
} | { case: undefined; value?: undefined };
|
|
514
|
+
};
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Describes the message flyteidl2.workflow.WatchRunsRequest.
|
|
518
|
+
* Use `create(WatchRunsRequestSchema)` to create a new message.
|
|
519
|
+
*/
|
|
520
|
+
export const WatchRunsRequestSchema: GenMessage<WatchRunsRequest> = /*@__PURE__*/
|
|
521
|
+
messageDesc(file_flyteidl2_workflow_run_service, 16);
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* Response message for watching runs.
|
|
525
|
+
*
|
|
526
|
+
* @generated from message flyteidl2.workflow.WatchRunsResponse
|
|
527
|
+
*/
|
|
528
|
+
export type WatchRunsResponse = Message<"flyteidl2.workflow.WatchRunsResponse"> & {
|
|
529
|
+
/**
|
|
530
|
+
* New or updated runs matching the filter criteria.
|
|
531
|
+
*
|
|
532
|
+
* @generated from field: repeated flyteidl2.workflow.Run runs = 1;
|
|
533
|
+
*/
|
|
534
|
+
runs: Run[];
|
|
535
|
+
};
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* Describes the message flyteidl2.workflow.WatchRunsResponse.
|
|
539
|
+
* Use `create(WatchRunsResponseSchema)` to create a new message.
|
|
540
|
+
*/
|
|
541
|
+
export const WatchRunsResponseSchema: GenMessage<WatchRunsResponse> = /*@__PURE__*/
|
|
542
|
+
messageDesc(file_flyteidl2_workflow_run_service, 17);
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* Request message for listing actions.
|
|
546
|
+
*
|
|
547
|
+
* @generated from message flyteidl2.workflow.ListActionsRequest
|
|
548
|
+
*/
|
|
549
|
+
export type ListActionsRequest = Message<"flyteidl2.workflow.ListActionsRequest"> & {
|
|
550
|
+
/**
|
|
551
|
+
* Common list request parameters.
|
|
552
|
+
*
|
|
553
|
+
* @generated from field: flyteidl2.common.ListRequest request = 1;
|
|
554
|
+
*/
|
|
555
|
+
request?: ListRequest;
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* Run identifier for filtering actions.
|
|
559
|
+
*
|
|
560
|
+
* @generated from field: flyteidl2.common.RunIdentifier run_id = 2;
|
|
561
|
+
*/
|
|
562
|
+
runId?: RunIdentifier;
|
|
563
|
+
};
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* Describes the message flyteidl2.workflow.ListActionsRequest.
|
|
567
|
+
* Use `create(ListActionsRequestSchema)` to create a new message.
|
|
568
|
+
*/
|
|
569
|
+
export const ListActionsRequestSchema: GenMessage<ListActionsRequest> = /*@__PURE__*/
|
|
570
|
+
messageDesc(file_flyteidl2_workflow_run_service, 18);
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* Response message for listing actions.
|
|
574
|
+
*
|
|
575
|
+
* @generated from message flyteidl2.workflow.ListActionsResponse
|
|
576
|
+
*/
|
|
577
|
+
export type ListActionsResponse = Message<"flyteidl2.workflow.ListActionsResponse"> & {
|
|
578
|
+
/**
|
|
579
|
+
* List of actions matching the filter criteria.
|
|
580
|
+
*
|
|
581
|
+
* @generated from field: repeated flyteidl2.workflow.Action actions = 1;
|
|
582
|
+
*/
|
|
583
|
+
actions: Action[];
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Token for fetching the next page of results, if any.
|
|
587
|
+
*
|
|
588
|
+
* @generated from field: string token = 2;
|
|
589
|
+
*/
|
|
590
|
+
token: string;
|
|
591
|
+
};
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* Describes the message flyteidl2.workflow.ListActionsResponse.
|
|
595
|
+
* Use `create(ListActionsResponseSchema)` to create a new message.
|
|
596
|
+
*/
|
|
597
|
+
export const ListActionsResponseSchema: GenMessage<ListActionsResponse> = /*@__PURE__*/
|
|
598
|
+
messageDesc(file_flyteidl2_workflow_run_service, 19);
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* Request message for watching actions.
|
|
602
|
+
*
|
|
603
|
+
* @generated from message flyteidl2.workflow.WatchActionsRequest
|
|
604
|
+
*/
|
|
605
|
+
export type WatchActionsRequest = Message<"flyteidl2.workflow.WatchActionsRequest"> & {
|
|
606
|
+
/**
|
|
607
|
+
* Run identifier for filtering actions.
|
|
608
|
+
*
|
|
609
|
+
* @generated from field: flyteidl2.common.RunIdentifier run_id = 1;
|
|
610
|
+
*/
|
|
611
|
+
runId?: RunIdentifier;
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* Optional filter(s) criteria for actions.
|
|
615
|
+
* Valid filter fields include:
|
|
616
|
+
* - NAME (must use function CONTAINS_CASE_INSENSITIVE): the value is whatever string to match to. This will cast all strings to lowercase and match.
|
|
617
|
+
* - PHASE (must use function VALUE_IN): the value is the stringified integer of the enum of the phase and you can pass multiple phases (i.e. ["1", "4"])
|
|
618
|
+
*
|
|
619
|
+
* @generated from field: repeated flyteidl2.common.Filter filter = 2;
|
|
620
|
+
*/
|
|
621
|
+
filter: Filter[];
|
|
622
|
+
};
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* Describes the message flyteidl2.workflow.WatchActionsRequest.
|
|
626
|
+
* Use `create(WatchActionsRequestSchema)` to create a new message.
|
|
627
|
+
*/
|
|
628
|
+
export const WatchActionsRequestSchema: GenMessage<WatchActionsRequest> = /*@__PURE__*/
|
|
629
|
+
messageDesc(file_flyteidl2_workflow_run_service, 20);
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* Response message for watching actions, comes with enriched action metadata.
|
|
633
|
+
*
|
|
634
|
+
* @generated from message flyteidl2.workflow.WatchActionsResponse
|
|
635
|
+
*/
|
|
636
|
+
export type WatchActionsResponse = Message<"flyteidl2.workflow.WatchActionsResponse"> & {
|
|
637
|
+
/**
|
|
638
|
+
* New or updated actions matching the filter criteria. Enriched with children status counts
|
|
639
|
+
*
|
|
640
|
+
* @generated from field: repeated flyteidl2.workflow.EnrichedAction enriched_actions = 1;
|
|
641
|
+
*/
|
|
642
|
+
enrichedActions: EnrichedAction[];
|
|
643
|
+
};
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Describes the message flyteidl2.workflow.WatchActionsResponse.
|
|
647
|
+
* Use `create(WatchActionsResponseSchema)` to create a new message.
|
|
648
|
+
*/
|
|
649
|
+
export const WatchActionsResponseSchema: GenMessage<WatchActionsResponse> = /*@__PURE__*/
|
|
650
|
+
messageDesc(file_flyteidl2_workflow_run_service, 21);
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* @generated from message flyteidl2.workflow.WatchClusterEventsRequest
|
|
654
|
+
*/
|
|
655
|
+
export type WatchClusterEventsRequest = Message<"flyteidl2.workflow.WatchClusterEventsRequest"> & {
|
|
656
|
+
/**
|
|
657
|
+
* @generated from field: flyteidl2.common.ActionIdentifier id = 1;
|
|
658
|
+
*/
|
|
659
|
+
id?: ActionIdentifier;
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* @generated from field: uint32 attempt = 2;
|
|
663
|
+
*/
|
|
664
|
+
attempt: number;
|
|
665
|
+
};
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* Describes the message flyteidl2.workflow.WatchClusterEventsRequest.
|
|
669
|
+
* Use `create(WatchClusterEventsRequestSchema)` to create a new message.
|
|
670
|
+
*/
|
|
671
|
+
export const WatchClusterEventsRequestSchema: GenMessage<WatchClusterEventsRequest> = /*@__PURE__*/
|
|
672
|
+
messageDesc(file_flyteidl2_workflow_run_service, 22);
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* @generated from message flyteidl2.workflow.WatchClusterEventsResponse
|
|
676
|
+
*/
|
|
677
|
+
export type WatchClusterEventsResponse = Message<"flyteidl2.workflow.WatchClusterEventsResponse"> & {
|
|
678
|
+
/**
|
|
679
|
+
* @generated from field: repeated flyteidl2.workflow.ClusterEvent cluster_events = 1;
|
|
680
|
+
*/
|
|
681
|
+
clusterEvents: ClusterEvent[];
|
|
682
|
+
};
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* Describes the message flyteidl2.workflow.WatchClusterEventsResponse.
|
|
686
|
+
* Use `create(WatchClusterEventsResponseSchema)` to create a new message.
|
|
687
|
+
*/
|
|
688
|
+
export const WatchClusterEventsResponseSchema: GenMessage<WatchClusterEventsResponse> = /*@__PURE__*/
|
|
689
|
+
messageDesc(file_flyteidl2_workflow_run_service, 23);
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* @generated from message flyteidl2.workflow.AbortActionRequest
|
|
693
|
+
*/
|
|
694
|
+
export type AbortActionRequest = Message<"flyteidl2.workflow.AbortActionRequest"> & {
|
|
695
|
+
/**
|
|
696
|
+
* Action to abort.
|
|
697
|
+
*
|
|
698
|
+
* @generated from field: flyteidl2.common.ActionIdentifier action_id = 1;
|
|
699
|
+
*/
|
|
700
|
+
actionId?: ActionIdentifier;
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Optional reason for aborting the action.
|
|
704
|
+
*
|
|
705
|
+
* @generated from field: string reason = 2;
|
|
706
|
+
*/
|
|
707
|
+
reason: string;
|
|
708
|
+
};
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Describes the message flyteidl2.workflow.AbortActionRequest.
|
|
712
|
+
* Use `create(AbortActionRequestSchema)` to create a new message.
|
|
713
|
+
*/
|
|
714
|
+
export const AbortActionRequestSchema: GenMessage<AbortActionRequest> = /*@__PURE__*/
|
|
715
|
+
messageDesc(file_flyteidl2_workflow_run_service, 24);
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* @generated from message flyteidl2.workflow.AbortActionResponse
|
|
719
|
+
*/
|
|
720
|
+
export type AbortActionResponse = Message<"flyteidl2.workflow.AbortActionResponse"> & {
|
|
721
|
+
};
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* Describes the message flyteidl2.workflow.AbortActionResponse.
|
|
725
|
+
* Use `create(AbortActionResponseSchema)` to create a new message.
|
|
726
|
+
*/
|
|
727
|
+
export const AbortActionResponseSchema: GenMessage<AbortActionResponse> = /*@__PURE__*/
|
|
728
|
+
messageDesc(file_flyteidl2_workflow_run_service, 25);
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* RunService provides an interface for managing runs.
|
|
732
|
+
*
|
|
733
|
+
* @generated from service flyteidl2.workflow.RunService
|
|
734
|
+
*/
|
|
735
|
+
export const RunService: GenService<{
|
|
736
|
+
/**
|
|
737
|
+
* Create a new run of the given task.
|
|
738
|
+
*
|
|
739
|
+
* @generated from rpc flyteidl2.workflow.RunService.CreateRun
|
|
740
|
+
*/
|
|
741
|
+
createRun: {
|
|
742
|
+
methodKind: "unary";
|
|
743
|
+
input: typeof CreateRunRequestSchema;
|
|
744
|
+
output: typeof CreateRunResponseSchema;
|
|
745
|
+
},
|
|
746
|
+
/**
|
|
747
|
+
* Abort a run.
|
|
748
|
+
*
|
|
749
|
+
* @generated from rpc flyteidl2.workflow.RunService.AbortRun
|
|
750
|
+
*/
|
|
751
|
+
abortRun: {
|
|
752
|
+
methodKind: "unary";
|
|
753
|
+
input: typeof AbortRunRequestSchema;
|
|
754
|
+
output: typeof AbortRunResponseSchema;
|
|
755
|
+
},
|
|
756
|
+
/**
|
|
757
|
+
* Get detailed information about a run.
|
|
758
|
+
*
|
|
759
|
+
* @generated from rpc flyteidl2.workflow.RunService.GetRunDetails
|
|
760
|
+
*/
|
|
761
|
+
getRunDetails: {
|
|
762
|
+
methodKind: "unary";
|
|
763
|
+
input: typeof GetRunDetailsRequestSchema;
|
|
764
|
+
output: typeof GetRunDetailsResponseSchema;
|
|
765
|
+
},
|
|
766
|
+
/**
|
|
767
|
+
* Stream detailed information updates about a run. The call will terminate when the run reaches a terminal phase.
|
|
768
|
+
*
|
|
769
|
+
* @generated from rpc flyteidl2.workflow.RunService.WatchRunDetails
|
|
770
|
+
*/
|
|
771
|
+
watchRunDetails: {
|
|
772
|
+
methodKind: "server_streaming";
|
|
773
|
+
input: typeof WatchRunDetailsRequestSchema;
|
|
774
|
+
output: typeof WatchRunDetailsResponseSchema;
|
|
775
|
+
},
|
|
776
|
+
/**
|
|
777
|
+
* Get detailed information about an action.
|
|
778
|
+
*
|
|
779
|
+
* @generated from rpc flyteidl2.workflow.RunService.GetActionDetails
|
|
780
|
+
*/
|
|
781
|
+
getActionDetails: {
|
|
782
|
+
methodKind: "unary";
|
|
783
|
+
input: typeof GetActionDetailsRequestSchema;
|
|
784
|
+
output: typeof GetActionDetailsResponseSchema;
|
|
785
|
+
},
|
|
786
|
+
/**
|
|
787
|
+
* Stream detailed information updates about an action. The call will terminate when the action reaches a terminal phase.
|
|
788
|
+
*
|
|
789
|
+
* @generated from rpc flyteidl2.workflow.RunService.WatchActionDetails
|
|
790
|
+
*/
|
|
791
|
+
watchActionDetails: {
|
|
792
|
+
methodKind: "server_streaming";
|
|
793
|
+
input: typeof WatchActionDetailsRequestSchema;
|
|
794
|
+
output: typeof WatchActionDetailsResponseSchema;
|
|
795
|
+
},
|
|
796
|
+
/**
|
|
797
|
+
* Get input and output for an action.
|
|
798
|
+
*
|
|
799
|
+
* @generated from rpc flyteidl2.workflow.RunService.GetActionData
|
|
800
|
+
*/
|
|
801
|
+
getActionData: {
|
|
802
|
+
methodKind: "unary";
|
|
803
|
+
input: typeof GetActionDataRequestSchema;
|
|
804
|
+
output: typeof GetActionDataResponseSchema;
|
|
805
|
+
},
|
|
806
|
+
/**
|
|
807
|
+
* List runs based on the provided filter criteria.
|
|
808
|
+
*
|
|
809
|
+
* @generated from rpc flyteidl2.workflow.RunService.ListRuns
|
|
810
|
+
*/
|
|
811
|
+
listRuns: {
|
|
812
|
+
methodKind: "unary";
|
|
813
|
+
input: typeof ListRunsRequestSchema;
|
|
814
|
+
output: typeof ListRunsResponseSchema;
|
|
815
|
+
},
|
|
816
|
+
/**
|
|
817
|
+
* Stream updates for runs based on the provided filter criteria. Responses may include newly discovered
|
|
818
|
+
* runs or updates to existing ones from the point of invocation.
|
|
819
|
+
*
|
|
820
|
+
* @generated from rpc flyteidl2.workflow.RunService.WatchRuns
|
|
821
|
+
*/
|
|
822
|
+
watchRuns: {
|
|
823
|
+
methodKind: "server_streaming";
|
|
824
|
+
input: typeof WatchRunsRequestSchema;
|
|
825
|
+
output: typeof WatchRunsResponseSchema;
|
|
826
|
+
},
|
|
827
|
+
/**
|
|
828
|
+
* List all actions for a given run.
|
|
829
|
+
*
|
|
830
|
+
* @generated from rpc flyteidl2.workflow.RunService.ListActions
|
|
831
|
+
*/
|
|
832
|
+
listActions: {
|
|
833
|
+
methodKind: "unary";
|
|
834
|
+
input: typeof ListActionsRequestSchema;
|
|
835
|
+
output: typeof ListActionsResponseSchema;
|
|
836
|
+
},
|
|
837
|
+
/**
|
|
838
|
+
* Stream updates for actions given a run. Responses may include newly discovered nested runs or updates
|
|
839
|
+
* to existing ones from the point of invocation.
|
|
840
|
+
*
|
|
841
|
+
* @generated from rpc flyteidl2.workflow.RunService.WatchActions
|
|
842
|
+
*/
|
|
843
|
+
watchActions: {
|
|
844
|
+
methodKind: "server_streaming";
|
|
845
|
+
input: typeof WatchActionsRequestSchema;
|
|
846
|
+
output: typeof WatchActionsResponseSchema;
|
|
847
|
+
},
|
|
848
|
+
/**
|
|
849
|
+
* Stream of k8s cluster events in human readable form
|
|
850
|
+
*
|
|
851
|
+
* @generated from rpc flyteidl2.workflow.RunService.WatchClusterEvents
|
|
852
|
+
*/
|
|
853
|
+
watchClusterEvents: {
|
|
854
|
+
methodKind: "server_streaming";
|
|
855
|
+
input: typeof WatchClusterEventsRequestSchema;
|
|
856
|
+
output: typeof WatchClusterEventsResponseSchema;
|
|
857
|
+
},
|
|
858
|
+
/**
|
|
859
|
+
* AbortAction aborts a single action that was previously created or is currently being processed by a worker.
|
|
860
|
+
*
|
|
861
|
+
* @generated from rpc flyteidl2.workflow.RunService.AbortAction
|
|
862
|
+
*/
|
|
863
|
+
abortAction: {
|
|
864
|
+
methodKind: "unary";
|
|
865
|
+
input: typeof AbortActionRequestSchema;
|
|
866
|
+
output: typeof AbortActionResponseSchema;
|
|
867
|
+
},
|
|
868
|
+
}> = /*@__PURE__*/
|
|
869
|
+
serviceDesc(file_flyteidl2_workflow_run_service, 0);
|
|
870
|
+
|