@flyteorg/flyteidl2 2.0.0-alpha10 → 2.0.0-alpha13
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/buf/validate/validate_pb.ts +4754 -0
- package/flyteidl2/app/app_definition_pb.ts +1112 -0
- package/flyteidl2/app/app_logs_payload_pb.ts +161 -0
- package/flyteidl2/app/app_logs_service_pb.ts +30 -0
- package/flyteidl2/app/app_payload_pb.ts +530 -0
- package/flyteidl2/app/app_service_pb.ts +104 -0
- package/flyteidl2/app/replica_definition_pb.ts +140 -0
- package/flyteidl2/core/metrics_pb.ts +47 -0
- package/flyteidl2/core/security_pb.ts +42 -6
- package/flyteidl2/plugins/connector_pb.ts +722 -0
- package/flyteidl2/plugins/pytorch_pb.ts +82 -0
- package/flyteidl2/service/connector_pb.ts +109 -0
- package/flyteidl2/task/common_pb.ts +29 -31
- package/flyteidl2/task/task_definition_pb.ts +32 -5
- package/flyteidl2/task/task_service_pb.ts +127 -2
- package/google/api/annotations_pb.ts +39 -0
- package/google/api/http_pb.ts +478 -0
- package/google/rpc/status_pb.ts +74 -0
- package/package.json +11 -3
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/app/app_logs_payload.proto (package flyteidl2.app, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { Identifier } from "./app_definition_pb.ts";
|
|
9
|
+
import { file_flyteidl2_app_app_definition } from "./app_definition_pb.ts";
|
|
10
|
+
import type { ReplicaIdentifier } from "./replica_definition_pb.ts";
|
|
11
|
+
import { file_flyteidl2_app_replica_definition } from "./replica_definition_pb.ts";
|
|
12
|
+
import type { LogLine, LogLines as LogLines$1 } from "../logs/dataplane/payload_pb.ts";
|
|
13
|
+
import { file_flyteidl2_logs_dataplane_payload } from "../logs/dataplane/payload_pb.ts";
|
|
14
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Describes the file flyteidl2/app/app_logs_payload.proto.
|
|
18
|
+
*/
|
|
19
|
+
export const file_flyteidl2_app_app_logs_payload: GenFile = /*@__PURE__*/
|
|
20
|
+
fileDesc("CiRmbHl0ZWlkbDIvYXBwL2FwcF9sb2dzX3BheWxvYWQucHJvdG8SDWZseXRlaWRsMi5hcHAihwEKD1RhaWxMb2dzUmVxdWVzdBIrCgZhcHBfaWQYASABKAsyGS5mbHl0ZWlkbDIuYXBwLklkZW50aWZpZXJIABI2CgpyZXBsaWNhX2lkGAIgASgLMiAuZmx5dGVpZGwyLmFwcC5SZXBsaWNhSWRlbnRpZmllckgAQg8KBnRhcmdldBIFukgCCAEiSwoVUmVwbGljYUlkZW50aWZpZXJMaXN0EjIKCHJlcGxpY2FzGAEgAygLMiAuZmx5dGVpZGwyLmFwcC5SZXBsaWNhSWRlbnRpZmllciKYAQoITG9nTGluZXMSEQoFbGluZXMYASADKAlCAhgBEjwKCnJlcGxpY2FfaWQYAiABKAsyIC5mbHl0ZWlkbDIuYXBwLlJlcGxpY2FJZGVudGlmaWVyQga6SAPIAQESOwoQc3RydWN0dXJlZF9saW5lcxgDIAMoCzIhLmZseXRlaWRsMi5sb2dzLmRhdGFwbGFuZS5Mb2dMaW5lIjYKDUxvZ0xpbmVzQmF0Y2gSJQoEbG9ncxgBIAMoCzIXLmZseXRlaWRsMi5hcHAuTG9nTGluZXMiyQEKEFRhaWxMb2dzUmVzcG9uc2USOAoIcmVwbGljYXMYASABKAsyJC5mbHl0ZWlkbDIuYXBwLlJlcGxpY2FJZGVudGlmaWVyTGlzdEgAEjsKCWxvZ19saW5lcxgCIAEoCzIiLmZseXRlaWRsMi5sb2dzLmRhdGFwbGFuZS5Mb2dMaW5lc0ICGAFIABIvCgdiYXRjaGVzGAMgASgLMhwuZmx5dGVpZGwyLmFwcC5Mb2dMaW5lc0JhdGNoSABCDQoEcmVzcBIFukgCCAFCsgEKEWNvbS5mbHl0ZWlkbDIuYXBwQhNBcHBMb2dzUGF5bG9hZFByb3RvSAJQAVoxZ2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL2FwcKICA0ZBWKoCDUZseXRlaWRsMi5BcHDKAg1GbHl0ZWlkbDJcQXBw4gIZRmx5dGVpZGwyXEFwcFxHUEJNZXRhZGF0YeoCDkZseXRlaWRsMjo6QXBwYgZwcm90bzM", [file_buf_validate_validate, file_flyteidl2_app_app_definition, file_flyteidl2_app_replica_definition, file_flyteidl2_logs_dataplane_payload]);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @generated from message flyteidl2.app.TailLogsRequest
|
|
24
|
+
*/
|
|
25
|
+
export type TailLogsRequest = Message<"flyteidl2.app.TailLogsRequest"> & {
|
|
26
|
+
/**
|
|
27
|
+
* @generated from oneof flyteidl2.app.TailLogsRequest.target
|
|
28
|
+
*/
|
|
29
|
+
target: {
|
|
30
|
+
/**
|
|
31
|
+
* Identifier of the application to get logs for.
|
|
32
|
+
*
|
|
33
|
+
* @generated from field: flyteidl2.app.Identifier app_id = 1;
|
|
34
|
+
*/
|
|
35
|
+
value: Identifier;
|
|
36
|
+
case: "appId";
|
|
37
|
+
} | {
|
|
38
|
+
/**
|
|
39
|
+
* Identifier of the replica to get logs for.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: flyteidl2.app.ReplicaIdentifier replica_id = 2;
|
|
42
|
+
*/
|
|
43
|
+
value: ReplicaIdentifier;
|
|
44
|
+
case: "replicaId";
|
|
45
|
+
} | { case: undefined; value?: undefined };
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message flyteidl2.app.TailLogsRequest.
|
|
50
|
+
* Use `create(TailLogsRequestSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export const TailLogsRequestSchema: GenMessage<TailLogsRequest> = /*@__PURE__*/
|
|
53
|
+
messageDesc(file_flyteidl2_app_app_logs_payload, 0);
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from message flyteidl2.app.ReplicaIdentifierList
|
|
57
|
+
*/
|
|
58
|
+
export type ReplicaIdentifierList = Message<"flyteidl2.app.ReplicaIdentifierList"> & {
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: repeated flyteidl2.app.ReplicaIdentifier replicas = 1;
|
|
61
|
+
*/
|
|
62
|
+
replicas: ReplicaIdentifier[];
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message flyteidl2.app.ReplicaIdentifierList.
|
|
67
|
+
* Use `create(ReplicaIdentifierListSchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export const ReplicaIdentifierListSchema: GenMessage<ReplicaIdentifierList> = /*@__PURE__*/
|
|
70
|
+
messageDesc(file_flyteidl2_app_app_logs_payload, 1);
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @generated from message flyteidl2.app.LogLines
|
|
74
|
+
*/
|
|
75
|
+
export type LogLines = Message<"flyteidl2.app.LogLines"> & {
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: repeated string lines = 1 [deprecated = true];
|
|
78
|
+
* @deprecated
|
|
79
|
+
*/
|
|
80
|
+
lines: string[];
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @generated from field: flyteidl2.app.ReplicaIdentifier replica_id = 2;
|
|
84
|
+
*/
|
|
85
|
+
replicaId?: ReplicaIdentifier;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* @generated from field: repeated flyteidl2.logs.dataplane.LogLine structured_lines = 3;
|
|
89
|
+
*/
|
|
90
|
+
structuredLines: LogLine[];
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Describes the message flyteidl2.app.LogLines.
|
|
95
|
+
* Use `create(LogLinesSchema)` to create a new message.
|
|
96
|
+
*/
|
|
97
|
+
export const LogLinesSchema: GenMessage<LogLines> = /*@__PURE__*/
|
|
98
|
+
messageDesc(file_flyteidl2_app_app_logs_payload, 2);
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @generated from message flyteidl2.app.LogLinesBatch
|
|
102
|
+
*/
|
|
103
|
+
export type LogLinesBatch = Message<"flyteidl2.app.LogLinesBatch"> & {
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: repeated flyteidl2.app.LogLines logs = 1;
|
|
106
|
+
*/
|
|
107
|
+
logs: LogLines[];
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Describes the message flyteidl2.app.LogLinesBatch.
|
|
112
|
+
* Use `create(LogLinesBatchSchema)` to create a new message.
|
|
113
|
+
*/
|
|
114
|
+
export const LogLinesBatchSchema: GenMessage<LogLinesBatch> = /*@__PURE__*/
|
|
115
|
+
messageDesc(file_flyteidl2_app_app_logs_payload, 3);
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* @generated from message flyteidl2.app.TailLogsResponse
|
|
119
|
+
*/
|
|
120
|
+
export type TailLogsResponse = Message<"flyteidl2.app.TailLogsResponse"> & {
|
|
121
|
+
/**
|
|
122
|
+
* @generated from oneof flyteidl2.app.TailLogsResponse.resp
|
|
123
|
+
*/
|
|
124
|
+
resp: {
|
|
125
|
+
/**
|
|
126
|
+
* Replicas lists the replicas that the logs are being tailed for. This is expected to be the first
|
|
127
|
+
* message to be sent in the stream but also can be sent at any later time to update the list of
|
|
128
|
+
* replicas being tailed.
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: flyteidl2.app.ReplicaIdentifierList replicas = 1;
|
|
131
|
+
*/
|
|
132
|
+
value: ReplicaIdentifierList;
|
|
133
|
+
case: "replicas";
|
|
134
|
+
} | {
|
|
135
|
+
/**
|
|
136
|
+
* The latest log lines for the application.
|
|
137
|
+
* Deprecated, use batches instead.
|
|
138
|
+
*
|
|
139
|
+
* @generated from field: flyteidl2.logs.dataplane.LogLines log_lines = 2 [deprecated = true];
|
|
140
|
+
* @deprecated
|
|
141
|
+
*/
|
|
142
|
+
value: LogLines$1;
|
|
143
|
+
case: "logLines";
|
|
144
|
+
} | {
|
|
145
|
+
/**
|
|
146
|
+
* The latest log lines for the application.
|
|
147
|
+
*
|
|
148
|
+
* @generated from field: flyteidl2.app.LogLinesBatch batches = 3;
|
|
149
|
+
*/
|
|
150
|
+
value: LogLinesBatch;
|
|
151
|
+
case: "batches";
|
|
152
|
+
} | { case: undefined; value?: undefined };
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Describes the message flyteidl2.app.TailLogsResponse.
|
|
157
|
+
* Use `create(TailLogsResponseSchema)` to create a new message.
|
|
158
|
+
*/
|
|
159
|
+
export const TailLogsResponseSchema: GenMessage<TailLogsResponse> = /*@__PURE__*/
|
|
160
|
+
messageDesc(file_flyteidl2_app_app_logs_payload, 4);
|
|
161
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/app/app_logs_service.proto (package flyteidl2.app, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import type { TailLogsRequestSchema, TailLogsResponseSchema } from "./app_logs_payload_pb.ts";
|
|
8
|
+
import { file_flyteidl2_app_app_logs_payload } from "./app_logs_payload_pb.ts";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file flyteidl2/app/app_logs_service.proto.
|
|
12
|
+
*/
|
|
13
|
+
export const file_flyteidl2_app_app_logs_service: GenFile = /*@__PURE__*/
|
|
14
|
+
fileDesc("CiRmbHl0ZWlkbDIvYXBwL2FwcF9sb2dzX3NlcnZpY2UucHJvdG8SDWZseXRlaWRsMi5hcHAyZAoOQXBwTG9nc1NlcnZpY2USUgoIVGFpbExvZ3MSHi5mbHl0ZWlkbDIuYXBwLlRhaWxMb2dzUmVxdWVzdBofLmZseXRlaWRsMi5hcHAuVGFpbExvZ3NSZXNwb25zZSIDkAIBMAFCsgEKEWNvbS5mbHl0ZWlkbDIuYXBwQhNBcHBMb2dzU2VydmljZVByb3RvSAJQAVoxZ2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL2FwcKICA0ZBWKoCDUZseXRlaWRsMi5BcHDKAg1GbHl0ZWlkbDJcQXBw4gIZRmx5dGVpZGwyXEFwcFxHUEJNZXRhZGF0YeoCDkZseXRlaWRsMjo6QXBwYgZwcm90bzM", [file_flyteidl2_app_app_logs_payload]);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @generated from service flyteidl2.app.AppLogsService
|
|
18
|
+
*/
|
|
19
|
+
export const AppLogsService: GenService<{
|
|
20
|
+
/**
|
|
21
|
+
* @generated from rpc flyteidl2.app.AppLogsService.TailLogs
|
|
22
|
+
*/
|
|
23
|
+
tailLogs: {
|
|
24
|
+
methodKind: "server_streaming";
|
|
25
|
+
input: typeof TailLogsRequestSchema;
|
|
26
|
+
output: typeof TailLogsResponseSchema;
|
|
27
|
+
},
|
|
28
|
+
}> = /*@__PURE__*/
|
|
29
|
+
serviceDesc(file_flyteidl2_app_app_logs_service, 0);
|
|
30
|
+
|