@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
|
@@ -2,20 +2,30 @@
|
|
|
2
2
|
// @generated from file flyteidl2/dataproxy/dataproxy_service.proto (package flyteidl2.dataproxy, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
-
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
7
|
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
-
import {
|
|
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, ProjectIdentifier, RunIdentifier, TriggerName } from "../common/identifier_pb.ts";
|
|
11
|
+
import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
|
|
12
|
+
import type { OffloadedInputData } from "../common/run_pb.ts";
|
|
13
|
+
import { file_flyteidl2_common_run } from "../common/run_pb.ts";
|
|
14
|
+
import type { LogLine } from "../logs/dataplane/payload_pb.ts";
|
|
15
|
+
import { file_flyteidl2_logs_dataplane_payload } from "../logs/dataplane/payload_pb.ts";
|
|
16
|
+
import type { Inputs, Outputs } from "../task/common_pb.ts";
|
|
17
|
+
import { file_flyteidl2_task_common } from "../task/common_pb.ts";
|
|
18
|
+
import type { TaskIdentifier, TaskSpec } from "../task/task_definition_pb.ts";
|
|
19
|
+
import { file_flyteidl2_task_task_definition } from "../task/task_definition_pb.ts";
|
|
9
20
|
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
10
21
|
import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
11
|
-
import { file_protoc_gen_openapiv2_options_annotations } from "../../protoc-gen-openapiv2/options/annotations_pb.ts";
|
|
12
22
|
import type { Message } from "@bufbuild/protobuf";
|
|
13
23
|
|
|
14
24
|
/**
|
|
15
25
|
* Describes the file flyteidl2/dataproxy/dataproxy_service.proto.
|
|
16
26
|
*/
|
|
17
27
|
export const file_flyteidl2_dataproxy_dataproxy_service: GenFile = /*@__PURE__*/
|
|
18
|
-
fileDesc("
|
|
28
|
+
fileDesc("CitmbHl0ZWlkbDIvZGF0YXByb3h5L2RhdGFwcm94eV9zZXJ2aWNlLnByb3RvEhNmbHl0ZWlkbDIu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aW9uRGF0YRIpLmZseXRlaWRsMi5kYXRhcHJveHkuR2V0QWN0aW9uRGF0YVJlcXVlc3QaKi5mbHl0ZWlkbDIuZGF0YXByb3h5LkdldEFjdGlvbkRhdGFSZXNwb25zZSIDkAIBElsKCFRhaWxMb2dzEiQuZmx5dGVpZGwyLmRhdGFwcm94eS5UYWlsTG9nc1JlcXVlc3QaJS5mbHl0ZWlkbDIuZGF0YXByb3h5LlRhaWxMb2dzUmVzcG9uc2UiADABQtgBChdjb20uZmx5dGVpZGwyLmRhdGFwcm94eUIVRGF0YXByb3h5U2VydmljZVByb3RvSAJQAVo3Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL2RhdGFwcm94eaICA0ZEWKoCE0ZseXRlaWRsMi5EYXRhcHJveHnKAhNGbHl0ZWlkbDJcRGF0YXByb3h54gIfRmx5dGVpZGwyXERhdGFwcm94eVxHUEJNZXRhZGF0YeoCFEZseXRlaWRsMjo6RGF0YXByb3h5YgZwcm90bzM", [file_buf_validate_validate, file_flyteidl2_app_app_definition, file_flyteidl2_common_identifier, file_flyteidl2_common_run, file_flyteidl2_logs_dataplane_payload, file_flyteidl2_task_common, file_flyteidl2_task_task_definition, file_google_protobuf_duration, file_google_protobuf_timestamp]);
|
|
19
29
|
|
|
20
30
|
/**
|
|
21
31
|
* CreateUploadLocationRequest specifies the request for the CreateUploadLocation API.
|
|
@@ -156,6 +166,360 @@ export type CreateUploadLocationResponse = Message<"flyteidl2.dataproxy.CreateUp
|
|
|
156
166
|
export const CreateUploadLocationResponseSchema: GenMessage<CreateUploadLocationResponse> = /*@__PURE__*/
|
|
157
167
|
messageDesc(file_flyteidl2_dataproxy_dataproxy_service, 1);
|
|
158
168
|
|
|
169
|
+
/**
|
|
170
|
+
* @generated from message flyteidl2.dataproxy.UploadInputsRequest
|
|
171
|
+
*/
|
|
172
|
+
export type UploadInputsRequest = Message<"flyteidl2.dataproxy.UploadInputsRequest"> & {
|
|
173
|
+
/**
|
|
174
|
+
* @generated from oneof flyteidl2.dataproxy.UploadInputsRequest.id
|
|
175
|
+
*/
|
|
176
|
+
id: {
|
|
177
|
+
/**
|
|
178
|
+
* The user provided run id.
|
|
179
|
+
*
|
|
180
|
+
* @generated from field: flyteidl2.common.RunIdentifier run_id = 1;
|
|
181
|
+
*/
|
|
182
|
+
value: RunIdentifier;
|
|
183
|
+
case: "runId";
|
|
184
|
+
} | {
|
|
185
|
+
/**
|
|
186
|
+
* The project id for this run. Run name will be generated.
|
|
187
|
+
*
|
|
188
|
+
* @generated from field: flyteidl2.common.ProjectIdentifier project_id = 2;
|
|
189
|
+
*/
|
|
190
|
+
value: ProjectIdentifier;
|
|
191
|
+
case: "projectId";
|
|
192
|
+
} | { case: undefined; value?: undefined };
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* The task these inputs are used for.
|
|
196
|
+
* This is used to determine which inputs can be excluded from the hash used for cache key computation in a subsequent CreateRun call.
|
|
197
|
+
*
|
|
198
|
+
* @generated from oneof flyteidl2.dataproxy.UploadInputsRequest.task
|
|
199
|
+
*/
|
|
200
|
+
task: {
|
|
201
|
+
/**
|
|
202
|
+
* The task id to use.
|
|
203
|
+
*
|
|
204
|
+
* @generated from field: flyteidl2.task.TaskIdentifier task_id = 3;
|
|
205
|
+
*/
|
|
206
|
+
value: TaskIdentifier;
|
|
207
|
+
case: "taskId";
|
|
208
|
+
} | {
|
|
209
|
+
/**
|
|
210
|
+
* The task spec to use.
|
|
211
|
+
*
|
|
212
|
+
* @generated from field: flyteidl2.task.TaskSpec task_spec = 4;
|
|
213
|
+
*/
|
|
214
|
+
value: TaskSpec;
|
|
215
|
+
case: "taskSpec";
|
|
216
|
+
} | {
|
|
217
|
+
/**
|
|
218
|
+
* The trigger name to use.
|
|
219
|
+
*
|
|
220
|
+
* @generated from field: flyteidl2.common.TriggerName trigger_name = 5;
|
|
221
|
+
*/
|
|
222
|
+
value: TriggerName;
|
|
223
|
+
case: "triggerName";
|
|
224
|
+
} | { case: undefined; value?: undefined };
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* The actual inputs.
|
|
228
|
+
*
|
|
229
|
+
* @generated from field: flyteidl2.task.Inputs inputs = 6;
|
|
230
|
+
*/
|
|
231
|
+
inputs?: Inputs;
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Describes the message flyteidl2.dataproxy.UploadInputsRequest.
|
|
236
|
+
* Use `create(UploadInputsRequestSchema)` to create a new message.
|
|
237
|
+
*/
|
|
238
|
+
export const UploadInputsRequestSchema: GenMessage<UploadInputsRequest> = /*@__PURE__*/
|
|
239
|
+
messageDesc(file_flyteidl2_dataproxy_dataproxy_service, 2);
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* @generated from message flyteidl2.dataproxy.UploadInputsResponse
|
|
243
|
+
*/
|
|
244
|
+
export type UploadInputsResponse = Message<"flyteidl2.dataproxy.UploadInputsResponse"> & {
|
|
245
|
+
/**
|
|
246
|
+
* @generated from field: flyteidl2.common.OffloadedInputData offloaded_input_data = 1;
|
|
247
|
+
*/
|
|
248
|
+
offloadedInputData?: OffloadedInputData;
|
|
249
|
+
};
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* Describes the message flyteidl2.dataproxy.UploadInputsResponse.
|
|
253
|
+
* Use `create(UploadInputsResponseSchema)` to create a new message.
|
|
254
|
+
*/
|
|
255
|
+
export const UploadInputsResponseSchema: GenMessage<UploadInputsResponse> = /*@__PURE__*/
|
|
256
|
+
messageDesc(file_flyteidl2_dataproxy_dataproxy_service, 3);
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* PreSignedURLs contains a list of signed URLs for downloading artifacts.
|
|
260
|
+
*
|
|
261
|
+
* @generated from message flyteidl2.dataproxy.PreSignedURLs
|
|
262
|
+
*/
|
|
263
|
+
export type PreSignedURLs = Message<"flyteidl2.dataproxy.PreSignedURLs"> & {
|
|
264
|
+
/**
|
|
265
|
+
* SignedUrl are the pre-signed URLs for downloading the artifact.
|
|
266
|
+
*
|
|
267
|
+
* @generated from field: repeated string signed_url = 1;
|
|
268
|
+
*/
|
|
269
|
+
signedUrl: string[];
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* ExpiresAt defines when the signed URLs will expire.
|
|
273
|
+
*
|
|
274
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 2;
|
|
275
|
+
*/
|
|
276
|
+
expiresAt?: Timestamp;
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Describes the message flyteidl2.dataproxy.PreSignedURLs.
|
|
281
|
+
* Use `create(PreSignedURLsSchema)` to create a new message.
|
|
282
|
+
*/
|
|
283
|
+
export const PreSignedURLsSchema: GenMessage<PreSignedURLs> = /*@__PURE__*/
|
|
284
|
+
messageDesc(file_flyteidl2_dataproxy_dataproxy_service, 4);
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* CreateDownloadLinkRequest specifies the request for the CreateDownloadLink API.
|
|
288
|
+
*
|
|
289
|
+
* @generated from message flyteidl2.dataproxy.CreateDownloadLinkRequest
|
|
290
|
+
*/
|
|
291
|
+
export type CreateDownloadLinkRequest = Message<"flyteidl2.dataproxy.CreateDownloadLinkRequest"> & {
|
|
292
|
+
/**
|
|
293
|
+
* ArtifactType is the type of artifact to download.
|
|
294
|
+
* +required
|
|
295
|
+
*
|
|
296
|
+
* @generated from field: flyteidl2.dataproxy.ArtifactType artifact_type = 1;
|
|
297
|
+
*/
|
|
298
|
+
artifactType: ArtifactType;
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* ExpiresIn defines the requested expiration duration for the generated URLs. The request will be
|
|
302
|
+
* rejected if this exceeds the platform's configured maximum.
|
|
303
|
+
* +optional. The default value comes from the global config.
|
|
304
|
+
*
|
|
305
|
+
* @generated from field: google.protobuf.Duration expires_in = 2;
|
|
306
|
+
*/
|
|
307
|
+
expiresIn?: Duration;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Source identifies the action attempt whose artifact is to be downloaded.
|
|
311
|
+
*
|
|
312
|
+
* @generated from oneof flyteidl2.dataproxy.CreateDownloadLinkRequest.source
|
|
313
|
+
*/
|
|
314
|
+
source: {
|
|
315
|
+
/**
|
|
316
|
+
* ActionAttemptId identifies the specific attempt of a run action that produced the artifact.
|
|
317
|
+
*
|
|
318
|
+
* @generated from field: flyteidl2.common.ActionAttemptIdentifier action_attempt_id = 3;
|
|
319
|
+
*/
|
|
320
|
+
value: ActionAttemptIdentifier;
|
|
321
|
+
case: "actionAttemptId";
|
|
322
|
+
} | {
|
|
323
|
+
/**
|
|
324
|
+
* @generated from field: flyteidl2.app.Identifier app_id = 4;
|
|
325
|
+
*/
|
|
326
|
+
value: Identifier;
|
|
327
|
+
case: "appId";
|
|
328
|
+
} | {
|
|
329
|
+
/**
|
|
330
|
+
* @generated from field: flyteidl2.task.TaskIdentifier task_id = 5;
|
|
331
|
+
*/
|
|
332
|
+
value: TaskIdentifier;
|
|
333
|
+
case: "taskId";
|
|
334
|
+
} | { case: undefined; value?: undefined };
|
|
335
|
+
};
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Describes the message flyteidl2.dataproxy.CreateDownloadLinkRequest.
|
|
339
|
+
* Use `create(CreateDownloadLinkRequestSchema)` to create a new message.
|
|
340
|
+
*/
|
|
341
|
+
export const CreateDownloadLinkRequestSchema: GenMessage<CreateDownloadLinkRequest> = /*@__PURE__*/
|
|
342
|
+
messageDesc(file_flyteidl2_dataproxy_dataproxy_service, 5);
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* CreateDownloadLinkResponse specifies the response for the CreateDownloadLink API.
|
|
346
|
+
*
|
|
347
|
+
* @generated from message flyteidl2.dataproxy.CreateDownloadLinkResponse
|
|
348
|
+
*/
|
|
349
|
+
export type CreateDownloadLinkResponse = Message<"flyteidl2.dataproxy.CreateDownloadLinkResponse"> & {
|
|
350
|
+
/**
|
|
351
|
+
* PreSignedUrls contains the signed URLs and their expiration time.
|
|
352
|
+
*
|
|
353
|
+
* @generated from field: flyteidl2.dataproxy.PreSignedURLs pre_signed_urls = 1;
|
|
354
|
+
*/
|
|
355
|
+
preSignedUrls?: PreSignedURLs;
|
|
356
|
+
};
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* Describes the message flyteidl2.dataproxy.CreateDownloadLinkResponse.
|
|
360
|
+
* Use `create(CreateDownloadLinkResponseSchema)` to create a new message.
|
|
361
|
+
*/
|
|
362
|
+
export const CreateDownloadLinkResponseSchema: GenMessage<CreateDownloadLinkResponse> = /*@__PURE__*/
|
|
363
|
+
messageDesc(file_flyteidl2_dataproxy_dataproxy_service, 6);
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Request message for querying action data.
|
|
367
|
+
*
|
|
368
|
+
* @generated from message flyteidl2.dataproxy.GetActionDataRequest
|
|
369
|
+
*/
|
|
370
|
+
export type GetActionDataRequest = Message<"flyteidl2.dataproxy.GetActionDataRequest"> & {
|
|
371
|
+
/**
|
|
372
|
+
* Action to query.
|
|
373
|
+
*
|
|
374
|
+
* @generated from field: flyteidl2.common.ActionIdentifier action_id = 1;
|
|
375
|
+
*/
|
|
376
|
+
actionId?: ActionIdentifier;
|
|
377
|
+
};
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* Describes the message flyteidl2.dataproxy.GetActionDataRequest.
|
|
381
|
+
* Use `create(GetActionDataRequestSchema)` to create a new message.
|
|
382
|
+
*/
|
|
383
|
+
export const GetActionDataRequestSchema: GenMessage<GetActionDataRequest> = /*@__PURE__*/
|
|
384
|
+
messageDesc(file_flyteidl2_dataproxy_dataproxy_service, 7);
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Response message for querying action data.
|
|
388
|
+
*
|
|
389
|
+
* @generated from message flyteidl2.dataproxy.GetActionDataResponse
|
|
390
|
+
*/
|
|
391
|
+
export type GetActionDataResponse = Message<"flyteidl2.dataproxy.GetActionDataResponse"> & {
|
|
392
|
+
/**
|
|
393
|
+
* Inputs for the action.
|
|
394
|
+
*
|
|
395
|
+
* @generated from field: flyteidl2.task.Inputs inputs = 1;
|
|
396
|
+
*/
|
|
397
|
+
inputs?: Inputs;
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Outputs for the action.
|
|
401
|
+
*
|
|
402
|
+
* @generated from field: flyteidl2.task.Outputs outputs = 2;
|
|
403
|
+
*/
|
|
404
|
+
outputs?: Outputs;
|
|
405
|
+
};
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* Describes the message flyteidl2.dataproxy.GetActionDataResponse.
|
|
409
|
+
* Use `create(GetActionDataResponseSchema)` to create a new message.
|
|
410
|
+
*/
|
|
411
|
+
export const GetActionDataResponseSchema: GenMessage<GetActionDataResponse> = /*@__PURE__*/
|
|
412
|
+
messageDesc(file_flyteidl2_dataproxy_dataproxy_service, 8);
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* Request message for tailing logs.
|
|
416
|
+
*
|
|
417
|
+
* @generated from message flyteidl2.dataproxy.TailLogsRequest
|
|
418
|
+
*/
|
|
419
|
+
export type TailLogsRequest = Message<"flyteidl2.dataproxy.TailLogsRequest"> & {
|
|
420
|
+
/**
|
|
421
|
+
* The action id.
|
|
422
|
+
*
|
|
423
|
+
* @generated from field: flyteidl2.common.ActionIdentifier action_id = 1;
|
|
424
|
+
*/
|
|
425
|
+
actionId?: ActionIdentifier;
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* The attempt number.
|
|
429
|
+
*
|
|
430
|
+
* @generated from field: uint32 attempt = 2;
|
|
431
|
+
*/
|
|
432
|
+
attempt: number;
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* The pod name to tail logs from. If not provided, attempt to find the primary pod, else assume the first pod.
|
|
436
|
+
*
|
|
437
|
+
* @generated from field: string pod_name = 3;
|
|
438
|
+
*/
|
|
439
|
+
podName: string;
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* Describes the message flyteidl2.dataproxy.TailLogsRequest.
|
|
444
|
+
* Use `create(TailLogsRequestSchema)` to create a new message.
|
|
445
|
+
*/
|
|
446
|
+
export const TailLogsRequestSchema: GenMessage<TailLogsRequest> = /*@__PURE__*/
|
|
447
|
+
messageDesc(file_flyteidl2_dataproxy_dataproxy_service, 9);
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Reponse message for tailing logs.
|
|
451
|
+
*
|
|
452
|
+
* @generated from message flyteidl2.dataproxy.TailLogsResponse
|
|
453
|
+
*/
|
|
454
|
+
export type TailLogsResponse = Message<"flyteidl2.dataproxy.TailLogsResponse"> & {
|
|
455
|
+
/**
|
|
456
|
+
* One or more batches of logs.
|
|
457
|
+
*
|
|
458
|
+
* @generated from field: repeated flyteidl2.dataproxy.TailLogsResponse.Logs logs = 1;
|
|
459
|
+
*/
|
|
460
|
+
logs: TailLogsResponse_Logs[];
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Describes the message flyteidl2.dataproxy.TailLogsResponse.
|
|
465
|
+
* Use `create(TailLogsResponseSchema)` to create a new message.
|
|
466
|
+
*/
|
|
467
|
+
export const TailLogsResponseSchema: GenMessage<TailLogsResponse> = /*@__PURE__*/
|
|
468
|
+
messageDesc(file_flyteidl2_dataproxy_dataproxy_service, 10);
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* A batch of logs.
|
|
472
|
+
*
|
|
473
|
+
* @generated from message flyteidl2.dataproxy.TailLogsResponse.Logs
|
|
474
|
+
*/
|
|
475
|
+
export type TailLogsResponse_Logs = Message<"flyteidl2.dataproxy.TailLogsResponse.Logs"> & {
|
|
476
|
+
/**
|
|
477
|
+
* Structured log lines.
|
|
478
|
+
*
|
|
479
|
+
* @generated from field: repeated flyteidl2.logs.dataplane.LogLine lines = 1;
|
|
480
|
+
*/
|
|
481
|
+
lines: LogLine[];
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* Describes the message flyteidl2.dataproxy.TailLogsResponse.Logs.
|
|
486
|
+
* Use `create(TailLogsResponse_LogsSchema)` to create a new message.
|
|
487
|
+
*/
|
|
488
|
+
export const TailLogsResponse_LogsSchema: GenMessage<TailLogsResponse_Logs> = /*@__PURE__*/
|
|
489
|
+
messageDesc(file_flyteidl2_dataproxy_dataproxy_service, 10, 0);
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* ArtifactType defines the type of artifact to be downloaded.
|
|
493
|
+
*
|
|
494
|
+
* @generated from enum flyteidl2.dataproxy.ArtifactType
|
|
495
|
+
*/
|
|
496
|
+
export enum ArtifactType {
|
|
497
|
+
/**
|
|
498
|
+
* @generated from enum value: ARTIFACT_TYPE_UNSPECIFIED = 0;
|
|
499
|
+
*/
|
|
500
|
+
UNSPECIFIED = 0,
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* ARTIFACT_TYPE_REPORT refers to the HTML report file optionally generated after a task finishes executing.
|
|
504
|
+
*
|
|
505
|
+
* @generated from enum value: ARTIFACT_TYPE_REPORT = 1;
|
|
506
|
+
*/
|
|
507
|
+
REPORT = 1,
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* ARTIFACT_TYPE_CODE_BUNDLE refers to the code bundle (tarball) generated for an action.
|
|
511
|
+
*
|
|
512
|
+
* @generated from enum value: ARTIFACT_TYPE_CODE_BUNDLE = 2;
|
|
513
|
+
*/
|
|
514
|
+
CODE_BUNDLE = 2,
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* Describes the enum flyteidl2.dataproxy.ArtifactType.
|
|
519
|
+
*/
|
|
520
|
+
export const ArtifactTypeSchema: GenEnum<ArtifactType> = /*@__PURE__*/
|
|
521
|
+
enumDesc(file_flyteidl2_dataproxy_dataproxy_service, 0);
|
|
522
|
+
|
|
159
523
|
/**
|
|
160
524
|
* DataProxyService provides an interface for managing data uploads and downloads.
|
|
161
525
|
*
|
|
@@ -172,6 +536,44 @@ export const DataProxyService: GenService<{
|
|
|
172
536
|
input: typeof CreateUploadLocationRequestSchema;
|
|
173
537
|
output: typeof CreateUploadLocationResponseSchema;
|
|
174
538
|
},
|
|
539
|
+
/**
|
|
540
|
+
* @generated from rpc flyteidl2.dataproxy.DataProxyService.UploadInputs
|
|
541
|
+
*/
|
|
542
|
+
uploadInputs: {
|
|
543
|
+
methodKind: "unary";
|
|
544
|
+
input: typeof UploadInputsRequestSchema;
|
|
545
|
+
output: typeof UploadInputsResponseSchema;
|
|
546
|
+
},
|
|
547
|
+
/**
|
|
548
|
+
* CreateDownloadLink generates signed URL(s) for downloading a given artifact.
|
|
549
|
+
*
|
|
550
|
+
* @generated from rpc flyteidl2.dataproxy.DataProxyService.CreateDownloadLink
|
|
551
|
+
*/
|
|
552
|
+
createDownloadLink: {
|
|
553
|
+
methodKind: "unary";
|
|
554
|
+
input: typeof CreateDownloadLinkRequestSchema;
|
|
555
|
+
output: typeof CreateDownloadLinkResponseSchema;
|
|
556
|
+
},
|
|
557
|
+
/**
|
|
558
|
+
* Get input and output data for an action.
|
|
559
|
+
*
|
|
560
|
+
* @generated from rpc flyteidl2.dataproxy.DataProxyService.GetActionData
|
|
561
|
+
*/
|
|
562
|
+
getActionData: {
|
|
563
|
+
methodKind: "unary";
|
|
564
|
+
input: typeof GetActionDataRequestSchema;
|
|
565
|
+
output: typeof GetActionDataResponseSchema;
|
|
566
|
+
},
|
|
567
|
+
/**
|
|
568
|
+
* Stream logs for an action attempt.
|
|
569
|
+
*
|
|
570
|
+
* @generated from rpc flyteidl2.dataproxy.DataProxyService.TailLogs
|
|
571
|
+
*/
|
|
572
|
+
tailLogs: {
|
|
573
|
+
methodKind: "server_streaming";
|
|
574
|
+
input: typeof TailLogsRequestSchema;
|
|
575
|
+
output: typeof TailLogsResponseSchema;
|
|
576
|
+
},
|
|
175
577
|
}> = /*@__PURE__*/
|
|
176
578
|
serviceDesc(file_flyteidl2_dataproxy_dataproxy_service, 0);
|
|
177
579
|
|
|
@@ -15,7 +15,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
15
15
|
* Describes the file flyteidl2/notification/definition.proto.
|
|
16
16
|
*/
|
|
17
17
|
export const file_flyteidl2_notification_definition: GenFile = /*@__PURE__*/
|
|
18
|
-
fileDesc("
|
|
18
|
+
fileDesc("CidmbHl0ZWlkbDIvbm90aWZpY2F0aW9uL2RlZmluaXRpb24ucHJvdG8SFmZseXRlaWRsMi5ub3RpZmljYXRpb24ijgIKFkRlbGl2ZXJ5Q29uZmlnVGVtcGxhdGUSQAoHd2ViaG9vaxgBIAEoCzIvLmZseXRlaWRsMi5ub3RpZmljYXRpb24uV2ViaG9va0RlbGl2ZXJ5VGVtcGxhdGUSPAoFZW1haWwYAiABKAsyLS5mbHl0ZWlkbDIubm90aWZpY2F0aW9uLkVtYWlsRGVsaXZlcnlUZW1wbGF0ZTp0ukhxGm8KFWF0X2xlYXN0X29uZV9yZXF1aXJlZBIwYXQgbGVhc3Qgb25lIG9mIHRoZSBkZWxpdmVyeSBvcHRpb25zIG11c3QgYmUgc2V0GiRoYXModGhpcy53ZWJob29rKSB8fCBoYXModGhpcy5lbWFpbCkimQEKJFJ1bkNvbXBsZXRlZE5vdGlmaWNhdGlvblRlbXBsYXRlRGF0YRI0CgNydW4YASABKAsyHy5mbHl0ZWlkbDIuY29tbW9uLlJ1bklkZW50aWZpZXJCBrpIA8gBARIsCgVwaGFzZRgCIAEoDjIdLmZseXRlaWRsMi5jb21tb24uQWN0aW9uUGhhc2USDQoFZXJyb3IYAyABKAkioAIKF1dlYmhvb2tEZWxpdmVyeVRlbXBsYXRlEhcKA3VybBgBIAEoCUIKukgHcgUQARjQDxI8CgZtZXRob2QYAiABKA4yIi5mbHl0ZWlkbDIubm90aWZpY2F0aW9uLkh0dHBNZXRob2RCCLpIBYIBAiAAEmcKB2hlYWRlcnMYAyADKAsyPC5mbHl0ZWlkbDIubm90aWZpY2F0a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GVpZGwyLm5vdGlmaWNhdGlvbi5Qcm92aWRlckVtYWlsVGVtcGxhdGVIAEIQCgdjb250ZW50EgW6SAIIASpFCglFdmVudFR5cGUSGgoWRVZFTlRfVFlQRV9VTlNQRUNJRklFRBAAEhwKGEVWRU5UX1RZUEVfUlVOX0NPTVBMRVRFRBABKvcBCgpIdHRwTWV0aG9kEhsKF0hUVFBfTUVUSE9EX1VOU1BFQ0lGSUVEEAASEwoPSFRUUF9NRVRIT0RfR0VUEAESFAoQSFRUUF9NRVRIT0RfSEVBRBACEhQKEEhUVFBfTUVUSE9EX1BPU1QQAxITCg9IVFRQX01FVEhPRF9QVVQQBBIWChJIVFRQX01FVEhPRF9ERUxFVEUQBRIXChNIVFRQX01FVEhPRF9DT05ORUNUEAYSFwoTSFRUUF9NRVRIT0RfT1BUSU9OUxAHEhUKEUhUVFBfTUVUSE9EX1RSQUNFEAgSFQoRSFRUUF9NRVRIT0RfUEFUQ0gQCULkAQoaY29tLmZseXRlaWRsMi5ub3RpZmljYXRpb25CD0RlZmluaXRpb25Qcm90b0gCUAFaOmdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9ub3RpZmljYXRpb26iAgNGTliqAhZGbHl0ZWlkbDIuTm90aWZpY2F0aW9uygIWRmx5dGVpZGwyXE5vdGlmaWNhdGlvbuICIkZseXRlaWRsMlxOb3RpZmljYXRpb25cR1BCTWV0YWRhdGHqAhdGbHl0ZWlkbDI6Ok5vdGlmaWNhdGlvbmIGcHJvdG8z", [file_buf_validate_validate, file_flyteidl2_common_identifier, file_flyteidl2_common_phase]);
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* @generated from message flyteidl2.notification.DeliveryConfigTemplate
|
|
@@ -123,9 +123,12 @@ export const EmailRecipientSchema: GenMessage<EmailRecipient> = /*@__PURE__*/
|
|
|
123
123
|
messageDesc(file_flyteidl2_notification_definition, 3);
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
|
-
*
|
|
126
|
+
* InlineEmailTemplate contains subject and body content rendered by the
|
|
127
|
+
* notification system using Go templates.
|
|
128
|
+
*
|
|
129
|
+
* @generated from message flyteidl2.notification.InlineEmailTemplate
|
|
127
130
|
*/
|
|
128
|
-
export type
|
|
131
|
+
export type InlineEmailTemplate = Message<"flyteidl2.notification.InlineEmailTemplate"> & {
|
|
129
132
|
/**
|
|
130
133
|
* this is a Go template that may contain placeholders
|
|
131
134
|
*
|
|
@@ -134,33 +137,95 @@ export type EmailDeliveryTemplate = Message<"flyteidl2.notification.EmailDeliver
|
|
|
134
137
|
subject: string;
|
|
135
138
|
|
|
136
139
|
/**
|
|
137
|
-
*
|
|
140
|
+
* this is a Go template that may contain placeholders
|
|
141
|
+
*
|
|
142
|
+
* @generated from field: string html_template = 2;
|
|
138
143
|
*/
|
|
139
|
-
|
|
144
|
+
htmlTemplate: string;
|
|
140
145
|
|
|
141
146
|
/**
|
|
142
|
-
*
|
|
147
|
+
* this is a Go template that may contain placeholders
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: string text_template = 3;
|
|
143
150
|
*/
|
|
144
|
-
|
|
151
|
+
textTemplate: string;
|
|
152
|
+
};
|
|
145
153
|
|
|
154
|
+
/**
|
|
155
|
+
* Describes the message flyteidl2.notification.InlineEmailTemplate.
|
|
156
|
+
* Use `create(InlineEmailTemplateSchema)` to create a new message.
|
|
157
|
+
*/
|
|
158
|
+
export const InlineEmailTemplateSchema: GenMessage<InlineEmailTemplate> = /*@__PURE__*/
|
|
159
|
+
messageDesc(file_flyteidl2_notification_definition, 4);
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* ProviderEmailTemplate references an externally managed email template owned
|
|
163
|
+
* by an email provider.
|
|
164
|
+
*
|
|
165
|
+
* @generated from message flyteidl2.notification.ProviderEmailTemplate
|
|
166
|
+
*/
|
|
167
|
+
export type ProviderEmailTemplate = Message<"flyteidl2.notification.ProviderEmailTemplate"> & {
|
|
146
168
|
/**
|
|
147
|
-
*
|
|
169
|
+
* Template ID is interpreted by the configured email provider.
|
|
170
|
+
*
|
|
171
|
+
* @generated from field: string template_id = 1;
|
|
148
172
|
*/
|
|
149
|
-
|
|
173
|
+
templateId: string;
|
|
150
174
|
|
|
151
175
|
/**
|
|
152
|
-
*
|
|
176
|
+
* Template data contains provider-defined key/value pairs used when rendering
|
|
177
|
+
* an externally managed email template, for example dynamic template
|
|
178
|
+
* variables referenced by the provider template's subject or body.
|
|
153
179
|
*
|
|
154
|
-
* @generated from field: string
|
|
180
|
+
* @generated from field: map<string, string> template_data = 2;
|
|
155
181
|
*/
|
|
156
|
-
|
|
182
|
+
templateData: { [key: string]: string };
|
|
183
|
+
};
|
|
157
184
|
|
|
185
|
+
/**
|
|
186
|
+
* Describes the message flyteidl2.notification.ProviderEmailTemplate.
|
|
187
|
+
* Use `create(ProviderEmailTemplateSchema)` to create a new message.
|
|
188
|
+
*/
|
|
189
|
+
export const ProviderEmailTemplateSchema: GenMessage<ProviderEmailTemplate> = /*@__PURE__*/
|
|
190
|
+
messageDesc(file_flyteidl2_notification_definition, 5);
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* @generated from message flyteidl2.notification.EmailDeliveryTemplate
|
|
194
|
+
*/
|
|
195
|
+
export type EmailDeliveryTemplate = Message<"flyteidl2.notification.EmailDeliveryTemplate"> & {
|
|
158
196
|
/**
|
|
159
|
-
*
|
|
197
|
+
* @generated from field: repeated flyteidl2.notification.EmailRecipient to = 1;
|
|
198
|
+
*/
|
|
199
|
+
to: EmailRecipient[];
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* @generated from field: repeated flyteidl2.notification.EmailRecipient cc = 2;
|
|
203
|
+
*/
|
|
204
|
+
cc: EmailRecipient[];
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* @generated from field: repeated flyteidl2.notification.EmailRecipient bcc = 3;
|
|
208
|
+
*/
|
|
209
|
+
bcc: EmailRecipient[];
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Content may be provided either inline or via an external provider template.
|
|
160
213
|
*
|
|
161
|
-
* @generated from
|
|
214
|
+
* @generated from oneof flyteidl2.notification.EmailDeliveryTemplate.content
|
|
162
215
|
*/
|
|
163
|
-
|
|
216
|
+
content: {
|
|
217
|
+
/**
|
|
218
|
+
* @generated from field: flyteidl2.notification.InlineEmailTemplate inline = 4;
|
|
219
|
+
*/
|
|
220
|
+
value: InlineEmailTemplate;
|
|
221
|
+
case: "inline";
|
|
222
|
+
} | {
|
|
223
|
+
/**
|
|
224
|
+
* @generated from field: flyteidl2.notification.ProviderEmailTemplate provider_template = 5;
|
|
225
|
+
*/
|
|
226
|
+
value: ProviderEmailTemplate;
|
|
227
|
+
case: "providerTemplate";
|
|
228
|
+
} | { case: undefined; value?: undefined };
|
|
164
229
|
};
|
|
165
230
|
|
|
166
231
|
/**
|
|
@@ -168,7 +233,7 @@ export type EmailDeliveryTemplate = Message<"flyteidl2.notification.EmailDeliver
|
|
|
168
233
|
* Use `create(EmailDeliveryTemplateSchema)` to create a new message.
|
|
169
234
|
*/
|
|
170
235
|
export const EmailDeliveryTemplateSchema: GenMessage<EmailDeliveryTemplate> = /*@__PURE__*/
|
|
171
|
-
messageDesc(file_flyteidl2_notification_definition,
|
|
236
|
+
messageDesc(file_flyteidl2_notification_definition, 6);
|
|
172
237
|
|
|
173
238
|
/**
|
|
174
239
|
* @generated from enum flyteidl2.notification.EventType
|