@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.
Files changed (40) hide show
  1. package/flyteidl2/common/authorization_pb.ts +323 -0
  2. package/flyteidl2/common/identifier_pb.ts +423 -0
  3. package/flyteidl2/common/identity_pb.ts +205 -0
  4. package/flyteidl2/common/list_pb.ts +232 -0
  5. package/flyteidl2/common/policy_pb.ts +76 -0
  6. package/flyteidl2/common/role_pb.ts +161 -0
  7. package/flyteidl2/common/runtime_version_pb.ts +76 -0
  8. package/flyteidl2/core/artifact_id_pb.ts +400 -0
  9. package/flyteidl2/core/catalog_pb.ts +215 -0
  10. package/flyteidl2/core/execution_pb.ts +641 -0
  11. package/flyteidl2/core/identifier_pb.ts +237 -0
  12. package/flyteidl2/core/interface_pb.ts +187 -0
  13. package/flyteidl2/core/literals_pb.ts +673 -0
  14. package/flyteidl2/core/security_pb.ts +310 -0
  15. package/flyteidl2/core/tasks_pb.ts +1088 -0
  16. package/flyteidl2/core/types_pb.ts +592 -0
  17. package/flyteidl2/imagebuilder/definition_pb.ts +535 -0
  18. package/flyteidl2/imagebuilder/payload_pb.ts +62 -0
  19. package/flyteidl2/imagebuilder/service_pb.ts +30 -0
  20. package/flyteidl2/logs/dataplane/payload_pb.ts +396 -0
  21. package/flyteidl2/plugins/dask_pb.ts +109 -0
  22. package/flyteidl2/plugins/ray_pb.ts +189 -0
  23. package/flyteidl2/plugins/spark_pb.ts +145 -0
  24. package/flyteidl2/secret/definition_pb.ts +310 -0
  25. package/flyteidl2/secret/payload_pb.ts +266 -0
  26. package/flyteidl2/secret/secret_pb.ts +63 -0
  27. package/flyteidl2/task/common_pb.ts +319 -0
  28. package/flyteidl2/task/environment_pb.ts +36 -0
  29. package/flyteidl2/task/run_pb.ts +177 -0
  30. package/flyteidl2/task/task_definition_pb.ts +417 -0
  31. package/flyteidl2/task/task_service_pb.ts +248 -0
  32. package/flyteidl2/trigger/trigger_definition_pb.ts +283 -0
  33. package/flyteidl2/trigger/trigger_service_pb.ts +451 -0
  34. package/flyteidl2/workflow/queue_service_pb.ts +245 -0
  35. package/flyteidl2/workflow/run_definition_pb.ts +1192 -0
  36. package/flyteidl2/workflow/run_logs_service_pb.ts +106 -0
  37. package/flyteidl2/workflow/run_service_pb.ts +870 -0
  38. package/flyteidl2/workflow/state_service_pb.ts +310 -0
  39. package/flyteidl2/workflow/translator_service_pb.ts +174 -0
  40. package/package.json +18 -0
