@flyteorg/flyteidl2 2.0.16 → 2.0.47
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 +36 -74
- package/flyteidl2/app/app_definition_pb.ts +185 -24
- package/flyteidl2/app/app_logs_payload_pb.ts +18 -2
- package/flyteidl2/app/app_payload_pb.ts +90 -12
- package/flyteidl2/artifact/artifact_pb.ts +277 -0
- package/flyteidl2/artifact/artifact_service_pb.ts +378 -0
- package/flyteidl2/cluster/payload_pb.ts +44 -2
- package/flyteidl2/common/cache_pb.ts +37 -0
- package/flyteidl2/common/list_pb.ts +22 -2
- package/flyteidl2/common/phase_pb.ts +11 -1
- package/flyteidl2/common/run_pb.ts +89 -3
- package/flyteidl2/core/artifact_id_pb.ts +112 -11
- package/flyteidl2/core/execution_pb.ts +190 -15
- package/flyteidl2/core/literals_pb.ts +14 -1
- package/flyteidl2/core/tasks_pb.ts +170 -14
- package/flyteidl2/dataproxy/dataproxy_service_pb.ts +76 -5
- package/flyteidl2/imagebuilder/definition_pb.ts +22 -1
- package/flyteidl2/logs/dataplane/payload_pb.ts +66 -2
- package/flyteidl2/notification/definition_pb.ts +58 -7
- package/flyteidl2/plugins/clustered_pb.ts +232 -0
- package/flyteidl2/plugins/ray_pb.ts +104 -7
- package/flyteidl2/settings/settings_definition_pb.ts +52 -41
- package/flyteidl2/task/common_pb.ts +134 -6
- package/flyteidl2/task/run_pb.ts +157 -9
- package/flyteidl2/task/task_definition_pb.ts +25 -4
- package/flyteidl2/task/task_service_pb.ts +18 -2
- package/flyteidl2/trigger/trigger_definition_pb.ts +26 -5
- package/flyteidl2/workflow/internal_run_service_pb.ts +37 -1
- package/flyteidl2/workflow/run_definition_pb.ts +219 -16
- package/flyteidl2/workflow/run_info_pb.ts +30 -1
- package/flyteidl2/workflow/run_service_pb.ts +703 -12
- package/flyteidl2/workflow/tracked_run_service_pb.ts +368 -0
- package/flyteidl2/workflow/translator_service_pb.ts +43 -2
- package/package.json +2 -2
|
@@ -13,7 +13,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
13
13
|
* Describes the file flyteidl2/settings/settings_definition.proto.
|
|
14
14
|
*/
|
|
15
15
|
export const file_flyteidl2_settings_settings_definition: GenFile = /*@__PURE__*/
|
|
16
|
-
fileDesc("
|
|
16
|
+
fileDesc("CixmbHl0ZWlkbDIvc2V0dGluZ3Mvc2V0dGluZ3NfZGVmaW5pdGlvbi5wcm90bxISZmx5dGVpZGwyLnNldHRpbmdzIh4KDFN0cmluZ1ZhbHVlcxIOCgZ2YWx1ZXMYASADKAkieAoJU3RyaW5nTWFwEjsKB2VudHJpZXMYASADKAsyKi5mbHl0ZWlkbDIuc2V0dGluZ3MuU3RyaW5nTWFwLkVudHJpZXNFbnRyeRouCgxFbnRyaWVzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASJECgtTZXR0aW5nc0tleRIUCgNvcmcYASABKAlCB7pIBHICEAESDgoGZG9tYWluGAIgASgJEg8KB3Byb2plY3QYAyABKAkiiwEKDVN0cmluZ1NldHRpbmcSLwoFc3RhdGUYASABKA4yIC5mbHl0ZWlkbDIuc2V0dGluZ3MuU2V0dGluZ1N0YXRlEhQKDHN0cmluZ192YWx1ZRgCIAEoCRIzCgtzY29wZV9sZXZlbBgDIAEoDjIeLmZseXRlaWRsMi5zZXR0aW5ncy5TY29wZUxldmVsIocBCgxJbnQ2NFNldHRpbmcSLwoFc3RhdGUYASABKA4yIC5mbHl0ZWlkbDIuc2V0dGluZ3MuU2V0dGluZ1N0YXRlEhEKCWludF92YWx1ZRgCIAEoAxIzCgtzY29wZV9sZXZlbBgDIAEoDjIeLmZseXRlaWRsMi5zZXR0aW5ncy5TY29wZUxldmVsIocBCgtCb29sU2V0dGluZxIvCgVzdGF0ZRgBIAEoDjIgLmZseXRlaWRsMi5zZXR0aW5ncy5TZXR0aW5nU3RhdGUSEgoKYm9vbF92YW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GUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9zZXR0aW5nc6ICA0ZTWKoCEkZseXRlaWRsMi5TZXR0aW5nc8oCEkZseXRlaWRsMlxTZXR0aW5nc+ICHkZseXRlaWRsMlxTZXR0aW5nc1xHUEJNZXRhZGF0YeoCE0ZseXRlaWRsMjo6U2V0dGluZ3NiBnByb3RvMw", [file_buf_validate_validate, file_google_protobuf_descriptor]);
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* StringValues is a wrapper for a list of strings.
|
|
@@ -184,39 +184,6 @@ export type BoolSetting = Message<"flyteidl2.settings.BoolSetting"> & {
|
|
|
184
184
|
export const BoolSettingSchema: GenMessage<BoolSetting> = /*@__PURE__*/
|
|
185
185
|
messageDesc(file_flyteidl2_settings_settings_definition, 5);
|
|
186
186
|
|
|
187
|
-
/**
|
|
188
|
-
* A setting that holds a list of strings.
|
|
189
|
-
* Merge behavior: additive (parent-first concatenation). UNSET clears
|
|
190
|
-
* accumulated values from parent scopes.
|
|
191
|
-
*
|
|
192
|
-
* @generated from message flyteidl2.settings.StringListSetting
|
|
193
|
-
*/
|
|
194
|
-
export type StringListSetting = Message<"flyteidl2.settings.StringListSetting"> & {
|
|
195
|
-
/**
|
|
196
|
-
* @generated from field: flyteidl2.settings.SettingState state = 1;
|
|
197
|
-
*/
|
|
198
|
-
state: SettingState;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* Meaningful only when state = VALUE.
|
|
202
|
-
*
|
|
203
|
-
* @generated from field: flyteidl2.settings.StringValues list_value = 2;
|
|
204
|
-
*/
|
|
205
|
-
listValue?: StringValues;
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* @generated from field: flyteidl2.settings.ScopeLevel scope_level = 3;
|
|
209
|
-
*/
|
|
210
|
-
scopeLevel: ScopeLevel;
|
|
211
|
-
};
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* Describes the message flyteidl2.settings.StringListSetting.
|
|
215
|
-
* Use `create(StringListSettingSchema)` to create a new message.
|
|
216
|
-
*/
|
|
217
|
-
export const StringListSettingSchema: GenMessage<StringListSetting> = /*@__PURE__*/
|
|
218
|
-
messageDesc(file_flyteidl2_settings_settings_definition, 6);
|
|
219
|
-
|
|
220
187
|
/**
|
|
221
188
|
* A setting that holds a string-to-string map.
|
|
222
189
|
* Merge behavior: child entries override parent on key conflict. UNSET clears
|
|
@@ -248,7 +215,7 @@ export type StringMapSetting = Message<"flyteidl2.settings.StringMapSetting"> &
|
|
|
248
215
|
* Use `create(StringMapSettingSchema)` to create a new message.
|
|
249
216
|
*/
|
|
250
217
|
export const StringMapSettingSchema: GenMessage<StringMapSetting> = /*@__PURE__*/
|
|
251
|
-
messageDesc(file_flyteidl2_settings_settings_definition,
|
|
218
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 6);
|
|
252
219
|
|
|
253
220
|
/**
|
|
254
221
|
* A setting that holds a Kubernetes resource quantity string
|
|
@@ -281,7 +248,7 @@ export type QuantitySetting = Message<"flyteidl2.settings.QuantitySetting"> & {
|
|
|
281
248
|
* Use `create(QuantitySettingSchema)` to create a new message.
|
|
282
249
|
*/
|
|
283
250
|
export const QuantitySettingSchema: GenMessage<QuantitySetting> = /*@__PURE__*/
|
|
284
|
-
messageDesc(file_flyteidl2_settings_settings_definition,
|
|
251
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 7);
|
|
285
252
|
|
|
286
253
|
/**
|
|
287
254
|
* RunSettings controls workflow execution behavior.
|
|
@@ -293,6 +260,16 @@ export type RunSettings = Message<"flyteidl2.settings.RunSettings"> & {
|
|
|
293
260
|
* @generated from field: flyteidl2.settings.StringSetting default_queue = 1;
|
|
294
261
|
*/
|
|
295
262
|
defaultQueue?: StringSetting;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* @generated from field: flyteidl2.settings.Int64Setting max_action_concurrency = 2;
|
|
266
|
+
*/
|
|
267
|
+
maxActionConcurrency?: Int64Setting;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* @generated from field: flyteidl2.settings.StringSetting run_base_dir = 3;
|
|
271
|
+
*/
|
|
272
|
+
runBaseDir?: StringSetting;
|
|
296
273
|
};
|
|
297
274
|
|
|
298
275
|
/**
|
|
@@ -300,7 +277,7 @@ export type RunSettings = Message<"flyteidl2.settings.RunSettings"> & {
|
|
|
300
277
|
* Use `create(RunSettingsSchema)` to create a new message.
|
|
301
278
|
*/
|
|
302
279
|
export const RunSettingsSchema: GenMessage<RunSettings> = /*@__PURE__*/
|
|
303
|
-
messageDesc(file_flyteidl2_settings_settings_definition,
|
|
280
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 8);
|
|
304
281
|
|
|
305
282
|
/**
|
|
306
283
|
* SecuritySettings controls security-related configuration.
|
|
@@ -319,7 +296,7 @@ export type SecuritySettings = Message<"flyteidl2.settings.SecuritySettings"> &
|
|
|
319
296
|
* Use `create(SecuritySettingsSchema)` to create a new message.
|
|
320
297
|
*/
|
|
321
298
|
export const SecuritySettingsSchema: GenMessage<SecuritySettings> = /*@__PURE__*/
|
|
322
|
-
messageDesc(file_flyteidl2_settings_settings_definition,
|
|
299
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 9);
|
|
323
300
|
|
|
324
301
|
/**
|
|
325
302
|
* StorageSettings controls data storage configuration.
|
|
@@ -338,7 +315,7 @@ export type StorageSettings = Message<"flyteidl2.settings.StorageSettings"> & {
|
|
|
338
315
|
* Use `create(StorageSettingsSchema)` to create a new message.
|
|
339
316
|
*/
|
|
340
317
|
export const StorageSettingsSchema: GenMessage<StorageSettings> = /*@__PURE__*/
|
|
341
|
-
messageDesc(file_flyteidl2_settings_settings_definition,
|
|
318
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 10);
|
|
342
319
|
|
|
343
320
|
/**
|
|
344
321
|
* TaskResourceDefaults holds resource quantity settings for a single bound
|
|
@@ -373,7 +350,7 @@ export type TaskResourceDefaults = Message<"flyteidl2.settings.TaskResourceDefau
|
|
|
373
350
|
* Use `create(TaskResourceDefaultsSchema)` to create a new message.
|
|
374
351
|
*/
|
|
375
352
|
export const TaskResourceDefaultsSchema: GenMessage<TaskResourceDefaults> = /*@__PURE__*/
|
|
376
|
-
messageDesc(file_flyteidl2_settings_settings_definition,
|
|
353
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 11);
|
|
377
354
|
|
|
378
355
|
/**
|
|
379
356
|
* TaskResourceSettings controls task resource configuration.
|
|
@@ -402,6 +379,30 @@ export type TaskResourceSettings = Message<"flyteidl2.settings.TaskResourceSetti
|
|
|
402
379
|
* Use `create(TaskResourceSettingsSchema)` to create a new message.
|
|
403
380
|
*/
|
|
404
381
|
export const TaskResourceSettingsSchema: GenMessage<TaskResourceSettings> = /*@__PURE__*/
|
|
382
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 12);
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* AppSettings controls policy for Union Apps.
|
|
386
|
+
*
|
|
387
|
+
* @generated from message flyteidl2.settings.AppSettings
|
|
388
|
+
*/
|
|
389
|
+
export type AppSettings = Message<"flyteidl2.settings.AppSettings"> & {
|
|
390
|
+
/**
|
|
391
|
+
* When VALUE=true, apps may not be deployed with anonymous (unauthenticated)
|
|
392
|
+
* access: the control plane rejects a deploy that sets allow_anonymous=true,
|
|
393
|
+
* and the operator forces authentication on at reconcile time. This is the
|
|
394
|
+
* org-level override of the per-app SecurityContext.allow_anonymous field.
|
|
395
|
+
*
|
|
396
|
+
* @generated from field: flyteidl2.settings.BoolSetting disallow_anonymous = 1;
|
|
397
|
+
*/
|
|
398
|
+
disallowAnonymous?: BoolSetting;
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* Describes the message flyteidl2.settings.AppSettings.
|
|
403
|
+
* Use `create(AppSettingsSchema)` to create a new message.
|
|
404
|
+
*/
|
|
405
|
+
export const AppSettingsSchema: GenMessage<AppSettings> = /*@__PURE__*/
|
|
405
406
|
messageDesc(file_flyteidl2_settings_settings_definition, 13);
|
|
406
407
|
|
|
407
408
|
/**
|
|
@@ -444,6 +445,16 @@ export type Settings = Message<"flyteidl2.settings.Settings"> & {
|
|
|
444
445
|
* @generated from field: flyteidl2.settings.StringMapSetting environment_variables = 7;
|
|
445
446
|
*/
|
|
446
447
|
environmentVariables?: StringMapSetting;
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* @generated from field: flyteidl2.settings.AppSettings app = 8;
|
|
451
|
+
*/
|
|
452
|
+
app?: AppSettings;
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* @generated from field: flyteidl2.settings.StringSetting pod_template_name = 9;
|
|
456
|
+
*/
|
|
457
|
+
podTemplateName?: StringSetting;
|
|
447
458
|
};
|
|
448
459
|
|
|
449
460
|
/**
|
|
@@ -518,7 +529,7 @@ export const ScopeLevelSchema: GenEnum<ScopeLevel> = /*@__PURE__*/
|
|
|
518
529
|
enumDesc(file_flyteidl2_settings_settings_definition, 1);
|
|
519
530
|
|
|
520
531
|
/**
|
|
521
|
-
* @generated from extension: string desc =
|
|
532
|
+
* @generated from extension: string desc = 1364;
|
|
522
533
|
*/
|
|
523
534
|
export const desc: GenExtension<FieldOptions, string> = /*@__PURE__*/
|
|
524
535
|
extDesc(file_flyteidl2_settings_settings_definition, 0);
|
|
@@ -5,10 +5,14 @@
|
|
|
5
5
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
6
|
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
7
|
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { ArtifactInfo, ArtifactVersionId } from "../core/artifact_id_pb.ts";
|
|
9
|
+
import { file_flyteidl2_core_artifact_id } from "../core/artifact_id_pb.ts";
|
|
8
10
|
import type { Parameter } from "../core/interface_pb.ts";
|
|
9
11
|
import { file_flyteidl2_core_interface } from "../core/interface_pb.ts";
|
|
10
12
|
import type { KeyValuePair, Literal } from "../core/literals_pb.ts";
|
|
11
13
|
import { file_flyteidl2_core_literals } from "../core/literals_pb.ts";
|
|
14
|
+
import type { LiteralType } from "../core/types_pb.ts";
|
|
15
|
+
import { file_flyteidl2_core_types } from "../core/types_pb.ts";
|
|
12
16
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
13
17
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
14
18
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -17,7 +21,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
17
21
|
* Describes the file flyteidl2/task/common.proto.
|
|
18
22
|
*/
|
|
19
23
|
export const file_flyteidl2_task_common: GenFile = /*@__PURE__*/
|
|
20
|
-
fileDesc("
|
|
24
|
+
fileDesc("ChtmbHl0ZWlkbDIvdGFzay9jb21tb24ucHJvdG8SDmZseXRlaWRsMi50YXNrIkwKDk5hbWVkUGFyYW1ldGVyEgwKBG5hbWUYASABKAkSLAoJcGFyYW1ldGVyGAIgASgLMhkuZmx5dGVpZGwyLmNvcmUuUGFyYW1ldGVyIooBCglGaXhlZFJhdGUSFgoFdmFsdWUYASABKA1CB7pIBCoCIAASNQoEdW5pdBgCIAEoDjIdLmZseXRlaWRsMi50YXNrLkZpeGVkUmF0ZVVuaXRCCLpIBYIBAiAAEi4KCnN0YXJ0X3RpbWUYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIjUKBENyb24SGwoKZXhwcmVzc2lvbhgBIAEoCUIHukgEcgIQARIQCgh0aW1lem9uZRgCIAEoCSKvAQoIU2NoZWR1bGUSKQoEcmF0ZRgBIAEoCzIZLmZseXRlaWRsMi50YXNrLkZpeGVkUmF0ZUgAEh0KD2Nyb25fZXhwcmVzc2lvbhgCIAEoCUICGAFIABIkCgRjcm9uGAQgASgLMhQuZmx5dGVpZGwyLnRhc2suQ3JvbkgAEh4KFmtpY2tvZmZfdGltZV9pbnB1dF9hcmcYAyABKAlCEwoKZXhwc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GAEgAygLMhwuZmx5dGVpZGwyLnRhc2suTmFtZWRMaXRlcmFsEjwKEnByb2R1Y2VkX2FydGlmYWN0cxgDIAMoCzIgLmZseXRlaWRsMi50YXNrLlByb2R1Y2VkQXJ0aWZhY3QqfwoNRml4ZWRSYXRlVW5pdBIfChtGSVhFRF9SQVRFX1VOSVRfVU5TUEVDSUZJRUQQABIaChZGSVhFRF9SQVRFX1VOSVRfTUlOVVRFEAESGAoURklYRURfUkFURV9VTklUX0hPVVIQAhIXChNGSVhFRF9SQVRFX1VOSVRfREFZEAMqZgoZVHJpZ2dlckF1dG9tYXRpb25TcGVjVHlwZRIUChBUWVBFX1VOU1BFQ0lGSUVEEAASDQoJVFlQRV9OT05FEAESEQoNVFlQRV9TQ0hFRFVMRRACEhEKDVRZUEVfQVJUSUZBQ1QQA0KwAQoSY29tLmZseXRlaWRsMi50YXNrQgtDb21tb25Qcm90b0gCUAFaMmdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi90YXNrogIDRlRYqgIORmx5dGVpZGwyLlRhc2vKAg5GbHl0ZWlkbDJcVGFza+ICGkZseXRlaWRsMlxUYXNrXEdQQk1ldGFkYXRh6gIPRmx5dGVpZGwyOjpUYXNrYgZwcm90bzM", [file_buf_validate_validate, file_flyteidl2_core_artifact_id, file_flyteidl2_core_interface, file_flyteidl2_core_literals, file_flyteidl2_core_types, file_google_protobuf_timestamp]);
|
|
21
25
|
|
|
22
26
|
/**
|
|
23
27
|
* @generated from message flyteidl2.task.NamedParameter
|
|
@@ -147,6 +151,43 @@ export type Schedule = Message<"flyteidl2.task.Schedule"> & {
|
|
|
147
151
|
export const ScheduleSchema: GenMessage<Schedule> = /*@__PURE__*/
|
|
148
152
|
messageDesc(file_flyteidl2_task_common, 3);
|
|
149
153
|
|
|
154
|
+
/**
|
|
155
|
+
* Fires a run when a new version of the named artifact is created.
|
|
156
|
+
*
|
|
157
|
+
* @generated from message flyteidl2.task.ArtifactTrigger
|
|
158
|
+
*/
|
|
159
|
+
export type ArtifactTrigger = Message<"flyteidl2.task.ArtifactTrigger"> & {
|
|
160
|
+
/**
|
|
161
|
+
* Name of the artifact to watch, scoped to the trigger's org/project/domain.
|
|
162
|
+
*
|
|
163
|
+
* @generated from field: string artifact_name = 1;
|
|
164
|
+
*/
|
|
165
|
+
artifactName: string;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Optional: fire only when exactly this version is created. Empty means any new version.
|
|
169
|
+
*
|
|
170
|
+
* @generated from field: string version = 2;
|
|
171
|
+
*/
|
|
172
|
+
version: string;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Name of the task input variable that the triggering artifact's value will be supplied to
|
|
176
|
+
* when the run is kicked off. Mirrors Schedule.kickoff_time_input_arg. Optional; empty means
|
|
177
|
+
* the artifact is not bound to any input.
|
|
178
|
+
*
|
|
179
|
+
* @generated from field: string input_arg = 3;
|
|
180
|
+
*/
|
|
181
|
+
inputArg: string;
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Describes the message flyteidl2.task.ArtifactTrigger.
|
|
186
|
+
* Use `create(ArtifactTriggerSchema)` to create a new message.
|
|
187
|
+
*/
|
|
188
|
+
export const ArtifactTriggerSchema: GenMessage<ArtifactTrigger> = /*@__PURE__*/
|
|
189
|
+
messageDesc(file_flyteidl2_task_common, 4);
|
|
190
|
+
|
|
150
191
|
/**
|
|
151
192
|
* @generated from message flyteidl2.task.TriggerAutomationSpec
|
|
152
193
|
*/
|
|
@@ -167,6 +208,12 @@ export type TriggerAutomationSpec = Message<"flyteidl2.task.TriggerAutomationSpe
|
|
|
167
208
|
*/
|
|
168
209
|
value: Schedule;
|
|
169
210
|
case: "schedule";
|
|
211
|
+
} | {
|
|
212
|
+
/**
|
|
213
|
+
* @generated from field: flyteidl2.task.ArtifactTrigger artifact = 3;
|
|
214
|
+
*/
|
|
215
|
+
value: ArtifactTrigger;
|
|
216
|
+
case: "artifact";
|
|
170
217
|
} | { case: undefined; value?: undefined };
|
|
171
218
|
};
|
|
172
219
|
|
|
@@ -175,7 +222,7 @@ export type TriggerAutomationSpec = Message<"flyteidl2.task.TriggerAutomationSpe
|
|
|
175
222
|
* Use `create(TriggerAutomationSpecSchema)` to create a new message.
|
|
176
223
|
*/
|
|
177
224
|
export const TriggerAutomationSpecSchema: GenMessage<TriggerAutomationSpec> = /*@__PURE__*/
|
|
178
|
-
messageDesc(file_flyteidl2_task_common,
|
|
225
|
+
messageDesc(file_flyteidl2_task_common, 5);
|
|
179
226
|
|
|
180
227
|
/**
|
|
181
228
|
* Named literal value.
|
|
@@ -203,7 +250,7 @@ export type NamedLiteral = Message<"flyteidl2.task.NamedLiteral"> & {
|
|
|
203
250
|
* Use `create(NamedLiteralSchema)` to create a new message.
|
|
204
251
|
*/
|
|
205
252
|
export const NamedLiteralSchema: GenMessage<NamedLiteral> = /*@__PURE__*/
|
|
206
|
-
messageDesc(file_flyteidl2_task_common,
|
|
253
|
+
messageDesc(file_flyteidl2_task_common, 6);
|
|
207
254
|
|
|
208
255
|
/**
|
|
209
256
|
* Output references.
|
|
@@ -231,7 +278,7 @@ export type OutputReferences = Message<"flyteidl2.task.OutputReferences"> & {
|
|
|
231
278
|
* Use `create(OutputReferencesSchema)` to create a new message.
|
|
232
279
|
*/
|
|
233
280
|
export const OutputReferencesSchema: GenMessage<OutputReferences> = /*@__PURE__*/
|
|
234
|
-
messageDesc(file_flyteidl2_task_common,
|
|
281
|
+
messageDesc(file_flyteidl2_task_common, 7);
|
|
235
282
|
|
|
236
283
|
/**
|
|
237
284
|
* Input payload for an action.
|
|
@@ -264,7 +311,73 @@ export type Inputs = Message<"flyteidl2.task.Inputs"> & {
|
|
|
264
311
|
* Use `create(InputsSchema)` to create a new message.
|
|
265
312
|
*/
|
|
266
313
|
export const InputsSchema: GenMessage<Inputs> = /*@__PURE__*/
|
|
267
|
-
messageDesc(file_flyteidl2_task_common,
|
|
314
|
+
messageDesc(file_flyteidl2_task_common, 8);
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Declares that a named output of the producing action is a new artifact
|
|
318
|
+
* version. The output's literal (in Outputs.literals) is the artifact's value;
|
|
319
|
+
* org/project/domain come from the producing action's scope at registration.
|
|
320
|
+
*
|
|
321
|
+
* @generated from message flyteidl2.task.ProducedArtifact
|
|
322
|
+
*/
|
|
323
|
+
export type ProducedArtifact = Message<"flyteidl2.task.ProducedArtifact"> & {
|
|
324
|
+
/**
|
|
325
|
+
* Name of the NamedLiteral in Outputs.literals this declaration refers to.
|
|
326
|
+
*
|
|
327
|
+
* @generated from field: string output = 1;
|
|
328
|
+
*/
|
|
329
|
+
output: string;
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Artifact name to register under.
|
|
333
|
+
*
|
|
334
|
+
* @generated from field: string name = 2;
|
|
335
|
+
*/
|
|
336
|
+
name: string;
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Optional explicit version. Empty means the backend derives one
|
|
340
|
+
* (<run>-<action>-<attempt>).
|
|
341
|
+
*
|
|
342
|
+
* @generated from field: string version = 3;
|
|
343
|
+
*/
|
|
344
|
+
version: string;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Descriptive payload, copied verbatim into ArtifactSpec.info.
|
|
348
|
+
*
|
|
349
|
+
* @generated from field: flyteidl2.core.ArtifactInfo info = 4;
|
|
350
|
+
*/
|
|
351
|
+
info?: ArtifactInfo;
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* The declared Flyte type of the output, copied into ArtifactSpec.type.
|
|
355
|
+
* The producing SDK is authoritative for this.
|
|
356
|
+
*
|
|
357
|
+
* @generated from field: flyteidl2.core.LiteralType type = 5;
|
|
358
|
+
*/
|
|
359
|
+
type?: LiteralType;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Optional artifact version the produced version was derived from, copied
|
|
363
|
+
* verbatim into ArtifactSpec.parent_artifact. Set by the producing task when
|
|
364
|
+
* it derives a new version from one it consumed, so the resulting lineage
|
|
365
|
+
* branches instead of reading as a linear chain. Empty key fields inherit
|
|
366
|
+
* the produced artifact's own scope and name, so a bare {version: "v1"}
|
|
367
|
+
* declares the previous version of this same artifact as parent; a set name
|
|
368
|
+
* records cross-artifact derivation.
|
|
369
|
+
*
|
|
370
|
+
* @generated from field: flyteidl2.core.ArtifactVersionId parent_artifact = 6;
|
|
371
|
+
*/
|
|
372
|
+
parentArtifact?: ArtifactVersionId;
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Describes the message flyteidl2.task.ProducedArtifact.
|
|
377
|
+
* Use `create(ProducedArtifactSchema)` to create a new message.
|
|
378
|
+
*/
|
|
379
|
+
export const ProducedArtifactSchema: GenMessage<ProducedArtifact> = /*@__PURE__*/
|
|
380
|
+
messageDesc(file_flyteidl2_task_common, 9);
|
|
268
381
|
|
|
269
382
|
/**
|
|
270
383
|
* Output payload for an action.
|
|
@@ -278,6 +391,16 @@ export type Outputs = Message<"flyteidl2.task.Outputs"> & {
|
|
|
278
391
|
* @generated from field: repeated flyteidl2.task.NamedLiteral literals = 1;
|
|
279
392
|
*/
|
|
280
393
|
literals: NamedLiteral[];
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* Artifact registration declarations for outputs wrapped as artifacts by the
|
|
397
|
+
* producing task. Field 3 (not 2) on purpose: outputs.pb blobs are sometimes
|
|
398
|
+
* cross-decoded as task.Inputs, where field 2 is `context`; field 3 is unused
|
|
399
|
+
* there, so this never aliases.
|
|
400
|
+
*
|
|
401
|
+
* @generated from field: repeated flyteidl2.task.ProducedArtifact produced_artifacts = 3;
|
|
402
|
+
*/
|
|
403
|
+
producedArtifacts: ProducedArtifact[];
|
|
281
404
|
};
|
|
282
405
|
|
|
283
406
|
/**
|
|
@@ -285,7 +408,7 @@ export type Outputs = Message<"flyteidl2.task.Outputs"> & {
|
|
|
285
408
|
* Use `create(OutputsSchema)` to create a new message.
|
|
286
409
|
*/
|
|
287
410
|
export const OutputsSchema: GenMessage<Outputs> = /*@__PURE__*/
|
|
288
|
-
messageDesc(file_flyteidl2_task_common,
|
|
411
|
+
messageDesc(file_flyteidl2_task_common, 10);
|
|
289
412
|
|
|
290
413
|
/**
|
|
291
414
|
* Represents a frequency at which to run a schedule.
|
|
@@ -338,6 +461,11 @@ export enum TriggerAutomationSpecType {
|
|
|
338
461
|
* @generated from enum value: TYPE_SCHEDULE = 2;
|
|
339
462
|
*/
|
|
340
463
|
TYPE_SCHEDULE = 2,
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* @generated from enum value: TYPE_ARTIFACT = 3;
|
|
467
|
+
*/
|
|
468
|
+
TYPE_ARTIFACT = 3,
|
|
341
469
|
}
|
|
342
470
|
|
|
343
471
|
/**
|
package/flyteidl2/task/run_pb.ts
CHANGED
|
@@ -5,22 +5,27 @@
|
|
|
5
5
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
6
|
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
7
|
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { RunIdentifier } from "../common/identifier_pb.ts";
|
|
9
|
+
import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
|
|
8
10
|
import type { ActionPhase } from "../common/phase_pb.ts";
|
|
9
11
|
import { file_flyteidl2_common_phase } from "../common/phase_pb.ts";
|
|
12
|
+
import type { Relation } from "../common/run_pb.ts";
|
|
13
|
+
import { file_flyteidl2_common_run } from "../common/run_pb.ts";
|
|
10
14
|
import type { KeyValuePair } from "../core/literals_pb.ts";
|
|
11
15
|
import { file_flyteidl2_core_literals } from "../core/literals_pb.ts";
|
|
12
16
|
import type { SecurityContext } from "../core/security_pb.ts";
|
|
13
17
|
import { file_flyteidl2_core_security } from "../core/security_pb.ts";
|
|
14
18
|
import type { DeliveryConfigTemplate } from "../notification/definition_pb.ts";
|
|
15
19
|
import { file_flyteidl2_notification_definition } from "../notification/definition_pb.ts";
|
|
16
|
-
import {
|
|
20
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
21
|
+
import { file_google_protobuf_timestamp, file_google_protobuf_wrappers } from "@bufbuild/protobuf/wkt";
|
|
17
22
|
import type { Message } from "@bufbuild/protobuf";
|
|
18
23
|
|
|
19
24
|
/**
|
|
20
25
|
* Describes the file flyteidl2/task/run.proto.
|
|
21
26
|
*/
|
|
22
27
|
export const file_flyteidl2_task_run: GenFile = /*@__PURE__*/
|
|
23
|
-
fileDesc("
|
|
28
|
+
fileDesc("ChhmbHl0ZWlkbDIvdGFzay9ydW4ucHJvdG8SDmZseXRlaWRsMi50YXNrImsKBkxhYmVscxIyCgZ2YWx1ZXMYASADKAsyIi5mbHl0ZWlkbDIudGFzay5MYWJlbHMuVmFsdWVzRW50cnkaLQoLVmFsdWVzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASJ1CgtBbm5vdGF0aW9ucxI3CgZ2YWx1ZXMYASADKAsyJy5mbHl0ZWlkbDIudGFzay5Bbm5vdGF0aW9ucy5WYWx1ZXNFbnRyeRotCgtWYWx1ZXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIjQKBEVudnMSLAoGdmFsdWVzGAEgAygLMhwuZmx5dGVpZGwyLmNvcmUuS2V5VmFsdWVQYWlyIikKDlJhd0RhdGFTdG9yYWdlEhcKD3Jhd19kYXRhX3ByZWZpeBgBIAEoCSJkCgtDYWNoZUNvbmZpZxIXCg9vdmVyd3JpdGVfY2FjaGUYASABKAgSPAoSY2FjaGVfbG9va3VwX3Njb3BlGAIgASgOMiAuZmx5dGVpZGwyLnRhc2suQ2FjaGVMb29rdXBTY29wZSI0CgdSZWNvdmVyEikKE2ZvcmNlX3JlcnVuX2FjdGlvbnMYASADKAlCDLpICZIBBiIEcgIQASLbBgoHUnVuU3Bl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JCrQEKEmNvbS5mbHl0ZWlkbDIudGFza0IIUnVuUHJvdG9IAlABWjJnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvdGFza6ICA0ZUWKoCDkZseXRlaWRsMi5UYXNrygIORmx5dGVpZGwyXFRhc2viAhpGbHl0ZWlkbDJcVGFza1xHUEJNZXRhZGF0YeoCD0ZseXRlaWRsMjo6VGFza2IGcHJvdG8z", [file_buf_validate_validate, file_flyteidl2_common_identifier, file_flyteidl2_common_phase, file_flyteidl2_common_run, file_flyteidl2_core_literals, file_flyteidl2_core_security, file_flyteidl2_notification_definition, file_google_protobuf_timestamp, file_google_protobuf_wrappers]);
|
|
24
29
|
|
|
25
30
|
/**
|
|
26
31
|
* Label values to be applied to an execution resource.
|
|
@@ -140,6 +145,36 @@ export type CacheConfig = Message<"flyteidl2.task.CacheConfig"> & {
|
|
|
140
145
|
export const CacheConfigSchema: GenMessage<CacheConfig> = /*@__PURE__*/
|
|
141
146
|
messageDesc(file_flyteidl2_task_run, 4);
|
|
142
147
|
|
|
148
|
+
/**
|
|
149
|
+
* Recover carries the optional configuration of a recovery run — a run created
|
|
150
|
+
* with RunSpec.relation.relation_type = RELATION_TYPE_RECOVER. The run being
|
|
151
|
+
* recovered is RunSpec.relation.related_to; this message intentionally carries no
|
|
152
|
+
* run reference of its own. It is the extension point for future recovery
|
|
153
|
+
* parameters.
|
|
154
|
+
*
|
|
155
|
+
* @generated from message flyteidl2.task.Recover
|
|
156
|
+
*/
|
|
157
|
+
export type Recover = Message<"flyteidl2.task.Recover"> & {
|
|
158
|
+
/**
|
|
159
|
+
* Escape hatch: names of actions that must always re-execute in this recovery
|
|
160
|
+
* run, even if they succeeded in the run being recovered. A listed parent
|
|
161
|
+
* action re-executes and therefore re-enqueues its children, each of which goes
|
|
162
|
+
* through the recovery decision individually (list them too to force the whole
|
|
163
|
+
* subtree). A listed condition action re-pauses and waits for a new signal.
|
|
164
|
+
* Unknown names are ignored.
|
|
165
|
+
*
|
|
166
|
+
* @generated from field: repeated string force_rerun_actions = 1;
|
|
167
|
+
*/
|
|
168
|
+
forceRerunActions: string[];
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Describes the message flyteidl2.task.Recover.
|
|
173
|
+
* Use `create(RecoverSchema)` to create a new message.
|
|
174
|
+
*/
|
|
175
|
+
export const RecoverSchema: GenMessage<Recover> = /*@__PURE__*/
|
|
176
|
+
messageDesc(file_flyteidl2_task_run, 5);
|
|
177
|
+
|
|
143
178
|
/**
|
|
144
179
|
* @generated from message flyteidl2.task.RunSpec
|
|
145
180
|
*/
|
|
@@ -182,12 +217,13 @@ export type RunSpec = Message<"flyteidl2.task.RunSpec"> & {
|
|
|
182
217
|
overwriteCache: boolean;
|
|
183
218
|
|
|
184
219
|
/**
|
|
185
|
-
*
|
|
186
|
-
* default for all actions in the run unless overridden.
|
|
220
|
+
* The queue name that this run should be executed on.
|
|
221
|
+
* This value will be used as the default for all actions in the run unless overridden in TaskAction.queue.
|
|
222
|
+
* Queue name is unique within an org so it can be used as an id to reference the queue.
|
|
187
223
|
*
|
|
188
|
-
* @generated from field: string
|
|
224
|
+
* @generated from field: string queue = 6;
|
|
189
225
|
*/
|
|
190
|
-
|
|
226
|
+
queue: string;
|
|
191
227
|
|
|
192
228
|
/**
|
|
193
229
|
* Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
|
|
@@ -232,6 +268,83 @@ export type RunSpec = Message<"flyteidl2.task.RunSpec"> & {
|
|
|
232
268
|
value: InlineRuleList;
|
|
233
269
|
case: "notificationRules";
|
|
234
270
|
} | { case: undefined; value?: undefined };
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* The time at which the run was started. For scheduled-trigger runs this is the trigger's
|
|
274
|
+
* scheduled fire time; for ad-hoc runs the server defaults it to run-creation time. It is
|
|
275
|
+
* substituted into the {{.runStartTime}} container-arg template so task code can read it via
|
|
276
|
+
* flyte.ctx().run_start_time (SDK >= 2.3.6). Older task templates omit the placeholder, so
|
|
277
|
+
* the substitution is a harmless no-op for them.
|
|
278
|
+
*
|
|
279
|
+
* @generated from field: google.protobuf.Timestamp run_start_time = 12;
|
|
280
|
+
*/
|
|
281
|
+
runStartTime?: Timestamp;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Maximum number of actions of this run that may execute concurrently.
|
|
285
|
+
* 0 (unset) means unlimited. Enforced by the scheduler in addition to any
|
|
286
|
+
* queue-level concurrency limits (min wins): actions beyond the limit stay
|
|
287
|
+
* queued until a running action of this run completes.
|
|
288
|
+
*
|
|
289
|
+
* @generated from field: uint32 max_action_concurrency = 13;
|
|
290
|
+
*/
|
|
291
|
+
maxActionConcurrency: number;
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* Base directory under which the run's metadata (inputs.pb, per-action
|
|
295
|
+
* outputs.pb, action metadata) is written. When set, it overrides the
|
|
296
|
+
* org/project/domain settings default and the dataplane cluster default.
|
|
297
|
+
* Leave empty to fall back to settings, then to the cluster default.
|
|
298
|
+
* Distinct from raw_data_storage.raw_data_prefix, which controls offloaded
|
|
299
|
+
* blob (user data) layout.
|
|
300
|
+
*
|
|
301
|
+
* @generated from field: string run_base_dir = 14;
|
|
302
|
+
*/
|
|
303
|
+
runBaseDir: string;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Deprecated: use relation instead. Optional pointer to the single parent run this run
|
|
307
|
+
* was derived from. If set and relation is unset, the server normalizes it into relation
|
|
308
|
+
* with RELATION_TYPE_RERUN.
|
|
309
|
+
*
|
|
310
|
+
* @generated from field: flyteidl2.common.RunIdentifier related_to = 15 [deprecated = true];
|
|
311
|
+
* @deprecated
|
|
312
|
+
*/
|
|
313
|
+
relatedTo?: RunIdentifier;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Pool of the assigned queue for given run.
|
|
317
|
+
* Always set by server. Should not be specified by user.
|
|
318
|
+
*
|
|
319
|
+
* @generated from field: string cluster_pool = 16;
|
|
320
|
+
*/
|
|
321
|
+
clusterPool: string;
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* How the task spec was provided at creation (deployed TaskId vs inline spec).
|
|
325
|
+
* Set by server; lets the rerun UI choose TaskId over the full inline spec.
|
|
326
|
+
*
|
|
327
|
+
* @generated from field: flyteidl2.task.TaskSpecSource task_spec_source = 17;
|
|
328
|
+
*/
|
|
329
|
+
taskSpecSource: TaskSpecSource;
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Optional provenance link to the single parent run this run was derived from
|
|
333
|
+
* (re-run or recover). Set at creation, immutable thereafter, and scoped to the
|
|
334
|
+
* same org/project/domain as this run. Replaces related_to.
|
|
335
|
+
*
|
|
336
|
+
* @generated from field: flyteidl2.common.Relation relation = 18;
|
|
337
|
+
*/
|
|
338
|
+
relation?: Relation;
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Optional recovery configuration. Only meaningful when relation is set with
|
|
342
|
+
* RELATION_TYPE_RECOVER: the run recovers relation.related_to — its successful
|
|
343
|
+
* actions are reused and only failed/changed ones re-execute. See Recover.
|
|
344
|
+
*
|
|
345
|
+
* @generated from field: flyteidl2.task.Recover recover = 19;
|
|
346
|
+
*/
|
|
347
|
+
recover?: Recover;
|
|
235
348
|
};
|
|
236
349
|
|
|
237
350
|
/**
|
|
@@ -239,7 +352,7 @@ export type RunSpec = Message<"flyteidl2.task.RunSpec"> & {
|
|
|
239
352
|
* Use `create(RunSpecSchema)` to create a new message.
|
|
240
353
|
*/
|
|
241
354
|
export const RunSpecSchema: GenMessage<RunSpec> = /*@__PURE__*/
|
|
242
|
-
messageDesc(file_flyteidl2_task_run,
|
|
355
|
+
messageDesc(file_flyteidl2_task_run, 6);
|
|
243
356
|
|
|
244
357
|
/**
|
|
245
358
|
* @generated from message flyteidl2.task.InlineRuleList
|
|
@@ -256,7 +369,7 @@ export type InlineRuleList = Message<"flyteidl2.task.InlineRuleList"> & {
|
|
|
256
369
|
* Use `create(InlineRuleListSchema)` to create a new message.
|
|
257
370
|
*/
|
|
258
371
|
export const InlineRuleListSchema: GenMessage<InlineRuleList> = /*@__PURE__*/
|
|
259
|
-
messageDesc(file_flyteidl2_task_run,
|
|
372
|
+
messageDesc(file_flyteidl2_task_run, 7);
|
|
260
373
|
|
|
261
374
|
/**
|
|
262
375
|
* @generated from message flyteidl2.task.InlineRule
|
|
@@ -281,6 +394,7 @@ export type InlineRule = Message<"flyteidl2.task.InlineRule"> & {
|
|
|
281
394
|
} | {
|
|
282
395
|
/**
|
|
283
396
|
* template can only have fields defined in flyteidl2.notification.RunCompletedNotificationTemplateData
|
|
397
|
+
* (terminal-phase rules) or flyteidl2.notification.ActionPausedNotificationTemplateData (PAUSED rules)
|
|
284
398
|
*
|
|
285
399
|
* @generated from field: flyteidl2.notification.DeliveryConfigTemplate delivery_template = 3;
|
|
286
400
|
*/
|
|
@@ -294,7 +408,7 @@ export type InlineRule = Message<"flyteidl2.task.InlineRule"> & {
|
|
|
294
408
|
* Use `create(InlineRuleSchema)` to create a new message.
|
|
295
409
|
*/
|
|
296
410
|
export const InlineRuleSchema: GenMessage<InlineRule> = /*@__PURE__*/
|
|
297
|
-
messageDesc(file_flyteidl2_task_run,
|
|
411
|
+
messageDesc(file_flyteidl2_task_run, 8);
|
|
298
412
|
|
|
299
413
|
/**
|
|
300
414
|
* @generated from enum flyteidl2.task.CacheLookupScope
|
|
@@ -333,3 +447,37 @@ export enum CacheLookupScope {
|
|
|
333
447
|
export const CacheLookupScopeSchema: GenEnum<CacheLookupScope> = /*@__PURE__*/
|
|
334
448
|
enumDesc(file_flyteidl2_task_run, 0);
|
|
335
449
|
|
|
450
|
+
/**
|
|
451
|
+
* TaskSpecSource records how a run's task spec was provided at creation time, so
|
|
452
|
+
* the rerun UI can send a TaskId (deployed) rather than the full inline spec.
|
|
453
|
+
*
|
|
454
|
+
* @generated from enum flyteidl2.task.TaskSpecSource
|
|
455
|
+
*/
|
|
456
|
+
export enum TaskSpecSource {
|
|
457
|
+
/**
|
|
458
|
+
* @generated from enum value: TASK_SPEC_SOURCE_UNSPECIFIED = 0;
|
|
459
|
+
*/
|
|
460
|
+
UNSPECIFIED = 0,
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* The run referenced a deployed (registered) task by TaskId.
|
|
464
|
+
*
|
|
465
|
+
* @generated from enum value: TASK_SPEC_SOURCE_DEPLOYED = 1;
|
|
466
|
+
*/
|
|
467
|
+
DEPLOYED = 1,
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* The run carried an inline task spec (e.g. fast registration) that does not
|
|
471
|
+
* exist in the task store.
|
|
472
|
+
*
|
|
473
|
+
* @generated from enum value: TASK_SPEC_SOURCE_EPHEMERAL = 2;
|
|
474
|
+
*/
|
|
475
|
+
EPHEMERAL = 2,
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* Describes the enum flyteidl2.task.TaskSpecSource.
|
|
480
|
+
*/
|
|
481
|
+
export const TaskSpecSourceSchema: GenEnum<TaskSpecSource> = /*@__PURE__*/
|
|
482
|
+
enumDesc(file_flyteidl2_task_run, 1);
|
|
483
|
+
|