@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,535 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/imagebuilder/definition.proto (package flyteidl2.imagebuilder, 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 { Secret } from "../core/security_pb.ts";
|
|
9
|
+
import { file_flyteidl2_core_security } from "../core/security_pb.ts";
|
|
10
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file flyteidl2/imagebuilder/definition.proto.
|
|
14
|
+
*/
|
|
15
|
+
export const file_flyteidl2_imagebuilder_definition: GenFile = /*@__PURE__*/
|
|
16
|
+
fileDesc("CidmbHl0ZWlkbDIvaW1hZ2VidWlsZGVyL2RlZmluaXRpb24ucHJvdG8SFmZseXRlaWRsMi5pbWFnZWJ1aWxkZXIiKAoPSW1hZ2VJZGVudGlmaWVyEhUKBG5hbWUYASABKAlCB7pIBHICEAEiSgoFSW1hZ2USMwoCaWQYASABKAsyJy5mbHl0ZWlkbDIuaW1hZ2VidWlsZGVyLkltYWdlSWRlbnRpZmllchIMCgRmcWluGAIgASgJIk4KC0FwdFBhY2thZ2VzEhAKCHBhY2thZ2VzGAEgAygJEi0KDXNlY3JldF9tb3VudHMYAiADKAsyFi5mbHl0ZWlkbDIuY29y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dEgAQgcKBWxheWVyIngKCUltYWdlU3BlYxISCgpiYXNlX2ltYWdlGAEgASgJEhYKDnB5dGhvbl92ZXJzaW9uGAIgASgJEi0KBmxheWVycxgDIAMoCzIdLmZseXRlaWRsMi5pbWFnZWJ1aWxkZXIuTGF5ZXISEAoIcGxhdGZvcm0YBCADKAlC5AEKGmNvbS5mbHl0ZWlkbDIuaW1hZ2VidWlsZGVyQg9EZWZpbml0aW9uUHJvdG9IAlABWjpnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvaW1hZ2VidWlsZGVyogIDRklYqgIWRmx5dGVpZGwyLkltYWdlYnVpbGRlcsoCFkZseXRlaWRsMlxJbWFnZWJ1aWxkZXLiAiJGbHl0ZWlkbDJcSW1hZ2VidWlsZGVyXEdQQk1ldGFkYXRh6gIXRmx5dGVpZGwyOjpJbWFnZWJ1aWxkZXJiBnByb3RvMw", [file_buf_validate_validate, file_flyteidl2_core_security]);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* ImageIdentifier is how to identify an image
|
|
20
|
+
*
|
|
21
|
+
* @generated from message flyteidl2.imagebuilder.ImageIdentifier
|
|
22
|
+
*/
|
|
23
|
+
export type ImageIdentifier = Message<"flyteidl2.imagebuilder.ImageIdentifier"> & {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: string name = 1;
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message flyteidl2.imagebuilder.ImageIdentifier.
|
|
32
|
+
* Use `create(ImageIdentifierSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const ImageIdentifierSchema: GenMessage<ImageIdentifier> = /*@__PURE__*/
|
|
35
|
+
messageDesc(file_flyteidl2_imagebuilder_definition, 0);
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Simple container to surface if image exists
|
|
39
|
+
*
|
|
40
|
+
* @generated from message flyteidl2.imagebuilder.Image
|
|
41
|
+
*/
|
|
42
|
+
export type Image = Message<"flyteidl2.imagebuilder.Image"> & {
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: flyteidl2.imagebuilder.ImageIdentifier id = 1;
|
|
45
|
+
*/
|
|
46
|
+
id?: ImageIdentifier;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Fully qualified, pullable, image name
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: string fqin = 2;
|
|
52
|
+
*/
|
|
53
|
+
fqin: string;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message flyteidl2.imagebuilder.Image.
|
|
58
|
+
* Use `create(ImageSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export const ImageSchema: GenMessage<Image> = /*@__PURE__*/
|
|
61
|
+
messageDesc(file_flyteidl2_imagebuilder_definition, 1);
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* AptPackages defines a list of apt packages to install in the image.
|
|
65
|
+
*
|
|
66
|
+
* @generated from message flyteidl2.imagebuilder.AptPackages
|
|
67
|
+
*/
|
|
68
|
+
export type AptPackages = Message<"flyteidl2.imagebuilder.AptPackages"> & {
|
|
69
|
+
/**
|
|
70
|
+
* List of apt packages to install
|
|
71
|
+
*
|
|
72
|
+
* @generated from field: repeated string packages = 1;
|
|
73
|
+
*/
|
|
74
|
+
packages: string[];
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: repeated flyteidl2.core.Secret secret_mounts = 2;
|
|
78
|
+
*/
|
|
79
|
+
secretMounts: Secret[];
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Describes the message flyteidl2.imagebuilder.AptPackages.
|
|
84
|
+
* Use `create(AptPackagesSchema)` to create a new message.
|
|
85
|
+
*/
|
|
86
|
+
export const AptPackagesSchema: GenMessage<AptPackages> = /*@__PURE__*/
|
|
87
|
+
messageDesc(file_flyteidl2_imagebuilder_definition, 2);
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* PipOptions defines options for pip packages to install in the image.
|
|
91
|
+
*
|
|
92
|
+
* @generated from message flyteidl2.imagebuilder.PipOptions
|
|
93
|
+
*/
|
|
94
|
+
export type PipOptions = Message<"flyteidl2.imagebuilder.PipOptions"> & {
|
|
95
|
+
/**
|
|
96
|
+
* Optional index URL for pip packages
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: string index_url = 2;
|
|
99
|
+
*/
|
|
100
|
+
indexUrl: string;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Optional list of extra index URLs for pip packages
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: repeated string extra_index_urls = 3;
|
|
106
|
+
*/
|
|
107
|
+
extraIndexUrls: string[];
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Optional pre-release flag for pip packages
|
|
111
|
+
*
|
|
112
|
+
* @generated from field: bool pre = 4;
|
|
113
|
+
*/
|
|
114
|
+
pre: boolean;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Optional extra arguments for pip install command
|
|
118
|
+
*
|
|
119
|
+
* @generated from field: string extra_args = 5;
|
|
120
|
+
*/
|
|
121
|
+
extraArgs: string;
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Describes the message flyteidl2.imagebuilder.PipOptions.
|
|
126
|
+
* Use `create(PipOptionsSchema)` to create a new message.
|
|
127
|
+
*/
|
|
128
|
+
export const PipOptionsSchema: GenMessage<PipOptions> = /*@__PURE__*/
|
|
129
|
+
messageDesc(file_flyteidl2_imagebuilder_definition, 3);
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* PipPackages defines a list of pip packages to install in the image.
|
|
133
|
+
*
|
|
134
|
+
* @generated from message flyteidl2.imagebuilder.PipPackages
|
|
135
|
+
*/
|
|
136
|
+
export type PipPackages = Message<"flyteidl2.imagebuilder.PipPackages"> & {
|
|
137
|
+
/**
|
|
138
|
+
* List of pip packages to install
|
|
139
|
+
*
|
|
140
|
+
* @generated from field: repeated string packages = 1;
|
|
141
|
+
*/
|
|
142
|
+
packages: string[];
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Options for pip packages.
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: flyteidl2.imagebuilder.PipOptions options = 2;
|
|
148
|
+
*/
|
|
149
|
+
options?: PipOptions;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* @generated from field: repeated flyteidl2.core.Secret secret_mounts = 3;
|
|
153
|
+
*/
|
|
154
|
+
secretMounts: Secret[];
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Describes the message flyteidl2.imagebuilder.PipPackages.
|
|
159
|
+
* Use `create(PipPackagesSchema)` to create a new message.
|
|
160
|
+
*/
|
|
161
|
+
export const PipPackagesSchema: GenMessage<PipPackages> = /*@__PURE__*/
|
|
162
|
+
messageDesc(file_flyteidl2_imagebuilder_definition, 4);
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Requirements defines a python requirements file to use in the image.
|
|
166
|
+
*
|
|
167
|
+
* @generated from message flyteidl2.imagebuilder.Requirements
|
|
168
|
+
*/
|
|
169
|
+
export type Requirements = Message<"flyteidl2.imagebuilder.Requirements"> & {
|
|
170
|
+
/**
|
|
171
|
+
* The requirements file to use.
|
|
172
|
+
*
|
|
173
|
+
* @generated from field: string file = 1;
|
|
174
|
+
*/
|
|
175
|
+
file: string;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Options for pip packages.
|
|
179
|
+
*
|
|
180
|
+
* @generated from field: flyteidl2.imagebuilder.PipOptions options = 2;
|
|
181
|
+
*/
|
|
182
|
+
options?: PipOptions;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* @generated from field: repeated flyteidl2.core.Secret secret_mounts = 3;
|
|
186
|
+
*/
|
|
187
|
+
secretMounts: Secret[];
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Describes the message flyteidl2.imagebuilder.Requirements.
|
|
192
|
+
* Use `create(RequirementsSchema)` to create a new message.
|
|
193
|
+
*/
|
|
194
|
+
export const RequirementsSchema: GenMessage<Requirements> = /*@__PURE__*/
|
|
195
|
+
messageDesc(file_flyteidl2_imagebuilder_definition, 5);
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* @generated from message flyteidl2.imagebuilder.PythonWheels
|
|
199
|
+
*/
|
|
200
|
+
export type PythonWheels = Message<"flyteidl2.imagebuilder.PythonWheels"> & {
|
|
201
|
+
/**
|
|
202
|
+
* The directory containing Python wheel files.
|
|
203
|
+
*
|
|
204
|
+
* @generated from field: string dir = 1;
|
|
205
|
+
*/
|
|
206
|
+
dir: string;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Options for pip packages.
|
|
210
|
+
*
|
|
211
|
+
* @generated from field: flyteidl2.imagebuilder.PipOptions options = 2;
|
|
212
|
+
*/
|
|
213
|
+
options?: PipOptions;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: repeated flyteidl2.core.Secret secret_mounts = 3;
|
|
217
|
+
*/
|
|
218
|
+
secretMounts: Secret[];
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Describes the message flyteidl2.imagebuilder.PythonWheels.
|
|
223
|
+
* Use `create(PythonWheelsSchema)` to create a new message.
|
|
224
|
+
*/
|
|
225
|
+
export const PythonWheelsSchema: GenMessage<PythonWheels> = /*@__PURE__*/
|
|
226
|
+
messageDesc(file_flyteidl2_imagebuilder_definition, 6);
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* UVProject defines a UV project configuration, which includes
|
|
230
|
+
* a pyproject.toml file and a uvlock file.
|
|
231
|
+
*
|
|
232
|
+
* @generated from message flyteidl2.imagebuilder.UVProject
|
|
233
|
+
*/
|
|
234
|
+
export type UVProject = Message<"flyteidl2.imagebuilder.UVProject"> & {
|
|
235
|
+
/**
|
|
236
|
+
* @generated from field: string pyproject = 1;
|
|
237
|
+
*/
|
|
238
|
+
pyproject: string;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* @generated from field: string uvlock = 2;
|
|
242
|
+
*/
|
|
243
|
+
uvlock: string;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Options for pip packages.
|
|
247
|
+
*
|
|
248
|
+
* @generated from field: flyteidl2.imagebuilder.PipOptions options = 3;
|
|
249
|
+
*/
|
|
250
|
+
options?: PipOptions;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* @generated from field: repeated flyteidl2.core.Secret secret_mounts = 4;
|
|
254
|
+
*/
|
|
255
|
+
secretMounts: Secret[];
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Describes the message flyteidl2.imagebuilder.UVProject.
|
|
260
|
+
* Use `create(UVProjectSchema)` to create a new message.
|
|
261
|
+
*/
|
|
262
|
+
export const UVProjectSchema: GenMessage<UVProject> = /*@__PURE__*/
|
|
263
|
+
messageDesc(file_flyteidl2_imagebuilder_definition, 7);
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Commands defines a list of commands to run in the image.
|
|
267
|
+
*
|
|
268
|
+
* @generated from message flyteidl2.imagebuilder.Commands
|
|
269
|
+
*/
|
|
270
|
+
export type Commands = Message<"flyteidl2.imagebuilder.Commands"> & {
|
|
271
|
+
/**
|
|
272
|
+
* The command to run.
|
|
273
|
+
*
|
|
274
|
+
* @generated from field: repeated string cmd = 2;
|
|
275
|
+
*/
|
|
276
|
+
cmd: string[];
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* @generated from field: repeated flyteidl2.core.Secret secret_mounts = 3;
|
|
280
|
+
*/
|
|
281
|
+
secretMounts: Secret[];
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Describes the message flyteidl2.imagebuilder.Commands.
|
|
286
|
+
* Use `create(CommandsSchema)` to create a new message.
|
|
287
|
+
*/
|
|
288
|
+
export const CommandsSchema: GenMessage<Commands> = /*@__PURE__*/
|
|
289
|
+
messageDesc(file_flyteidl2_imagebuilder_definition, 8);
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* WorkDir defines the working directory to set in the image.
|
|
293
|
+
*
|
|
294
|
+
* @generated from message flyteidl2.imagebuilder.WorkDir
|
|
295
|
+
*/
|
|
296
|
+
export type WorkDir = Message<"flyteidl2.imagebuilder.WorkDir"> & {
|
|
297
|
+
/**
|
|
298
|
+
* The working directory to use.
|
|
299
|
+
*
|
|
300
|
+
* @generated from field: string workdir = 1;
|
|
301
|
+
*/
|
|
302
|
+
workdir: string;
|
|
303
|
+
};
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Describes the message flyteidl2.imagebuilder.WorkDir.
|
|
307
|
+
* Use `create(WorkDirSchema)` to create a new message.
|
|
308
|
+
*/
|
|
309
|
+
export const WorkDirSchema: GenMessage<WorkDir> = /*@__PURE__*/
|
|
310
|
+
messageDesc(file_flyteidl2_imagebuilder_definition, 9);
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* CopyConfig defines a configuration for copying files/directories into the image.
|
|
314
|
+
*
|
|
315
|
+
* @generated from message flyteidl2.imagebuilder.CopyConfig
|
|
316
|
+
*/
|
|
317
|
+
export type CopyConfig = Message<"flyteidl2.imagebuilder.CopyConfig"> & {
|
|
318
|
+
/**
|
|
319
|
+
* The source directory to copy from.
|
|
320
|
+
*
|
|
321
|
+
* @generated from field: string src = 1;
|
|
322
|
+
*/
|
|
323
|
+
src: string;
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* The destination directory to copy to.
|
|
327
|
+
*
|
|
328
|
+
* @generated from field: string dst = 2;
|
|
329
|
+
*/
|
|
330
|
+
dst: string;
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Describes the message flyteidl2.imagebuilder.CopyConfig.
|
|
335
|
+
* Use `create(CopyConfigSchema)` to create a new message.
|
|
336
|
+
*/
|
|
337
|
+
export const CopyConfigSchema: GenMessage<CopyConfig> = /*@__PURE__*/
|
|
338
|
+
messageDesc(file_flyteidl2_imagebuilder_definition, 10);
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Env defines environment to set in the image.
|
|
342
|
+
*
|
|
343
|
+
* @generated from message flyteidl2.imagebuilder.Env
|
|
344
|
+
*/
|
|
345
|
+
export type Env = Message<"flyteidl2.imagebuilder.Env"> & {
|
|
346
|
+
/**
|
|
347
|
+
* Environment variables to set in the image.
|
|
348
|
+
*
|
|
349
|
+
* @generated from field: map<string, string> env_variables = 1;
|
|
350
|
+
*/
|
|
351
|
+
envVariables: { [key: string]: string };
|
|
352
|
+
};
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Describes the message flyteidl2.imagebuilder.Env.
|
|
356
|
+
* Use `create(EnvSchema)` to create a new message.
|
|
357
|
+
*/
|
|
358
|
+
export const EnvSchema: GenMessage<Env> = /*@__PURE__*/
|
|
359
|
+
messageDesc(file_flyteidl2_imagebuilder_definition, 11);
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* @generated from message flyteidl2.imagebuilder.PoetryProject
|
|
363
|
+
*/
|
|
364
|
+
export type PoetryProject = Message<"flyteidl2.imagebuilder.PoetryProject"> & {
|
|
365
|
+
/**
|
|
366
|
+
* @generated from field: string pyproject = 1;
|
|
367
|
+
*/
|
|
368
|
+
pyproject: string;
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* @generated from field: string poetry_lock = 2;
|
|
372
|
+
*/
|
|
373
|
+
poetryLock: string;
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Optional extra arguments for poetry install command
|
|
377
|
+
*
|
|
378
|
+
* @generated from field: string extra_args = 3;
|
|
379
|
+
*/
|
|
380
|
+
extraArgs: string;
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* @generated from field: repeated flyteidl2.core.Secret secret_mounts = 4;
|
|
384
|
+
*/
|
|
385
|
+
secretMounts: Secret[];
|
|
386
|
+
};
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* Describes the message flyteidl2.imagebuilder.PoetryProject.
|
|
390
|
+
* Use `create(PoetryProjectSchema)` to create a new message.
|
|
391
|
+
*/
|
|
392
|
+
export const PoetryProjectSchema: GenMessage<PoetryProject> = /*@__PURE__*/
|
|
393
|
+
messageDesc(file_flyteidl2_imagebuilder_definition, 12);
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* Layer defines a layer in the image, which can be one of several types.
|
|
397
|
+
*
|
|
398
|
+
* @generated from message flyteidl2.imagebuilder.Layer
|
|
399
|
+
*/
|
|
400
|
+
export type Layer = Message<"flyteidl2.imagebuilder.Layer"> & {
|
|
401
|
+
/**
|
|
402
|
+
* @generated from oneof flyteidl2.imagebuilder.Layer.layer
|
|
403
|
+
*/
|
|
404
|
+
layer: {
|
|
405
|
+
/**
|
|
406
|
+
* Apt packages to install.
|
|
407
|
+
*
|
|
408
|
+
* @generated from field: flyteidl2.imagebuilder.AptPackages apt_packages = 1;
|
|
409
|
+
*/
|
|
410
|
+
value: AptPackages;
|
|
411
|
+
case: "aptPackages";
|
|
412
|
+
} | {
|
|
413
|
+
/**
|
|
414
|
+
* Python packages to install.
|
|
415
|
+
*
|
|
416
|
+
* @generated from field: flyteidl2.imagebuilder.PipPackages pip_packages = 2;
|
|
417
|
+
*/
|
|
418
|
+
value: PipPackages;
|
|
419
|
+
case: "pipPackages";
|
|
420
|
+
} | {
|
|
421
|
+
/**
|
|
422
|
+
* Custom command to run.
|
|
423
|
+
*
|
|
424
|
+
* @generated from field: flyteidl2.imagebuilder.Commands commands = 3;
|
|
425
|
+
*/
|
|
426
|
+
value: Commands;
|
|
427
|
+
case: "commands";
|
|
428
|
+
} | {
|
|
429
|
+
/**
|
|
430
|
+
* Requirements file to use.
|
|
431
|
+
*
|
|
432
|
+
* @generated from field: flyteidl2.imagebuilder.Requirements requirements = 4;
|
|
433
|
+
*/
|
|
434
|
+
value: Requirements;
|
|
435
|
+
case: "requirements";
|
|
436
|
+
} | {
|
|
437
|
+
/**
|
|
438
|
+
* Python wheel file to use.
|
|
439
|
+
*
|
|
440
|
+
* @generated from field: flyteidl2.imagebuilder.PythonWheels python_wheels = 5;
|
|
441
|
+
*/
|
|
442
|
+
value: PythonWheels;
|
|
443
|
+
case: "pythonWheels";
|
|
444
|
+
} | {
|
|
445
|
+
/**
|
|
446
|
+
* Working directory to set.
|
|
447
|
+
*
|
|
448
|
+
* @generated from field: flyteidl2.imagebuilder.WorkDir workdir = 6;
|
|
449
|
+
*/
|
|
450
|
+
value: WorkDir;
|
|
451
|
+
case: "workdir";
|
|
452
|
+
} | {
|
|
453
|
+
/**
|
|
454
|
+
* Copy files/directories into the image.
|
|
455
|
+
*
|
|
456
|
+
* @generated from field: flyteidl2.imagebuilder.CopyConfig copy_config = 7;
|
|
457
|
+
*/
|
|
458
|
+
value: CopyConfig;
|
|
459
|
+
case: "copyConfig";
|
|
460
|
+
} | {
|
|
461
|
+
/**
|
|
462
|
+
* UV project configuration.
|
|
463
|
+
*
|
|
464
|
+
* @generated from field: flyteidl2.imagebuilder.UVProject uv_project = 8;
|
|
465
|
+
*/
|
|
466
|
+
value: UVProject;
|
|
467
|
+
case: "uvProject";
|
|
468
|
+
} | {
|
|
469
|
+
/**
|
|
470
|
+
* Environment variables to set.
|
|
471
|
+
*
|
|
472
|
+
* @generated from field: flyteidl2.imagebuilder.Env env = 9;
|
|
473
|
+
*/
|
|
474
|
+
value: Env;
|
|
475
|
+
case: "env";
|
|
476
|
+
} | {
|
|
477
|
+
/**
|
|
478
|
+
* Poetry project configuration
|
|
479
|
+
*
|
|
480
|
+
* @generated from field: flyteidl2.imagebuilder.PoetryProject poetry_project = 10;
|
|
481
|
+
*/
|
|
482
|
+
value: PoetryProject;
|
|
483
|
+
case: "poetryProject";
|
|
484
|
+
} | { case: undefined; value?: undefined };
|
|
485
|
+
};
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Describes the message flyteidl2.imagebuilder.Layer.
|
|
489
|
+
* Use `create(LayerSchema)` to create a new message.
|
|
490
|
+
*/
|
|
491
|
+
export const LayerSchema: GenMessage<Layer> = /*@__PURE__*/
|
|
492
|
+
messageDesc(file_flyteidl2_imagebuilder_definition, 13);
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* Image definition defined in the sdk.
|
|
496
|
+
*
|
|
497
|
+
* @generated from message flyteidl2.imagebuilder.ImageSpec
|
|
498
|
+
*/
|
|
499
|
+
export type ImageSpec = Message<"flyteidl2.imagebuilder.ImageSpec"> & {
|
|
500
|
+
/**
|
|
501
|
+
* Identifier for the base image.
|
|
502
|
+
*
|
|
503
|
+
* @generated from field: string base_image = 1;
|
|
504
|
+
*/
|
|
505
|
+
baseImage: string;
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* python version to use in the image.
|
|
509
|
+
*
|
|
510
|
+
* @generated from field: string python_version = 2;
|
|
511
|
+
*/
|
|
512
|
+
pythonVersion: string;
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* List of layers to apply to the image.
|
|
516
|
+
*
|
|
517
|
+
* @generated from field: repeated flyteidl2.imagebuilder.Layer layers = 3;
|
|
518
|
+
*/
|
|
519
|
+
layers: Layer[];
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* List of platforms to build the image for.
|
|
523
|
+
*
|
|
524
|
+
* @generated from field: repeated string platform = 4;
|
|
525
|
+
*/
|
|
526
|
+
platform: string[];
|
|
527
|
+
};
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* Describes the message flyteidl2.imagebuilder.ImageSpec.
|
|
531
|
+
* Use `create(ImageSpecSchema)` to create a new message.
|
|
532
|
+
*/
|
|
533
|
+
export const ImageSpecSchema: GenMessage<ImageSpec> = /*@__PURE__*/
|
|
534
|
+
messageDesc(file_flyteidl2_imagebuilder_definition, 14);
|
|
535
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/imagebuilder/payload.proto (package flyteidl2.imagebuilder, 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 { Image, ImageIdentifier } from "./definition_pb.ts";
|
|
9
|
+
import { file_flyteidl2_imagebuilder_definition } from "./definition_pb.ts";
|
|
10
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file flyteidl2/imagebuilder/payload.proto.
|
|
14
|
+
*/
|
|
15
|
+
export const file_flyteidl2_imagebuilder_payload: GenFile = /*@__PURE__*/
|
|
16
|
+
fileDesc("CiRmbHl0ZWlkbDIvaW1hZ2VidWlsZGVyL3BheWxvYWQucHJvdG8SFmZseXRlaWRsMi5pbWFnZWJ1aWxkZXIiZAoPR2V0SW1hZ2VSZXF1ZXN0EjsKAmlkGAEgASgLMicuZmx5dGVpZGwyLmltYWdlYnVpbGRlci5JbWFnZUlkZW50aWZpZXJCBrpIA8gBARIUCgxvcmdhbml6YXRpb24YAiABKAkiQAoQR2V0SW1hZ2VSZXNwb25zZRIsCgVpbWFnZRgBIAEoCzIdLmZseXRlaWRsMi5pbWFnZWJ1aWxkZXIuSW1hZ2VC4QEKGmNvbS5mbHl0ZWlkbDIuaW1hZ2VidWlsZGVyQgxQYXlsb2FkUHJvdG9IAlABWjpnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvaW1hZ2VidWlsZGVyogIDRklYqgIWRmx5dGVpZGwyLkltYWdlYnVpbGRlcsoCFkZseXRlaWRsMlxJbWFnZWJ1aWxkZXLiAiJGbHl0ZWlkbDJcSW1hZ2VidWlsZGVyXEdQQk1ldGFkYXRh6gIXRmx5dGVpZGwyOjpJbWFnZWJ1aWxkZXJiBnByb3RvMw", [file_buf_validate_validate, file_flyteidl2_imagebuilder_definition]);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @generated from message flyteidl2.imagebuilder.GetImageRequest
|
|
20
|
+
*/
|
|
21
|
+
export type GetImageRequest = Message<"flyteidl2.imagebuilder.GetImageRequest"> & {
|
|
22
|
+
/**
|
|
23
|
+
* Image ID
|
|
24
|
+
*
|
|
25
|
+
* @generated from field: flyteidl2.imagebuilder.ImageIdentifier id = 1;
|
|
26
|
+
*/
|
|
27
|
+
id?: ImageIdentifier;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Optional organization that dictates which dataplane registry to reference
|
|
31
|
+
*
|
|
32
|
+
* @generated from field: string organization = 2;
|
|
33
|
+
*/
|
|
34
|
+
organization: string;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message flyteidl2.imagebuilder.GetImageRequest.
|
|
39
|
+
* Use `create(GetImageRequestSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const GetImageRequestSchema: GenMessage<GetImageRequest> = /*@__PURE__*/
|
|
42
|
+
messageDesc(file_flyteidl2_imagebuilder_payload, 0);
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* GetSecretProxyResponse returns the looked up secret from the secret service
|
|
46
|
+
*
|
|
47
|
+
* @generated from message flyteidl2.imagebuilder.GetImageResponse
|
|
48
|
+
*/
|
|
49
|
+
export type GetImageResponse = Message<"flyteidl2.imagebuilder.GetImageResponse"> & {
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: flyteidl2.imagebuilder.Image image = 1;
|
|
52
|
+
*/
|
|
53
|
+
image?: Image;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message flyteidl2.imagebuilder.GetImageResponse.
|
|
58
|
+
* Use `create(GetImageResponseSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export const GetImageResponseSchema: GenMessage<GetImageResponse> = /*@__PURE__*/
|
|
61
|
+
messageDesc(file_flyteidl2_imagebuilder_payload, 1);
|
|
62
|
+
|
|
@@ -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/imagebuilder/service.proto (package flyteidl2.imagebuilder, 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 { GetImageRequestSchema, GetImageResponseSchema } from "./payload_pb.ts";
|
|
8
|
+
import { file_flyteidl2_imagebuilder_payload } from "./payload_pb.ts";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file flyteidl2/imagebuilder/service.proto.
|
|
12
|
+
*/
|
|
13
|
+
export const file_flyteidl2_imagebuilder_service: GenFile = /*@__PURE__*/
|
|
14
|
+
fileDesc("CiRmbHl0ZWlkbDIvaW1hZ2VidWlsZGVyL3NlcnZpY2UucHJvdG8SFmZseXRlaWRsMi5pbWFnZWJ1aWxkZXIycgoMSW1hZ2VTZXJ2aWNlEmIKCEdldEltYWdlEicuZmx5dGVpZGwyLmltYWdlYnVpbGRlci5HZXRJbWFnZVJlcXVlc3QaKC5mbHl0ZWlkbDIuaW1hZ2VidWlsZGVyLkdldEltYWdlUmVzcG9uc2UiA5ACAULhAQoaY29tLmZseXRlaWRsMi5pbWFnZWJ1aWxkZXJCDFNlcnZpY2VQcm90b0gCUAFaOmdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9pbWFnZWJ1aWxkZXKiAgNGSViqAhZGbHl0ZWlkbDIuSW1hZ2VidWlsZGVyygIWRmx5dGVpZGwyXEltYWdlYnVpbGRlcuICIkZseXRlaWRsMlxJbWFnZWJ1aWxkZXJcR1BCTWV0YWRhdGHqAhdGbHl0ZWlkbDI6OkltYWdlYnVpbGRlcmIGcHJvdG8z", [file_flyteidl2_imagebuilder_payload]);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @generated from service flyteidl2.imagebuilder.ImageService
|
|
18
|
+
*/
|
|
19
|
+
export const ImageService: GenService<{
|
|
20
|
+
/**
|
|
21
|
+
* @generated from rpc flyteidl2.imagebuilder.ImageService.GetImage
|
|
22
|
+
*/
|
|
23
|
+
getImage: {
|
|
24
|
+
methodKind: "unary";
|
|
25
|
+
input: typeof GetImageRequestSchema;
|
|
26
|
+
output: typeof GetImageResponseSchema;
|
|
27
|
+
},
|
|
28
|
+
}> = /*@__PURE__*/
|
|
29
|
+
serviceDesc(file_flyteidl2_imagebuilder_service, 0);
|
|
30
|
+
|