@flyteorg/flyteidl 0.21.7 → 0.21.11
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/gen/pb-js/flyteidl.d.ts +70 -0
- package/gen/pb-js/flyteidl.js +155 -0
- package/package.json +1 -1
- package/protos/docs/admin/admin.rst +341 -341
- package/protos/docs/core/core.rst +96 -42
- package/protos/docs/datacatalog/datacatalog.rst +43 -75
- package/protos/docs/event/event.rst +1 -0
- package/protos/flyteidl/core/catalog.proto +16 -0
- package/protos/flyteidl/core/tasks.proto +3 -0
- package/protos/flyteidl/datacatalog/datacatalog.proto +34 -54
- package/protos/flyteidl/event/event.proto +2 -0
package/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -140,6 +140,64 @@ export namespace flyteidl {
|
|
|
140
140
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
+
/** Properties of a CatalogReservation. */
|
|
144
|
+
interface ICatalogReservation {
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/** Represents a CatalogReservation. */
|
|
148
|
+
class CatalogReservation implements ICatalogReservation {
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Constructs a new CatalogReservation.
|
|
152
|
+
* @param [properties] Properties to set
|
|
153
|
+
*/
|
|
154
|
+
constructor(properties?: flyteidl.core.ICatalogReservation);
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Creates a new CatalogReservation instance using the specified properties.
|
|
158
|
+
* @param [properties] Properties to set
|
|
159
|
+
* @returns CatalogReservation instance
|
|
160
|
+
*/
|
|
161
|
+
public static create(properties?: flyteidl.core.ICatalogReservation): flyteidl.core.CatalogReservation;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Encodes the specified CatalogReservation message. Does not implicitly {@link flyteidl.core.CatalogReservation.verify|verify} messages.
|
|
165
|
+
* @param message CatalogReservation message or plain object to encode
|
|
166
|
+
* @param [writer] Writer to encode to
|
|
167
|
+
* @returns Writer
|
|
168
|
+
*/
|
|
169
|
+
public static encode(message: flyteidl.core.ICatalogReservation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Decodes a CatalogReservation message from the specified reader or buffer.
|
|
173
|
+
* @param reader Reader or buffer to decode from
|
|
174
|
+
* @param [length] Message length if known beforehand
|
|
175
|
+
* @returns CatalogReservation
|
|
176
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
177
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
178
|
+
*/
|
|
179
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.CatalogReservation;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Verifies a CatalogReservation message.
|
|
183
|
+
* @param message Plain object to verify
|
|
184
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
185
|
+
*/
|
|
186
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
namespace CatalogReservation {
|
|
190
|
+
|
|
191
|
+
/** Status enum. */
|
|
192
|
+
enum Status {
|
|
193
|
+
RESERVATION_DISABLED = 0,
|
|
194
|
+
RESERVATION_ACQUIRED = 1,
|
|
195
|
+
RESERVATION_EXISTS = 2,
|
|
196
|
+
RESERVATION_RELEASED = 3,
|
|
197
|
+
RESERVATION_FAILURE = 4
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
143
201
|
/** ResourceType enum. */
|
|
144
202
|
enum ResourceType {
|
|
145
203
|
UNSPECIFIED = 0,
|
|
@@ -4175,6 +4233,9 @@ export namespace flyteidl {
|
|
|
4175
4233
|
|
|
4176
4234
|
/** TaskMetadata interruptible */
|
|
4177
4235
|
interruptible?: (boolean|null);
|
|
4236
|
+
|
|
4237
|
+
/** TaskMetadata cacheSerializable */
|
|
4238
|
+
cacheSerializable?: (boolean|null);
|
|
4178
4239
|
}
|
|
4179
4240
|
|
|
4180
4241
|
/** Represents a TaskMetadata. */
|
|
@@ -4207,6 +4268,9 @@ export namespace flyteidl {
|
|
|
4207
4268
|
/** TaskMetadata interruptible. */
|
|
4208
4269
|
public interruptible: boolean;
|
|
4209
4270
|
|
|
4271
|
+
/** TaskMetadata cacheSerializable. */
|
|
4272
|
+
public cacheSerializable: boolean;
|
|
4273
|
+
|
|
4210
4274
|
/** TaskMetadata interruptibleValue. */
|
|
4211
4275
|
public interruptibleValue?: "interruptible";
|
|
4212
4276
|
|
|
@@ -5781,6 +5845,9 @@ export namespace flyteidl {
|
|
|
5781
5845
|
/** TaskNodeMetadata catalogKey */
|
|
5782
5846
|
catalogKey?: (flyteidl.core.ICatalogMetadata|null);
|
|
5783
5847
|
|
|
5848
|
+
/** TaskNodeMetadata reservationStatus */
|
|
5849
|
+
reservationStatus?: (flyteidl.core.CatalogReservation.Status|null);
|
|
5850
|
+
|
|
5784
5851
|
/** TaskNodeMetadata dynamicWorkflow */
|
|
5785
5852
|
dynamicWorkflow?: (flyteidl.event.IDynamicWorkflowNodeMetadata|null);
|
|
5786
5853
|
}
|
|
@@ -5800,6 +5867,9 @@ export namespace flyteidl {
|
|
|
5800
5867
|
/** TaskNodeMetadata catalogKey. */
|
|
5801
5868
|
public catalogKey?: (flyteidl.core.ICatalogMetadata|null);
|
|
5802
5869
|
|
|
5870
|
+
/** TaskNodeMetadata reservationStatus. */
|
|
5871
|
+
public reservationStatus: flyteidl.core.CatalogReservation.Status;
|
|
5872
|
+
|
|
5803
5873
|
/** TaskNodeMetadata dynamicWorkflow. */
|
|
5804
5874
|
public dynamicWorkflow?: (flyteidl.event.IDynamicWorkflowNodeMetadata|null);
|
|
5805
5875
|
|
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -342,6 +342,119 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
342
342
|
return CatalogMetadata;
|
|
343
343
|
})();
|
|
344
344
|
|
|
345
|
+
core.CatalogReservation = (function() {
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Properties of a CatalogReservation.
|
|
349
|
+
* @memberof flyteidl.core
|
|
350
|
+
* @interface ICatalogReservation
|
|
351
|
+
*/
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Constructs a new CatalogReservation.
|
|
355
|
+
* @memberof flyteidl.core
|
|
356
|
+
* @classdesc Represents a CatalogReservation.
|
|
357
|
+
* @implements ICatalogReservation
|
|
358
|
+
* @constructor
|
|
359
|
+
* @param {flyteidl.core.ICatalogReservation=} [properties] Properties to set
|
|
360
|
+
*/
|
|
361
|
+
function CatalogReservation(properties) {
|
|
362
|
+
if (properties)
|
|
363
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
364
|
+
if (properties[keys[i]] != null)
|
|
365
|
+
this[keys[i]] = properties[keys[i]];
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Creates a new CatalogReservation instance using the specified properties.
|
|
370
|
+
* @function create
|
|
371
|
+
* @memberof flyteidl.core.CatalogReservation
|
|
372
|
+
* @static
|
|
373
|
+
* @param {flyteidl.core.ICatalogReservation=} [properties] Properties to set
|
|
374
|
+
* @returns {flyteidl.core.CatalogReservation} CatalogReservation instance
|
|
375
|
+
*/
|
|
376
|
+
CatalogReservation.create = function create(properties) {
|
|
377
|
+
return new CatalogReservation(properties);
|
|
378
|
+
};
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* Encodes the specified CatalogReservation message. Does not implicitly {@link flyteidl.core.CatalogReservation.verify|verify} messages.
|
|
382
|
+
* @function encode
|
|
383
|
+
* @memberof flyteidl.core.CatalogReservation
|
|
384
|
+
* @static
|
|
385
|
+
* @param {flyteidl.core.ICatalogReservation} message CatalogReservation message or plain object to encode
|
|
386
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
387
|
+
* @returns {$protobuf.Writer} Writer
|
|
388
|
+
*/
|
|
389
|
+
CatalogReservation.encode = function encode(message, writer) {
|
|
390
|
+
if (!writer)
|
|
391
|
+
writer = $Writer.create();
|
|
392
|
+
return writer;
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* Decodes a CatalogReservation message from the specified reader or buffer.
|
|
397
|
+
* @function decode
|
|
398
|
+
* @memberof flyteidl.core.CatalogReservation
|
|
399
|
+
* @static
|
|
400
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
401
|
+
* @param {number} [length] Message length if known beforehand
|
|
402
|
+
* @returns {flyteidl.core.CatalogReservation} CatalogReservation
|
|
403
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
404
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
405
|
+
*/
|
|
406
|
+
CatalogReservation.decode = function decode(reader, length) {
|
|
407
|
+
if (!(reader instanceof $Reader))
|
|
408
|
+
reader = $Reader.create(reader);
|
|
409
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CatalogReservation();
|
|
410
|
+
while (reader.pos < end) {
|
|
411
|
+
let tag = reader.uint32();
|
|
412
|
+
switch (tag >>> 3) {
|
|
413
|
+
default:
|
|
414
|
+
reader.skipType(tag & 7);
|
|
415
|
+
break;
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
return message;
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Verifies a CatalogReservation message.
|
|
423
|
+
* @function verify
|
|
424
|
+
* @memberof flyteidl.core.CatalogReservation
|
|
425
|
+
* @static
|
|
426
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
427
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
428
|
+
*/
|
|
429
|
+
CatalogReservation.verify = function verify(message) {
|
|
430
|
+
if (typeof message !== "object" || message === null)
|
|
431
|
+
return "object expected";
|
|
432
|
+
return null;
|
|
433
|
+
};
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* Status enum.
|
|
437
|
+
* @name flyteidl.core.CatalogReservation.Status
|
|
438
|
+
* @enum {string}
|
|
439
|
+
* @property {number} RESERVATION_DISABLED=0 RESERVATION_DISABLED value
|
|
440
|
+
* @property {number} RESERVATION_ACQUIRED=1 RESERVATION_ACQUIRED value
|
|
441
|
+
* @property {number} RESERVATION_EXISTS=2 RESERVATION_EXISTS value
|
|
442
|
+
* @property {number} RESERVATION_RELEASED=3 RESERVATION_RELEASED value
|
|
443
|
+
* @property {number} RESERVATION_FAILURE=4 RESERVATION_FAILURE value
|
|
444
|
+
*/
|
|
445
|
+
CatalogReservation.Status = (function() {
|
|
446
|
+
const valuesById = {}, values = Object.create(valuesById);
|
|
447
|
+
values[valuesById[0] = "RESERVATION_DISABLED"] = 0;
|
|
448
|
+
values[valuesById[1] = "RESERVATION_ACQUIRED"] = 1;
|
|
449
|
+
values[valuesById[2] = "RESERVATION_EXISTS"] = 2;
|
|
450
|
+
values[valuesById[3] = "RESERVATION_RELEASED"] = 3;
|
|
451
|
+
values[valuesById[4] = "RESERVATION_FAILURE"] = 4;
|
|
452
|
+
return values;
|
|
453
|
+
})();
|
|
454
|
+
|
|
455
|
+
return CatalogReservation;
|
|
456
|
+
})();
|
|
457
|
+
|
|
345
458
|
/**
|
|
346
459
|
* ResourceType enum.
|
|
347
460
|
* @name flyteidl.core.ResourceType
|
|
@@ -9895,6 +10008,7 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
9895
10008
|
* @property {string|null} [discoveryVersion] TaskMetadata discoveryVersion
|
|
9896
10009
|
* @property {string|null} [deprecatedErrorMessage] TaskMetadata deprecatedErrorMessage
|
|
9897
10010
|
* @property {boolean|null} [interruptible] TaskMetadata interruptible
|
|
10011
|
+
* @property {boolean|null} [cacheSerializable] TaskMetadata cacheSerializable
|
|
9898
10012
|
*/
|
|
9899
10013
|
|
|
9900
10014
|
/**
|
|
@@ -9968,6 +10082,14 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
9968
10082
|
*/
|
|
9969
10083
|
TaskMetadata.prototype.interruptible = false;
|
|
9970
10084
|
|
|
10085
|
+
/**
|
|
10086
|
+
* TaskMetadata cacheSerializable.
|
|
10087
|
+
* @member {boolean} cacheSerializable
|
|
10088
|
+
* @memberof flyteidl.core.TaskMetadata
|
|
10089
|
+
* @instance
|
|
10090
|
+
*/
|
|
10091
|
+
TaskMetadata.prototype.cacheSerializable = false;
|
|
10092
|
+
|
|
9971
10093
|
// OneOf field names bound to virtual getters and setters
|
|
9972
10094
|
let $oneOfFields;
|
|
9973
10095
|
|
|
@@ -10020,6 +10142,8 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
10020
10142
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.deprecatedErrorMessage);
|
|
10021
10143
|
if (message.interruptible != null && message.hasOwnProperty("interruptible"))
|
|
10022
10144
|
writer.uint32(/* id 8, wireType 0 =*/64).bool(message.interruptible);
|
|
10145
|
+
if (message.cacheSerializable != null && message.hasOwnProperty("cacheSerializable"))
|
|
10146
|
+
writer.uint32(/* id 9, wireType 0 =*/72).bool(message.cacheSerializable);
|
|
10023
10147
|
return writer;
|
|
10024
10148
|
};
|
|
10025
10149
|
|
|
@@ -10062,6 +10186,9 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
10062
10186
|
case 8:
|
|
10063
10187
|
message.interruptible = reader.bool();
|
|
10064
10188
|
break;
|
|
10189
|
+
case 9:
|
|
10190
|
+
message.cacheSerializable = reader.bool();
|
|
10191
|
+
break;
|
|
10065
10192
|
default:
|
|
10066
10193
|
reader.skipType(tag & 7);
|
|
10067
10194
|
break;
|
|
@@ -10111,6 +10238,9 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
10111
10238
|
if (typeof message.interruptible !== "boolean")
|
|
10112
10239
|
return "interruptible: boolean expected";
|
|
10113
10240
|
}
|
|
10241
|
+
if (message.cacheSerializable != null && message.hasOwnProperty("cacheSerializable"))
|
|
10242
|
+
if (typeof message.cacheSerializable !== "boolean")
|
|
10243
|
+
return "cacheSerializable: boolean expected";
|
|
10114
10244
|
return null;
|
|
10115
10245
|
};
|
|
10116
10246
|
|
|
@@ -13984,6 +14114,7 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
13984
14114
|
* @interface ITaskNodeMetadata
|
|
13985
14115
|
* @property {flyteidl.core.CatalogCacheStatus|null} [cacheStatus] TaskNodeMetadata cacheStatus
|
|
13986
14116
|
* @property {flyteidl.core.ICatalogMetadata|null} [catalogKey] TaskNodeMetadata catalogKey
|
|
14117
|
+
* @property {flyteidl.core.CatalogReservation.Status|null} [reservationStatus] TaskNodeMetadata reservationStatus
|
|
13987
14118
|
* @property {flyteidl.event.IDynamicWorkflowNodeMetadata|null} [dynamicWorkflow] TaskNodeMetadata dynamicWorkflow
|
|
13988
14119
|
*/
|
|
13989
14120
|
|
|
@@ -14018,6 +14149,14 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
14018
14149
|
*/
|
|
14019
14150
|
TaskNodeMetadata.prototype.catalogKey = null;
|
|
14020
14151
|
|
|
14152
|
+
/**
|
|
14153
|
+
* TaskNodeMetadata reservationStatus.
|
|
14154
|
+
* @member {flyteidl.core.CatalogReservation.Status} reservationStatus
|
|
14155
|
+
* @memberof flyteidl.event.TaskNodeMetadata
|
|
14156
|
+
* @instance
|
|
14157
|
+
*/
|
|
14158
|
+
TaskNodeMetadata.prototype.reservationStatus = 0;
|
|
14159
|
+
|
|
14021
14160
|
/**
|
|
14022
14161
|
* TaskNodeMetadata dynamicWorkflow.
|
|
14023
14162
|
* @member {flyteidl.event.IDynamicWorkflowNodeMetadata|null|undefined} dynamicWorkflow
|
|
@@ -14054,6 +14193,8 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
14054
14193
|
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.cacheStatus);
|
|
14055
14194
|
if (message.catalogKey != null && message.hasOwnProperty("catalogKey"))
|
|
14056
14195
|
$root.flyteidl.core.CatalogMetadata.encode(message.catalogKey, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
14196
|
+
if (message.reservationStatus != null && message.hasOwnProperty("reservationStatus"))
|
|
14197
|
+
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.reservationStatus);
|
|
14057
14198
|
if (message.dynamicWorkflow != null && message.hasOwnProperty("dynamicWorkflow"))
|
|
14058
14199
|
$root.flyteidl.event.DynamicWorkflowNodeMetadata.encode(message.dynamicWorkflow, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
|
|
14059
14200
|
return writer;
|
|
@@ -14083,6 +14224,9 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
14083
14224
|
case 2:
|
|
14084
14225
|
message.catalogKey = $root.flyteidl.core.CatalogMetadata.decode(reader, reader.uint32());
|
|
14085
14226
|
break;
|
|
14227
|
+
case 3:
|
|
14228
|
+
message.reservationStatus = reader.int32();
|
|
14229
|
+
break;
|
|
14086
14230
|
case 16:
|
|
14087
14231
|
message.dynamicWorkflow = $root.flyteidl.event.DynamicWorkflowNodeMetadata.decode(reader, reader.uint32());
|
|
14088
14232
|
break;
|
|
@@ -14122,6 +14266,17 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
14122
14266
|
if (error)
|
|
14123
14267
|
return "catalogKey." + error;
|
|
14124
14268
|
}
|
|
14269
|
+
if (message.reservationStatus != null && message.hasOwnProperty("reservationStatus"))
|
|
14270
|
+
switch (message.reservationStatus) {
|
|
14271
|
+
default:
|
|
14272
|
+
return "reservationStatus: enum value expected";
|
|
14273
|
+
case 0:
|
|
14274
|
+
case 1:
|
|
14275
|
+
case 2:
|
|
14276
|
+
case 3:
|
|
14277
|
+
case 4:
|
|
14278
|
+
break;
|
|
14279
|
+
}
|
|
14125
14280
|
if (message.dynamicWorkflow != null && message.hasOwnProperty("dynamicWorkflow")) {
|
|
14126
14281
|
let error = $root.flyteidl.event.DynamicWorkflowNodeMetadata.verify(message.dynamicWorkflow);
|
|
14127
14282
|
if (error)
|