@flyteorg/flyteidl2 2.0.0-alpha13 → 2.0.0-alpha14
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.
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
6
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
7
|
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { ProjectIdentifier } from "../common/identifier_pb.ts";
|
|
9
|
+
import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
|
|
8
10
|
import type { Image, ImageIdentifier } from "./definition_pb.ts";
|
|
9
11
|
import { file_flyteidl2_imagebuilder_definition } from "./definition_pb.ts";
|
|
10
12
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -13,7 +15,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
13
15
|
* Describes the file flyteidl2/imagebuilder/payload.proto.
|
|
14
16
|
*/
|
|
15
17
|
export const file_flyteidl2_imagebuilder_payload: GenFile = /*@__PURE__*/
|
|
16
|
-
fileDesc("
|
|
18
|
+
fileDesc("CiRmbHl0ZWlkbDIvaW1hZ2VidWlsZGVyL3BheWxvYWQucHJvdG8SFmZseXRlaWRsMi5pbWFnZWJ1aWxkZXIioQEKD0dldEltYWdlUmVxdWVzdBI7CgJpZBgBIAEoCzInLmZseXRlaWRsMi5pbWFnZWJ1aWxkZXIuSW1hZ2VJZGVudGlmaWVyQga6SAPIAQESGAoMb3JnYW5pemF0aW9uGAIgASgJQgIYARI3Cgpwcm9qZWN0X2lkGAMgASgLMiMuZmx5dGVpZGwyLmNvbW1vbi5Qcm9qZWN0SWRlbnRpZmllciJAChBHZXRJbWFnZVJlc3BvbnNlEiwKBWltYWdlGAEgASgLMh0uZmx5dGVpZGwyLmltYWdlYnVpbGRlci5JbWFnZULhAQoaY29tLmZseXRlaWRsMi5pbWFnZWJ1aWxkZXJCDFBheWxvYWRQcm90b0gCUAFaOmdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9pbWFnZWJ1aWxkZXKiAgNGSViqAhZGbHl0ZWlkbDIuSW1hZ2VidWlsZGVyygIWRmx5dGVpZGwyXEltYWdlYnVpbGRlcuICIkZseXRlaWRsMlxJbWFnZWJ1aWxkZXJcR1BCTWV0YWRhdGHqAhdGbHl0ZWlkbDI6OkltYWdlYnVpbGRlcmIGcHJvdG8z", [file_buf_validate_validate, file_flyteidl2_common_identifier, file_flyteidl2_imagebuilder_definition]);
|
|
17
19
|
|
|
18
20
|
/**
|
|
19
21
|
* @generated from message flyteidl2.imagebuilder.GetImageRequest
|
|
@@ -28,10 +30,21 @@ export type GetImageRequest = Message<"flyteidl2.imagebuilder.GetImageRequest">
|
|
|
28
30
|
|
|
29
31
|
/**
|
|
30
32
|
* Optional organization that dictates which dataplane registry to reference
|
|
33
|
+
* Deprecated, please use the full ProjectIdentifier instead
|
|
31
34
|
*
|
|
32
|
-
* @generated from field: string organization = 2;
|
|
35
|
+
* @generated from field: string organization = 2 [deprecated = true];
|
|
36
|
+
* @deprecated
|
|
33
37
|
*/
|
|
34
38
|
organization: string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* The scope in which to look for the image. Images maybe accessible in different project-domain pairs through
|
|
42
|
+
* different container registries (i.e. different image FQDNs)
|
|
43
|
+
* TODO: This scope will be made required after updating all clients/servers to respect it.
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: flyteidl2.common.ProjectIdentifier project_id = 3;
|
|
46
|
+
*/
|
|
47
|
+
projectId?: ProjectIdentifier;
|
|
35
48
|
};
|
|
36
49
|
|
|
37
50
|
/**
|
|
@@ -17,7 +17,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
17
17
|
* Describes the file flyteidl2/task/common.proto.
|
|
18
18
|
*/
|
|
19
19
|
export const file_flyteidl2_task_common: GenFile = /*@__PURE__*/
|
|
20
|
-
fileDesc("
|
|
20
|
+
fileDesc("ChtmbHl0ZWlkbDIvdGFzay9jb21tb24ucHJvdG8SDmZseXRlaWRsMi50YXNrIkwKDk5hbWVkUGFyYW1ldGVyEgwKBG5hbWUYASABKAkSLAoJcGFyYW1ldGVyGAIgASgLMhkuZmx5dGVpZGwyLmNvcmUuUGFyYW1ldGVyIooBCglGaXhlZFJhdGUSFgoFdmFsdWUYASABKA1CB7pIBCoCIAASNQoEdW5pdBgCIAEoDjIdLmZseXRlaWRsMi50YXNrLkZpeGVkUmF0ZVVuaXRCCLpIBYIBAiAAEi4KCnN0YXJ0X3RpbWUYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIjUKBENyb24SGwoKZXhwcmVzc2lvbhgBIAEoCUIHukgEcgIQARIQCgh0aW1lem9uZRgCIAEoCSKvAQoIU2NoZWR1bGUSKQoEcmF0ZRgBIAEoCzIZLmZseXRlaWRsMi50YXNrLkZpeGVkUmF0ZUgAEh0KD2Nyb25fZXhwcmVzc2lvbhgCIAEoCUICGAFIABIkCgRjcm9uGAQgASgLMhQuZmx5dGVpZGwyLnRhc2suQ3JvbkgAEh4KFmtpY2tvZmZfdGltZV9pbnB1dF9hcmcYAyABKAlCEwoKZXhwcmVzc2lvbhIFukgCCAEilgEKFVRyaWdnZXJBdXRvbWF0aW9uU3BlYxJBCgR0eXBlGAEgASgOMikuZmx5dGVpZGwyLnRhc2suVHJpZ2dlckF1dG9tYXRpb25TcGVjVHlwZUIIukgFggECIAASLAoIc2NoZWR1bGUYAiABKAsyGC5mbHl0ZWlkbDIudGFzay5TY2hlZHVsZUgAQgwKCmF1dG9tYXRpb24iRAoMTmFtZWRMaXRlcmFsEgwKBG5hbWUYASABKAkSJgoFdmFsdWUYAiABKAsyFy5mbHl0ZWlkbDIuY29yZS5MaXRlcmFsIjoKEE91dHB1dFJlZmVyZW5jZXMSEgoKb3V0cHV0X3VyaRgBIAEoCRISCgpyZXBvcnRfdXJpGAIgASgJImcKBklucHV0cxIuCghsaXRlcmFscxgBIAMoCzIcLmZseXRlaWRsMi50YXNrLk5hbWVkTGl0ZXJhbBItCgdjb250ZXh0GAIgAygLMhwuZmx5dGVpZGwyLmNvcmUuS2V5VmFsdWVQYWlyIjkKB091dHB1dHMSLgoIbGl0ZXJhbHMYASADKAsyHC5mbHl0ZWlkbDIudGFzay5OYW1lZExpdGVyYWwqfwoNRml4ZWRSYXRlVW5pdBIfChtGSVhFRF9SQVRFX1VOSVRfVU5TUEVDSUZJRUQQABIaChZGSVhFRF9SQVRFX1VOSVRfTUlOVVRFEAESGAoURklYRURfUkFURV9VTklUX0hPVVIQAhIXChNGSVhFRF9SQVRFX1VOSVRfREFZEAMqUwoZVHJpZ2dlckF1dG9tYXRpb25TcGVjVHlwZRIUChBUWVBFX1VOU1BFQ0lGSUVEEAASDQoJVFlQRV9OT05FEAESEQoNVFlQRV9TQ0hFRFVMRRACQrABChJjb20uZmx5dGVpZGwyLnRhc2tCC0NvbW1vblByb3RvSAJQAVoyZ2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL3Rhc2uiAgNGVFiqAg5GbHl0ZWlkbDIuVGFza8oCDkZseXRlaWRsMlxUYXNr4gIaRmx5dGVpZGwyXFRhc2tcR1BCTWV0YWRhdGHqAg9GbHl0ZWlkbDI6OlRhc2tiBnByb3RvMw", [file_buf_validate_validate, file_flyteidl2_core_interface, file_flyteidl2_core_literals, file_google_protobuf_timestamp]);
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* @generated from message flyteidl2.task.NamedParameter
|
|
@@ -75,6 +75,33 @@ export type FixedRate = Message<"flyteidl2.task.FixedRate"> & {
|
|
|
75
75
|
export const FixedRateSchema: GenMessage<FixedRate> = /*@__PURE__*/
|
|
76
76
|
messageDesc(file_flyteidl2_task_common, 1);
|
|
77
77
|
|
|
78
|
+
/**
|
|
79
|
+
* @generated from message flyteidl2.task.Cron
|
|
80
|
+
*/
|
|
81
|
+
export type Cron = Message<"flyteidl2.task.Cron"> & {
|
|
82
|
+
/**
|
|
83
|
+
* Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year
|
|
84
|
+
* e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *
|
|
85
|
+
*
|
|
86
|
+
* @generated from field: string expression = 1;
|
|
87
|
+
*/
|
|
88
|
+
expression: string;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* default is UTC
|
|
92
|
+
*
|
|
93
|
+
* @generated from field: string timezone = 2;
|
|
94
|
+
*/
|
|
95
|
+
timezone: string;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Describes the message flyteidl2.task.Cron.
|
|
100
|
+
* Use `create(CronSchema)` to create a new message.
|
|
101
|
+
*/
|
|
102
|
+
export const CronSchema: GenMessage<Cron> = /*@__PURE__*/
|
|
103
|
+
messageDesc(file_flyteidl2_task_common, 2);
|
|
104
|
+
|
|
78
105
|
/**
|
|
79
106
|
* Defines complete set of information required to trigger an execution on a schedule.
|
|
80
107
|
*
|
|
@@ -86,19 +113,23 @@ export type Schedule = Message<"flyteidl2.task.Schedule"> & {
|
|
|
86
113
|
*/
|
|
87
114
|
expression: {
|
|
88
115
|
/**
|
|
89
|
-
* Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year
|
|
90
|
-
* e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *
|
|
91
|
-
*
|
|
92
116
|
* @generated from field: flyteidl2.task.FixedRate rate = 1;
|
|
93
117
|
*/
|
|
94
118
|
value: FixedRate;
|
|
95
119
|
case: "rate";
|
|
96
120
|
} | {
|
|
97
121
|
/**
|
|
98
|
-
* @generated from field: string cron_expression = 2;
|
|
122
|
+
* @generated from field: string cron_expression = 2 [deprecated = true];
|
|
123
|
+
* @deprecated
|
|
99
124
|
*/
|
|
100
125
|
value: string;
|
|
101
126
|
case: "cronExpression";
|
|
127
|
+
} | {
|
|
128
|
+
/**
|
|
129
|
+
* @generated from field: flyteidl2.task.Cron cron = 4;
|
|
130
|
+
*/
|
|
131
|
+
value: Cron;
|
|
132
|
+
case: "cron";
|
|
102
133
|
} | { case: undefined; value?: undefined };
|
|
103
134
|
|
|
104
135
|
/**
|
|
@@ -114,7 +145,7 @@ export type Schedule = Message<"flyteidl2.task.Schedule"> & {
|
|
|
114
145
|
* Use `create(ScheduleSchema)` to create a new message.
|
|
115
146
|
*/
|
|
116
147
|
export const ScheduleSchema: GenMessage<Schedule> = /*@__PURE__*/
|
|
117
|
-
messageDesc(file_flyteidl2_task_common,
|
|
148
|
+
messageDesc(file_flyteidl2_task_common, 3);
|
|
118
149
|
|
|
119
150
|
/**
|
|
120
151
|
* @generated from message flyteidl2.task.TriggerAutomationSpec
|
|
@@ -144,7 +175,7 @@ export type TriggerAutomationSpec = Message<"flyteidl2.task.TriggerAutomationSpe
|
|
|
144
175
|
* Use `create(TriggerAutomationSpecSchema)` to create a new message.
|
|
145
176
|
*/
|
|
146
177
|
export const TriggerAutomationSpecSchema: GenMessage<TriggerAutomationSpec> = /*@__PURE__*/
|
|
147
|
-
messageDesc(file_flyteidl2_task_common,
|
|
178
|
+
messageDesc(file_flyteidl2_task_common, 4);
|
|
148
179
|
|
|
149
180
|
/**
|
|
150
181
|
* Named literal value.
|
|
@@ -172,7 +203,7 @@ export type NamedLiteral = Message<"flyteidl2.task.NamedLiteral"> & {
|
|
|
172
203
|
* Use `create(NamedLiteralSchema)` to create a new message.
|
|
173
204
|
*/
|
|
174
205
|
export const NamedLiteralSchema: GenMessage<NamedLiteral> = /*@__PURE__*/
|
|
175
|
-
messageDesc(file_flyteidl2_task_common,
|
|
206
|
+
messageDesc(file_flyteidl2_task_common, 5);
|
|
176
207
|
|
|
177
208
|
/**
|
|
178
209
|
* Output references.
|
|
@@ -200,7 +231,7 @@ export type OutputReferences = Message<"flyteidl2.task.OutputReferences"> & {
|
|
|
200
231
|
* Use `create(OutputReferencesSchema)` to create a new message.
|
|
201
232
|
*/
|
|
202
233
|
export const OutputReferencesSchema: GenMessage<OutputReferences> = /*@__PURE__*/
|
|
203
|
-
messageDesc(file_flyteidl2_task_common,
|
|
234
|
+
messageDesc(file_flyteidl2_task_common, 6);
|
|
204
235
|
|
|
205
236
|
/**
|
|
206
237
|
* Input payload for an action.
|
|
@@ -233,7 +264,7 @@ export type Inputs = Message<"flyteidl2.task.Inputs"> & {
|
|
|
233
264
|
* Use `create(InputsSchema)` to create a new message.
|
|
234
265
|
*/
|
|
235
266
|
export const InputsSchema: GenMessage<Inputs> = /*@__PURE__*/
|
|
236
|
-
messageDesc(file_flyteidl2_task_common,
|
|
267
|
+
messageDesc(file_flyteidl2_task_common, 7);
|
|
237
268
|
|
|
238
269
|
/**
|
|
239
270
|
* Output payload for an action.
|
|
@@ -254,7 +285,7 @@ export type Outputs = Message<"flyteidl2.task.Outputs"> & {
|
|
|
254
285
|
* Use `create(OutputsSchema)` to create a new message.
|
|
255
286
|
*/
|
|
256
287
|
export const OutputsSchema: GenMessage<Outputs> = /*@__PURE__*/
|
|
257
|
-
messageDesc(file_flyteidl2_task_common,
|
|
288
|
+
messageDesc(file_flyteidl2_task_common, 8);
|
|
258
289
|
|
|
259
290
|
/**
|
|
260
291
|
* Represents a frequency at which to run a schedule.
|
package/flyteidl2/task/run_pb.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// @generated from file flyteidl2/task/run.proto (package flyteidl2.task, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
-
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
7
|
import type { KeyValuePair } from "../core/literals_pb.ts";
|
|
8
8
|
import { file_flyteidl2_core_literals } from "../core/literals_pb.ts";
|
|
9
9
|
import type { SecurityContext } from "../core/security_pb.ts";
|
|
@@ -15,7 +15,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
15
15
|
* Describes the file flyteidl2/task/run.proto.
|
|
16
16
|
*/
|
|
17
17
|
export const file_flyteidl2_task_run: GenFile = /*@__PURE__*/
|
|
18
|
-
fileDesc("
|
|
18
|
+
fileDesc("ChhmbHl0ZWlkbDIvdGFzay9ydW4ucHJvdG8SDmZseXRlaWRsMi50YXNrImsKBkxhYmVscxIyCgZ2YWx1ZXMYASADKAsyIi5mbHl0ZWlkbDIudGFzay5MYWJlbHMuVmFsdWVzRW50cnkaLQoLVmFsdWVzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASJ1CgtBbm5vdGF0aW9ucxI3CgZ2YWx1ZXMYASADKAsyJy5mbHl0ZWlkbDIudGFzay5Bbm5vdGF0aW9ucy5WYWx1ZXNFbnRyeRotCgtWYWx1ZXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIjQKBEVudnMSLAoGdmFsdWVzGAEgAygLMhwuZmx5dGVpZGwyLmNvcmUuS2V5VmFsdWVQYWlyIikKDlJhd0RhdGFTdG9yYWdlEhcKD3Jhd19kYXRhX3ByZWZpeBgBIAEoCSJkCgtDYWNoZUNvbmZpZxIXCg9vdmVyd3JpdGVfY2FjaGUYASABKAgSPAoSY2FjaGVfbG9va3VwX3Njb3BlGAIgASgOMiAuZmx5dGVpZGwyLnRhc2suQ2FjaGVMb29rdXBTY29wZSKQAwoHUnVuU3BlYxImCgZsYWJlbHMYASABKAsyFi5mbHl0ZWlkbDIudGFzay5MYWJlbHMSMAoLYW5ub3RhdGlvbnMYAiABKAsyGy5mbHl0ZWlkbDIudGFzay5Bbm5vdGF0aW9ucxIiCgRlbnZzGAMgASgLMhQuZmx5dGVpZGwyLnRhc2suRW52cxIxCg1pbnRlcnJ1cHRpYmxlGAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLkJvb2xWYWx1ZRIbCg9vdmVyd3JpdGVfY2FjaGUYBSABKAhCAhgBEg8KB2NsdXN0ZXIYBiABKAkSOAoQcmF3X2RhdGFfc3RvcmFnZRgHIAEoCzIeLmZseXRlaWRsMi50YXNrLlJhd0RhdGFTdG9yYWdlEjkKEHNlY3VyaXR5X2NvbnRleHQYCCABKAsyHy5mbHl0ZWlkbDIuY29yZS5TZWN1cml0eUNvbnRleHQSMQoMY2FjaGVfY29uZmlnGAkgASgLMhsuZmx5dGVpZGwyLnRhc2suQ2FjaGVDb25maWcqfAoQQ2FjaGVMb29rdXBTY29wZRIiCh5DQUNIRV9MT09LVVBfU0NPUEVfVU5TUEVDSUZJRUQQABIdChlDQUNIRV9MT09LVVBfU0NPUEVfR0xPQkFMEAESJQohQ0FDSEVfTE9PS1VQX1NDT1BFX1BST0pFQ1RfRE9NQUlOEAJCrQEKEmNvbS5mbHl0ZWlkbDIudGFza0IIUnVuUHJvdG9IAlABWjJnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvdGFza6ICA0ZUWKoCDkZseXRlaWRsMi5UYXNrygIORmx5dGVpZGwyXFRhc2viAhpGbHl0ZWlkbDJcVGFza1xHUEJNZXRhZGF0YeoCD0ZseXRlaWRsMjo6VGFza2IGcHJvdG8z", [file_flyteidl2_core_literals, file_flyteidl2_core_security, file_google_protobuf_wrappers]);
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* Label values to be applied to an execution resource.
|
|
@@ -106,6 +106,35 @@ export type RawDataStorage = Message<"flyteidl2.task.RawDataStorage"> & {
|
|
|
106
106
|
export const RawDataStorageSchema: GenMessage<RawDataStorage> = /*@__PURE__*/
|
|
107
107
|
messageDesc(file_flyteidl2_task_run, 3);
|
|
108
108
|
|
|
109
|
+
/**
|
|
110
|
+
* CacheConfig contains configurations that influence the behavior of cache reads and writes
|
|
111
|
+
*
|
|
112
|
+
* @generated from message flyteidl2.task.CacheConfig
|
|
113
|
+
*/
|
|
114
|
+
export type CacheConfig = Message<"flyteidl2.task.CacheConfig"> & {
|
|
115
|
+
/**
|
|
116
|
+
* If true, recompute outputs for this run and overwrite any existing cache.
|
|
117
|
+
*
|
|
118
|
+
* @generated from field: bool overwrite_cache = 1;
|
|
119
|
+
*/
|
|
120
|
+
overwriteCache: boolean;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* CacheLookupScope defines the cache lookup behavior. If left unspecified, the default value from the system config
|
|
124
|
+
* will be used (global unless configured otherwise).
|
|
125
|
+
*
|
|
126
|
+
* @generated from field: flyteidl2.task.CacheLookupScope cache_lookup_scope = 2;
|
|
127
|
+
*/
|
|
128
|
+
cacheLookupScope: CacheLookupScope;
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Describes the message flyteidl2.task.CacheConfig.
|
|
133
|
+
* Use `create(CacheConfigSchema)` to create a new message.
|
|
134
|
+
*/
|
|
135
|
+
export const CacheConfigSchema: GenMessage<CacheConfig> = /*@__PURE__*/
|
|
136
|
+
messageDesc(file_flyteidl2_task_run, 4);
|
|
137
|
+
|
|
109
138
|
/**
|
|
110
139
|
* @generated from message flyteidl2.task.RunSpec
|
|
111
140
|
*/
|
|
@@ -140,8 +169,10 @@ export type RunSpec = Message<"flyteidl2.task.RunSpec"> & {
|
|
|
140
169
|
|
|
141
170
|
/**
|
|
142
171
|
* If true, recompute outputs for this run and overwrite any existing cache.
|
|
172
|
+
* Deprecated, please use CacheConfig.OverwriteCache instead
|
|
143
173
|
*
|
|
144
|
-
* @generated from field: bool overwrite_cache = 5;
|
|
174
|
+
* @generated from field: bool overwrite_cache = 5 [deprecated = true];
|
|
175
|
+
* @deprecated
|
|
145
176
|
*/
|
|
146
177
|
overwriteCache: boolean;
|
|
147
178
|
|
|
@@ -166,6 +197,13 @@ export type RunSpec = Message<"flyteidl2.task.RunSpec"> & {
|
|
|
166
197
|
* @generated from field: flyteidl2.core.SecurityContext security_context = 8;
|
|
167
198
|
*/
|
|
168
199
|
securityContext?: SecurityContext;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* CacheConfig contains configurations that influence the behavior of cache reads and writes
|
|
203
|
+
*
|
|
204
|
+
* @generated from field: flyteidl2.task.CacheConfig cache_config = 9;
|
|
205
|
+
*/
|
|
206
|
+
cacheConfig?: CacheConfig;
|
|
169
207
|
};
|
|
170
208
|
|
|
171
209
|
/**
|
|
@@ -173,5 +211,42 @@ export type RunSpec = Message<"flyteidl2.task.RunSpec"> & {
|
|
|
173
211
|
* Use `create(RunSpecSchema)` to create a new message.
|
|
174
212
|
*/
|
|
175
213
|
export const RunSpecSchema: GenMessage<RunSpec> = /*@__PURE__*/
|
|
176
|
-
messageDesc(file_flyteidl2_task_run,
|
|
214
|
+
messageDesc(file_flyteidl2_task_run, 5);
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* @generated from enum flyteidl2.task.CacheLookupScope
|
|
218
|
+
*/
|
|
219
|
+
export enum CacheLookupScope {
|
|
220
|
+
/**
|
|
221
|
+
* CACHE_LOOKUP_SCOPE_UNSPECIFIED instructs cache lookup to follow the default behavior (global unless configured
|
|
222
|
+
* otherwise)
|
|
223
|
+
*
|
|
224
|
+
* @generated from enum value: CACHE_LOOKUP_SCOPE_UNSPECIFIED = 0;
|
|
225
|
+
*/
|
|
226
|
+
UNSPECIFIED = 0,
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* CACHE_LOOKUP_SCOPE_GLOBAL instructs cache lookups to do a global lookup (unless overridden by a system config).
|
|
230
|
+
* This has traditionally been the default behavior. It requires all workloads running in all projects/domains
|
|
231
|
+
* to have access to the same artifacts/buckets. Otherwise it risks runtime failures.
|
|
232
|
+
*
|
|
233
|
+
* @generated from enum value: CACHE_LOOKUP_SCOPE_GLOBAL = 1;
|
|
234
|
+
*/
|
|
235
|
+
GLOBAL = 1,
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* CACHE_LOOKUP_SCOPE_PROJECT_DOMAIN instructs cache lookups to do a project-domain scoped lookup. This ensures
|
|
239
|
+
* data access success at the expense of potentially more cache misses and recomputation happening. This should not
|
|
240
|
+
* be considered a security enforcement (that can happen through the system-wide config).
|
|
241
|
+
*
|
|
242
|
+
* @generated from enum value: CACHE_LOOKUP_SCOPE_PROJECT_DOMAIN = 2;
|
|
243
|
+
*/
|
|
244
|
+
PROJECT_DOMAIN = 2,
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Describes the enum flyteidl2.task.CacheLookupScope.
|
|
249
|
+
*/
|
|
250
|
+
export const CacheLookupScopeSchema: GenEnum<CacheLookupScope> = /*@__PURE__*/
|
|
251
|
+
enumDesc(file_flyteidl2_task_run, 0);
|
|
177
252
|
|