@flyteorg/flyteidl2 2.0.8 → 2.0.15
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 +70 -1
- package/flyteidl2/auth/auth_service_pb.ts +9 -2
- package/flyteidl2/cluster/payload_pb.ts +147 -0
- package/flyteidl2/cluster/service_pb.ts +30 -0
- package/flyteidl2/common/phase_pb.ts +9 -1
- package/flyteidl2/common/run_pb.ts +39 -0
- package/flyteidl2/connector/connector_pb.ts +17 -3
- package/flyteidl2/core/execution_pb.ts +139 -11
- package/flyteidl2/core/literals_pb.ts +103 -4
- package/flyteidl2/core/tasks_pb.ts +29 -3
- package/flyteidl2/dataproxy/dataproxy_service_pb.ts +415 -5
- package/flyteidl2/notification/definition_pb.ts +81 -16
- package/flyteidl2/settings/settings_definition_pb.ts +525 -0
- package/flyteidl2/settings/settings_service_pb.ts +301 -0
- package/flyteidl2/task/task_service_pb.ts +9 -1
- package/flyteidl2/workflow/queue_service_pb.ts +1 -2
- package/flyteidl2/workflow/run_definition_pb.ts +105 -90
- package/flyteidl2/workflow/run_info_pb.ts +59 -0
- package/flyteidl2/workflow/run_logs_service_pb.ts +4 -1
- package/flyteidl2/workflow/run_service_pb.ts +161 -19
- package/flyteidl2/workflow/state_service_pb.ts +10 -1
- package/package.json +1 -1
- package/flyteidl2/core/errors_pb.ts +0 -104
|
@@ -0,0 +1,525 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/settings/settings_definition.proto (package flyteidl2.settings, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { enumDesc, extDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { FieldOptions } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
|
|
10
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file flyteidl2/settings/settings_definition.proto.
|
|
14
|
+
*/
|
|
15
|
+
export const file_flyteidl2_settings_settings_definition: GenFile = /*@__PURE__*/
|
|
16
|
+
fileDesc("CixmbHl0ZWlkbDIvc2V0dGluZ3Mvc2V0dGluZ3NfZGVmaW5pdGlvbi5wcm90bxISZmx5dGVpZGwyLnNldHRpbmdzIh4KDFN0cmluZ1ZhbHVlcxIOCgZ2YWx1ZXMYASADKAkieAoJU3RyaW5nTWFwEjsKB2VudHJpZXMYASADKAsyKi5mbHl0ZWlkbDIuc2V0dGluZ3MuU3RyaW5nTWFwLkVudHJpZXNFbnRyeRouCgxFbnRyaWVzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASJECgtTZXR0aW5nc0tleRIUCgNvcmcYASABKAlCB7pIBHICEAESDgoGZG9tYWluGAIgASgJEg8KB3Byb2plY3QYAyABKAkiiwEKDVN0cmluZ1NldHRpbmcSLwoFc3RhdGUYASABKA4yIC5mbHl0ZWlkbDIuc2V0dGluZ3MuU2V0dGluZ1N0YXRlEhQKDHN0cmluZ192YWx1ZRgCIAEoCRIzCgtzY29wZV9sZXZlbBgDIAEoDjIeLmZseXRlaWRsMi5zZXR0aW5ncy5TY29wZUxldmVsIocBCgxJbnQ2NFNldHRpbmcSLwoFc3RhdGUYASABKA4yIC5mbHl0ZWlkbDIuc2V0dGluZ3MuU2V0dGluZ1N0YXRlEhEKCWludF92YWx1ZRgCIAEoAxIzCgtzY29wZV9sZXZlbBgDIAEoDjIeLmZseXRlaWRsMi5zZXR0aW5ncy5TY29wZUxldmVsIocBCgtCb29sU2V0dGluZxIvCgVzdGF0Z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DaGlsZCBvdmVycmlkZXMgcGFyZW50IG9uIGtleSBjb25mbGljdC4qWwoMU2V0dGluZ1N0YXRlEhkKFVNFVFRJTkdfU1RBVEVfSU5IRVJJVBAAEhcKE1NFVFRJTkdfU1RBVEVfVU5TRVQQARIXChNTRVRUSU5HX1NUQVRFX1ZBTFVFEAIqUgoKU2NvcGVMZXZlbBITCg9TQ09QRV9MRVZFTF9PUkcQABIWChJTQ09QRV9MRVZFTF9ET01BSU4QARIXChNTQ09QRV9MRVZFTF9QUk9KRUNUEAI6MwoEZGVzYxIdLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlvbnMY0IYDIAEoCVIEZGVzY0LUAQoWY29tLmZseXRlaWRsMi5zZXR0aW5nc0IXU2V0dGluZ3NEZWZpbml0aW9uUHJvdG9IAlABWjZnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvc2V0dGluZ3OiAgNGU1iqAhJGbHl0ZWlkbDIuU2V0dGluZ3PKAhJGbHl0ZWlkbDJcU2V0dGluZ3PiAh5GbHl0ZWlkbDJcU2V0dGluZ3NcR1BCTWV0YWRhdGHqAhNGbHl0ZWlkbDI6OlNldHRpbmdzYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_descriptor]);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* StringValues is a wrapper for a list of strings.
|
|
20
|
+
* Required because proto3 does not allow repeated fields directly in a oneof.
|
|
21
|
+
*
|
|
22
|
+
* @generated from message flyteidl2.settings.StringValues
|
|
23
|
+
*/
|
|
24
|
+
export type StringValues = Message<"flyteidl2.settings.StringValues"> & {
|
|
25
|
+
/**
|
|
26
|
+
* @generated from field: repeated string values = 1;
|
|
27
|
+
*/
|
|
28
|
+
values: string[];
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message flyteidl2.settings.StringValues.
|
|
33
|
+
* Use `create(StringValuesSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export const StringValuesSchema: GenMessage<StringValues> = /*@__PURE__*/
|
|
36
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 0);
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* StringMap is a wrapper for a string-to-string map.
|
|
40
|
+
* Required because proto3 does not allow map fields directly in a oneof.
|
|
41
|
+
*
|
|
42
|
+
* @generated from message flyteidl2.settings.StringMap
|
|
43
|
+
*/
|
|
44
|
+
export type StringMap = Message<"flyteidl2.settings.StringMap"> & {
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: map<string, string> entries = 1;
|
|
47
|
+
*/
|
|
48
|
+
entries: { [key: string]: string };
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message flyteidl2.settings.StringMap.
|
|
53
|
+
* Use `create(StringMapSchema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
export const StringMapSchema: GenMessage<StringMap> = /*@__PURE__*/
|
|
56
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 1);
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* SettingsKey is the storage key for a settings record.
|
|
60
|
+
* domain and project are empty for org-scope and org/domain-scope records
|
|
61
|
+
* respectively.
|
|
62
|
+
*
|
|
63
|
+
* @generated from message flyteidl2.settings.SettingsKey
|
|
64
|
+
*/
|
|
65
|
+
export type SettingsKey = Message<"flyteidl2.settings.SettingsKey"> & {
|
|
66
|
+
/**
|
|
67
|
+
* @generated from field: string org = 1;
|
|
68
|
+
*/
|
|
69
|
+
org: string;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @generated from field: string domain = 2;
|
|
73
|
+
*/
|
|
74
|
+
domain: string;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: string project = 3;
|
|
78
|
+
*/
|
|
79
|
+
project: string;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Describes the message flyteidl2.settings.SettingsKey.
|
|
84
|
+
* Use `create(SettingsKeySchema)` to create a new message.
|
|
85
|
+
*/
|
|
86
|
+
export const SettingsKeySchema: GenMessage<SettingsKey> = /*@__PURE__*/
|
|
87
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 2);
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* A setting that holds a plain string.
|
|
91
|
+
*
|
|
92
|
+
* @generated from message flyteidl2.settings.StringSetting
|
|
93
|
+
*/
|
|
94
|
+
export type StringSetting = Message<"flyteidl2.settings.StringSetting"> & {
|
|
95
|
+
/**
|
|
96
|
+
* INHERIT, UNSET, or VALUE. Defaults to INHERIT.
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: flyteidl2.settings.SettingState state = 1;
|
|
99
|
+
*/
|
|
100
|
+
state: SettingState;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Meaningful only when state = VALUE.
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: string string_value = 2;
|
|
106
|
+
*/
|
|
107
|
+
stringValue: string;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Indicates the scope at which this value was resolved. Populated in
|
|
111
|
+
* GetSettings responses only; not stored.
|
|
112
|
+
*
|
|
113
|
+
* @generated from field: flyteidl2.settings.ScopeLevel scope_level = 3;
|
|
114
|
+
*/
|
|
115
|
+
scopeLevel: ScopeLevel;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Describes the message flyteidl2.settings.StringSetting.
|
|
120
|
+
* Use `create(StringSettingSchema)` to create a new message.
|
|
121
|
+
*/
|
|
122
|
+
export const StringSettingSchema: GenMessage<StringSetting> = /*@__PURE__*/
|
|
123
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 3);
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* A setting that holds an int64.
|
|
127
|
+
*
|
|
128
|
+
* @generated from message flyteidl2.settings.Int64Setting
|
|
129
|
+
*/
|
|
130
|
+
export type Int64Setting = Message<"flyteidl2.settings.Int64Setting"> & {
|
|
131
|
+
/**
|
|
132
|
+
* @generated from field: flyteidl2.settings.SettingState state = 1;
|
|
133
|
+
*/
|
|
134
|
+
state: SettingState;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Meaningful only when state = VALUE.
|
|
138
|
+
*
|
|
139
|
+
* @generated from field: int64 int_value = 2;
|
|
140
|
+
*/
|
|
141
|
+
intValue: bigint;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* @generated from field: flyteidl2.settings.ScopeLevel scope_level = 3;
|
|
145
|
+
*/
|
|
146
|
+
scopeLevel: ScopeLevel;
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Describes the message flyteidl2.settings.Int64Setting.
|
|
151
|
+
* Use `create(Int64SettingSchema)` to create a new message.
|
|
152
|
+
*/
|
|
153
|
+
export const Int64SettingSchema: GenMessage<Int64Setting> = /*@__PURE__*/
|
|
154
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 4);
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* A setting that holds a bool.
|
|
158
|
+
*
|
|
159
|
+
* @generated from message flyteidl2.settings.BoolSetting
|
|
160
|
+
*/
|
|
161
|
+
export type BoolSetting = Message<"flyteidl2.settings.BoolSetting"> & {
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: flyteidl2.settings.SettingState state = 1;
|
|
164
|
+
*/
|
|
165
|
+
state: SettingState;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Meaningful only when state = VALUE.
|
|
169
|
+
*
|
|
170
|
+
* @generated from field: bool bool_value = 2;
|
|
171
|
+
*/
|
|
172
|
+
boolValue: boolean;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* @generated from field: flyteidl2.settings.ScopeLevel scope_level = 3;
|
|
176
|
+
*/
|
|
177
|
+
scopeLevel: ScopeLevel;
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Describes the message flyteidl2.settings.BoolSetting.
|
|
182
|
+
* Use `create(BoolSettingSchema)` to create a new message.
|
|
183
|
+
*/
|
|
184
|
+
export const BoolSettingSchema: GenMessage<BoolSetting> = /*@__PURE__*/
|
|
185
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 5);
|
|
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
|
+
/**
|
|
221
|
+
* A setting that holds a string-to-string map.
|
|
222
|
+
* Merge behavior: child entries override parent on key conflict. UNSET clears
|
|
223
|
+
* accumulated entries from parent scopes.
|
|
224
|
+
*
|
|
225
|
+
* @generated from message flyteidl2.settings.StringMapSetting
|
|
226
|
+
*/
|
|
227
|
+
export type StringMapSetting = Message<"flyteidl2.settings.StringMapSetting"> & {
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: flyteidl2.settings.SettingState state = 1;
|
|
230
|
+
*/
|
|
231
|
+
state: SettingState;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Meaningful only when state = VALUE.
|
|
235
|
+
*
|
|
236
|
+
* @generated from field: flyteidl2.settings.StringMap map_value = 2;
|
|
237
|
+
*/
|
|
238
|
+
mapValue?: StringMap;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* @generated from field: flyteidl2.settings.ScopeLevel scope_level = 3;
|
|
242
|
+
*/
|
|
243
|
+
scopeLevel: ScopeLevel;
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Describes the message flyteidl2.settings.StringMapSetting.
|
|
248
|
+
* Use `create(StringMapSettingSchema)` to create a new message.
|
|
249
|
+
*/
|
|
250
|
+
export const StringMapSettingSchema: GenMessage<StringMapSetting> = /*@__PURE__*/
|
|
251
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 7);
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* A setting that holds a Kubernetes resource quantity string
|
|
255
|
+
* (e.g. "500m", "128Mi", "2").
|
|
256
|
+
* The service validates values with resource.ParseQuantity.
|
|
257
|
+
*
|
|
258
|
+
* @generated from message flyteidl2.settings.QuantitySetting
|
|
259
|
+
*/
|
|
260
|
+
export type QuantitySetting = Message<"flyteidl2.settings.QuantitySetting"> & {
|
|
261
|
+
/**
|
|
262
|
+
* @generated from field: flyteidl2.settings.SettingState state = 1;
|
|
263
|
+
*/
|
|
264
|
+
state: SettingState;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Meaningful only when state = VALUE.
|
|
268
|
+
*
|
|
269
|
+
* @generated from field: string quantity_value = 2;
|
|
270
|
+
*/
|
|
271
|
+
quantityValue: string;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* @generated from field: flyteidl2.settings.ScopeLevel scope_level = 3;
|
|
275
|
+
*/
|
|
276
|
+
scopeLevel: ScopeLevel;
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Describes the message flyteidl2.settings.QuantitySetting.
|
|
281
|
+
* Use `create(QuantitySettingSchema)` to create a new message.
|
|
282
|
+
*/
|
|
283
|
+
export const QuantitySettingSchema: GenMessage<QuantitySetting> = /*@__PURE__*/
|
|
284
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 8);
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* RunSettings controls workflow execution behavior.
|
|
288
|
+
*
|
|
289
|
+
* @generated from message flyteidl2.settings.RunSettings
|
|
290
|
+
*/
|
|
291
|
+
export type RunSettings = Message<"flyteidl2.settings.RunSettings"> & {
|
|
292
|
+
/**
|
|
293
|
+
* @generated from field: flyteidl2.settings.StringSetting default_queue = 1;
|
|
294
|
+
*/
|
|
295
|
+
defaultQueue?: StringSetting;
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Describes the message flyteidl2.settings.RunSettings.
|
|
300
|
+
* Use `create(RunSettingsSchema)` to create a new message.
|
|
301
|
+
*/
|
|
302
|
+
export const RunSettingsSchema: GenMessage<RunSettings> = /*@__PURE__*/
|
|
303
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 9);
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* SecuritySettings controls security-related configuration.
|
|
307
|
+
*
|
|
308
|
+
* @generated from message flyteidl2.settings.SecuritySettings
|
|
309
|
+
*/
|
|
310
|
+
export type SecuritySettings = Message<"flyteidl2.settings.SecuritySettings"> & {
|
|
311
|
+
/**
|
|
312
|
+
* @generated from field: flyteidl2.settings.StringSetting service_account = 1;
|
|
313
|
+
*/
|
|
314
|
+
serviceAccount?: StringSetting;
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Describes the message flyteidl2.settings.SecuritySettings.
|
|
319
|
+
* Use `create(SecuritySettingsSchema)` to create a new message.
|
|
320
|
+
*/
|
|
321
|
+
export const SecuritySettingsSchema: GenMessage<SecuritySettings> = /*@__PURE__*/
|
|
322
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 10);
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* StorageSettings controls data storage configuration.
|
|
326
|
+
*
|
|
327
|
+
* @generated from message flyteidl2.settings.StorageSettings
|
|
328
|
+
*/
|
|
329
|
+
export type StorageSettings = Message<"flyteidl2.settings.StorageSettings"> & {
|
|
330
|
+
/**
|
|
331
|
+
* @generated from field: flyteidl2.settings.StringSetting raw_data_path = 1;
|
|
332
|
+
*/
|
|
333
|
+
rawDataPath?: StringSetting;
|
|
334
|
+
};
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Describes the message flyteidl2.settings.StorageSettings.
|
|
338
|
+
* Use `create(StorageSettingsSchema)` to create a new message.
|
|
339
|
+
*/
|
|
340
|
+
export const StorageSettingsSchema: GenMessage<StorageSettings> = /*@__PURE__*/
|
|
341
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 11);
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* TaskResourceDefaults holds resource quantity settings for a single bound
|
|
345
|
+
* (min or max) across all supported resource dimensions.
|
|
346
|
+
*
|
|
347
|
+
* @generated from message flyteidl2.settings.TaskResourceDefaults
|
|
348
|
+
*/
|
|
349
|
+
export type TaskResourceDefaults = Message<"flyteidl2.settings.TaskResourceDefaults"> & {
|
|
350
|
+
/**
|
|
351
|
+
* @generated from field: flyteidl2.settings.QuantitySetting cpu = 1;
|
|
352
|
+
*/
|
|
353
|
+
cpu?: QuantitySetting;
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* @generated from field: flyteidl2.settings.QuantitySetting gpu = 2;
|
|
357
|
+
*/
|
|
358
|
+
gpu?: QuantitySetting;
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* @generated from field: flyteidl2.settings.QuantitySetting memory = 3;
|
|
362
|
+
*/
|
|
363
|
+
memory?: QuantitySetting;
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* @generated from field: flyteidl2.settings.QuantitySetting storage = 4;
|
|
367
|
+
*/
|
|
368
|
+
storage?: QuantitySetting;
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Describes the message flyteidl2.settings.TaskResourceDefaults.
|
|
373
|
+
* Use `create(TaskResourceDefaultsSchema)` to create a new message.
|
|
374
|
+
*/
|
|
375
|
+
export const TaskResourceDefaultsSchema: GenMessage<TaskResourceDefaults> = /*@__PURE__*/
|
|
376
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 12);
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* TaskResourceSettings controls task resource configuration.
|
|
380
|
+
*
|
|
381
|
+
* @generated from message flyteidl2.settings.TaskResourceSettings
|
|
382
|
+
*/
|
|
383
|
+
export type TaskResourceSettings = Message<"flyteidl2.settings.TaskResourceSettings"> & {
|
|
384
|
+
/**
|
|
385
|
+
* @generated from field: flyteidl2.settings.TaskResourceDefaults min = 1;
|
|
386
|
+
*/
|
|
387
|
+
min?: TaskResourceDefaults;
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* @generated from field: flyteidl2.settings.TaskResourceDefaults max = 2;
|
|
391
|
+
*/
|
|
392
|
+
max?: TaskResourceDefaults;
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* @generated from field: flyteidl2.settings.BoolSetting mirror_limits_request = 3;
|
|
396
|
+
*/
|
|
397
|
+
mirrorLimitsRequest?: BoolSetting;
|
|
398
|
+
};
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* Describes the message flyteidl2.settings.TaskResourceSettings.
|
|
402
|
+
* Use `create(TaskResourceSettingsSchema)` to create a new message.
|
|
403
|
+
*/
|
|
404
|
+
export const TaskResourceSettingsSchema: GenMessage<TaskResourceSettings> = /*@__PURE__*/
|
|
405
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 13);
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* Settings holds all configurable settings for a scope.
|
|
409
|
+
*
|
|
410
|
+
* @generated from message flyteidl2.settings.Settings
|
|
411
|
+
*/
|
|
412
|
+
export type Settings = Message<"flyteidl2.settings.Settings"> & {
|
|
413
|
+
/**
|
|
414
|
+
* @generated from field: flyteidl2.settings.RunSettings run = 1;
|
|
415
|
+
*/
|
|
416
|
+
run?: RunSettings;
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* @generated from field: flyteidl2.settings.SecuritySettings security = 2;
|
|
420
|
+
*/
|
|
421
|
+
security?: SecuritySettings;
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* @generated from field: flyteidl2.settings.StorageSettings storage = 3;
|
|
425
|
+
*/
|
|
426
|
+
storage?: StorageSettings;
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* @generated from field: flyteidl2.settings.TaskResourceSettings task_resource = 4;
|
|
430
|
+
*/
|
|
431
|
+
taskResource?: TaskResourceSettings;
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* @generated from field: flyteidl2.settings.StringMapSetting labels = 5;
|
|
435
|
+
*/
|
|
436
|
+
labels?: StringMapSetting;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* @generated from field: flyteidl2.settings.StringMapSetting annotations = 6;
|
|
440
|
+
*/
|
|
441
|
+
annotations?: StringMapSetting;
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* @generated from field: flyteidl2.settings.StringMapSetting environment_variables = 7;
|
|
445
|
+
*/
|
|
446
|
+
environmentVariables?: StringMapSetting;
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Describes the message flyteidl2.settings.Settings.
|
|
451
|
+
* Use `create(SettingsSchema)` to create a new message.
|
|
452
|
+
*/
|
|
453
|
+
export const SettingsSchema: GenMessage<Settings> = /*@__PURE__*/
|
|
454
|
+
messageDesc(file_flyteidl2_settings_settings_definition, 14);
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* SettingState controls how a setting at a given scope behaves.
|
|
458
|
+
* The zero value INHERIT is the safe default for any unset field.
|
|
459
|
+
*
|
|
460
|
+
* @generated from enum flyteidl2.settings.SettingState
|
|
461
|
+
*/
|
|
462
|
+
export enum SettingState {
|
|
463
|
+
/**
|
|
464
|
+
* Delegate to the parent scope. This is the default.
|
|
465
|
+
*
|
|
466
|
+
* @generated from enum value: SETTING_STATE_INHERIT = 0;
|
|
467
|
+
*/
|
|
468
|
+
INHERIT = 0,
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Explicitly no value at this scope. Stops the inheritance chain without
|
|
472
|
+
* providing a value. Child scopes may still override with a real value.
|
|
473
|
+
*
|
|
474
|
+
* @generated from enum value: SETTING_STATE_UNSET = 1;
|
|
475
|
+
*/
|
|
476
|
+
UNSET = 1,
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* A real typed value is present in the accompanying value field.
|
|
480
|
+
*
|
|
481
|
+
* @generated from enum value: SETTING_STATE_VALUE = 2;
|
|
482
|
+
*/
|
|
483
|
+
VALUE = 2,
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* Describes the enum flyteidl2.settings.SettingState.
|
|
488
|
+
*/
|
|
489
|
+
export const SettingStateSchema: GenEnum<SettingState> = /*@__PURE__*/
|
|
490
|
+
enumDesc(file_flyteidl2_settings_settings_definition, 0);
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* ScopeLevel identifies which scope level a resolved setting came from.
|
|
494
|
+
*
|
|
495
|
+
* @generated from enum flyteidl2.settings.ScopeLevel
|
|
496
|
+
*/
|
|
497
|
+
export enum ScopeLevel {
|
|
498
|
+
/**
|
|
499
|
+
* @generated from enum value: SCOPE_LEVEL_ORG = 0;
|
|
500
|
+
*/
|
|
501
|
+
ORG = 0,
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* @generated from enum value: SCOPE_LEVEL_DOMAIN = 1;
|
|
505
|
+
*/
|
|
506
|
+
DOMAIN = 1,
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* @generated from enum value: SCOPE_LEVEL_PROJECT = 2;
|
|
510
|
+
*/
|
|
511
|
+
PROJECT = 2,
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* Describes the enum flyteidl2.settings.ScopeLevel.
|
|
516
|
+
*/
|
|
517
|
+
export const ScopeLevelSchema: GenEnum<ScopeLevel> = /*@__PURE__*/
|
|
518
|
+
enumDesc(file_flyteidl2_settings_settings_definition, 1);
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* @generated from extension: string desc = 50000;
|
|
522
|
+
*/
|
|
523
|
+
export const desc: GenExtension<FieldOptions, string> = /*@__PURE__*/
|
|
524
|
+
extDesc(file_flyteidl2_settings_settings_definition, 0);
|
|
525
|
+
|