@@ -0,0 +1,106 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/workflow/run_logs_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 } from "../common/identifier_pb.ts";
9
+ import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
10
+ import type { LogLine } from "../logs/dataplane/payload_pb.ts";
11
+ import { file_flyteidl2_logs_dataplane_payload } from "../logs/dataplane/payload_pb.ts";
12
+ import type { Message } from "@bufbuild/protobuf";
13
+
14
+ /**
15
+ * Describes the file flyteidl2/workflow/run_logs_service.proto.
16
+ */
17
+ export const file_flyteidl2_workflow_run_logs_service: GenFile = /*@__PURE__*/
18
+ fileDesc("CilmbHl0ZWlkbDIvd29ya2Zsb3cvcnVuX2xvZ3Nfc2VydmljZS5wcm90bxISZmx5dGVpZGwyLndvcmtmbG93ImoKD1RhaWxMb2dzUmVxdWVzdBI9CglhY3Rpb25faWQYASABKAsyIi5mbHl0ZWlkbDIuY29tbW9uLkFjdGlvbklkZW50aWZpZXJCBrpIA8gBARIYCgdhdHRlbXB0GAIgASgNQge6SAQqAiAAIoUBChBUYWlsTG9nc1Jlc3BvbnNlEjcKBGxvZ3MYASADKAsyKS5mbHl0ZWlkbDIud29ya2Zsb3cuVGFpbExvZ3NSZXNwb25zZS5Mb2dzGjgKBExvZ3MSMAoFbGluZXMYASADKAsyIS5mbHl0ZWlkbDIubG9ncy5kYXRhcGxhbmUuTG9nTGluZTJuCg5SdW5Mb2dzU2VydmljZRJcCghUYWlsTG9ncxIjLmZseXRlaWRsMi53b3JrZmxvdy5UYWlsTG9nc1JlcXVlc3QaJC5mbHl0ZWlkbDIud29ya2Zsb3cuVGFpbExvZ3NSZXNwb25zZSIDkAIBMAFC0AEKFmNvbS5mbHl0ZWlkbDIud29ya2Zsb3dCE1J1bkxvZ3NTZXJ2aWNlUHJvdG9IAlABWjZnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvd29ya2Zsb3eiAgNGV1iqAhJGbHl0ZWlkbDIuV29ya2Zsb3fKAhJGbHl0ZWlkbDJcV29ya2Zsb3fiAh5GbHl0ZWlkbDJcV29ya2Zsb3dcR1BCTWV0YWRhdGHqAhNGbHl0ZWlkbDI6OldvcmtmbG93YgZwcm90bzM", [file_buf_validate_validate, file_flyteidl2_common_identifier, file_flyteidl2_logs_dataplane_payload]);
19
+
20
+ /**
21
+ * Request message for tailing logs.
22
+ *
23
+ * @generated from message flyteidl2.workflow.TailLogsRequest
24
+ */
25
+ export type TailLogsRequest = Message<"flyteidl2.workflow.TailLogsRequest"> & {
26
+ /**
27
+ * The action id.
28
+ *
29
+ * @generated from field: flyteidl2.common.ActionIdentifier action_id = 1;
30
+ */
31
+ actionId?: ActionIdentifier;
32
+
33
+ /**
34
+ * The attempt number.
35
+ *
36
+ * @generated from field: uint32 attempt = 2;
37
+ */
38
+ attempt: number;
39
+ };
40
+
41
+ /**
42
+ * Describes the message flyteidl2.workflow.TailLogsRequest.
43
+ * Use `create(TailLogsRequestSchema)` to create a new message.
44
+ */
45
+ export const TailLogsRequestSchema: GenMessage<TailLogsRequest> = /*@__PURE__*/
46
+ messageDesc(file_flyteidl2_workflow_run_logs_service, 0);
47
+
48
+ /**
49
+ * Reponse message for tailing logs.
50
+ *
51
+ * @generated from message flyteidl2.workflow.TailLogsResponse
52
+ */
53
+ export type TailLogsResponse = Message<"flyteidl2.workflow.TailLogsResponse"> & {
54
+ /**
55
+ * One or more batches of logs.
56
+ *
57
+ * @generated from field: repeated flyteidl2.workflow.TailLogsResponse.Logs logs = 1;
58
+ */
59
+ logs: TailLogsResponse_Logs[];
60
+ };
61
+
62
+ /**
63
+ * Describes the message flyteidl2.workflow.TailLogsResponse.
64
+ * Use `create(TailLogsResponseSchema)` to create a new message.
65
+ */
66
+ export const TailLogsResponseSchema: GenMessage<TailLogsResponse> = /*@__PURE__*/
67
+ messageDesc(file_flyteidl2_workflow_run_logs_service, 1);
68
+
69
+ /**
70
+ * A batch of logs.
71
+ *
72
+ * @generated from message flyteidl2.workflow.TailLogsResponse.Logs
73
+ */
74
+ export type TailLogsResponse_Logs = Message<"flyteidl2.workflow.TailLogsResponse.Logs"> & {
75
+ /**
76
+ * Structured log lines.
77
+ *
78
+ * @generated from field: repeated flyteidl2.logs.dataplane.LogLine lines = 1;
79
+ */
80
+ lines: LogLine[];
81
+ };
82
+
83
+ /**
84
+ * Describes the message flyteidl2.workflow.TailLogsResponse.Logs.
85
+ * Use `create(TailLogsResponse_LogsSchema)` to create a new message.
86
+ */
87
+ export const TailLogsResponse_LogsSchema: GenMessage<TailLogsResponse_Logs> = /*@__PURE__*/
88
+ messageDesc(file_flyteidl2_workflow_run_logs_service, 1, 0);
89
+
90
+ /**
91
+ * RunLogsService provides an interface for streaming logs.
92
+ *
93
+ * @generated from service flyteidl2.workflow.RunLogsService
94
+ */
95
+ export const RunLogsService: GenService<{
96
+ /**
97
+ * @generated from rpc flyteidl2.workflow.RunLogsService.TailLogs
98
+ */
99
+ tailLogs: {
100
+ methodKind: "server_streaming";
101
+ input: typeof TailLogsRequestSchema;
102
+ output: typeof TailLogsResponseSchema;
103
+ },
104
+ }> = /*@__PURE__*/
105
+ serviceDesc(file_flyteidl2_workflow_run_logs_service, 0);
106
+