@flyteorg/flyteidl 0.24.11 → 0.24.14
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 +58 -0
- package/gen/pb-js/flyteidl.js +139 -0
- package/package.json +1 -1
- package/protos/docs/admin/admin.rst +3764 -0
- package/protos/docs/core/core.rst +3656 -0
- package/protos/docs/datacatalog/datacatalog.rst +1237 -0
- package/protos/docs/event/event.rst +693 -0
- package/protos/docs/plugins/plugins.rst +549 -0
- package/protos/docs/service/service.rst +353 -0
- package/protos/flyteidl/admin/cluster_assignment.proto +9 -0
package/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -7021,6 +7021,9 @@ export namespace flyteidl {
|
|
|
7021
7021
|
|
|
7022
7022
|
/** ClusterAssignment affinity */
|
|
7023
7023
|
affinity?: (flyteidl.admin.IAffinity|null);
|
|
7024
|
+
|
|
7025
|
+
/** ClusterAssignment toleration */
|
|
7026
|
+
toleration?: (flyteidl.admin.IToleration|null);
|
|
7024
7027
|
}
|
|
7025
7028
|
|
|
7026
7029
|
/** Represents a ClusterAssignment. */
|
|
@@ -7035,6 +7038,9 @@ export namespace flyteidl {
|
|
|
7035
7038
|
/** ClusterAssignment affinity. */
|
|
7036
7039
|
public affinity?: (flyteidl.admin.IAffinity|null);
|
|
7037
7040
|
|
|
7041
|
+
/** ClusterAssignment toleration. */
|
|
7042
|
+
public toleration?: (flyteidl.admin.IToleration|null);
|
|
7043
|
+
|
|
7038
7044
|
/**
|
|
7039
7045
|
* Creates a new ClusterAssignment instance using the specified properties.
|
|
7040
7046
|
* @param [properties] Properties to set
|
|
@@ -7120,6 +7126,58 @@ export namespace flyteidl {
|
|
|
7120
7126
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
7121
7127
|
}
|
|
7122
7128
|
|
|
7129
|
+
/** Properties of a Toleration. */
|
|
7130
|
+
interface IToleration {
|
|
7131
|
+
|
|
7132
|
+
/** Toleration selectors */
|
|
7133
|
+
selectors?: (flyteidl.admin.ISelector[]|null);
|
|
7134
|
+
}
|
|
7135
|
+
|
|
7136
|
+
/** Represents a Toleration. */
|
|
7137
|
+
class Toleration implements IToleration {
|
|
7138
|
+
|
|
7139
|
+
/**
|
|
7140
|
+
* Constructs a new Toleration.
|
|
7141
|
+
* @param [properties] Properties to set
|
|
7142
|
+
*/
|
|
7143
|
+
constructor(properties?: flyteidl.admin.IToleration);
|
|
7144
|
+
|
|
7145
|
+
/** Toleration selectors. */
|
|
7146
|
+
public selectors: flyteidl.admin.ISelector[];
|
|
7147
|
+
|
|
7148
|
+
/**
|
|
7149
|
+
* Creates a new Toleration instance using the specified properties.
|
|
7150
|
+
* @param [properties] Properties to set
|
|
7151
|
+
* @returns Toleration instance
|
|
7152
|
+
*/
|
|
7153
|
+
public static create(properties?: flyteidl.admin.IToleration): flyteidl.admin.Toleration;
|
|
7154
|
+
|
|
7155
|
+
/**
|
|
7156
|
+
* Encodes the specified Toleration message. Does not implicitly {@link flyteidl.admin.Toleration.verify|verify} messages.
|
|
7157
|
+
* @param message Toleration message or plain object to encode
|
|
7158
|
+
* @param [writer] Writer to encode to
|
|
7159
|
+
* @returns Writer
|
|
7160
|
+
*/
|
|
7161
|
+
public static encode(message: flyteidl.admin.IToleration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7162
|
+
|
|
7163
|
+
/**
|
|
7164
|
+
* Decodes a Toleration message from the specified reader or buffer.
|
|
7165
|
+
* @param reader Reader or buffer to decode from
|
|
7166
|
+
* @param [length] Message length if known beforehand
|
|
7167
|
+
* @returns Toleration
|
|
7168
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7169
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7170
|
+
*/
|
|
7171
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Toleration;
|
|
7172
|
+
|
|
7173
|
+
/**
|
|
7174
|
+
* Verifies a Toleration message.
|
|
7175
|
+
* @param message Plain object to verify
|
|
7176
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
7177
|
+
*/
|
|
7178
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
7179
|
+
}
|
|
7180
|
+
|
|
7123
7181
|
/** Properties of a Selector. */
|
|
7124
7182
|
interface ISelector {
|
|
7125
7183
|
|
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -17006,6 +17006,7 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
17006
17006
|
* @memberof flyteidl.admin
|
|
17007
17007
|
* @interface IClusterAssignment
|
|
17008
17008
|
* @property {flyteidl.admin.IAffinity|null} [affinity] ClusterAssignment affinity
|
|
17009
|
+
* @property {flyteidl.admin.IToleration|null} [toleration] ClusterAssignment toleration
|
|
17009
17010
|
*/
|
|
17010
17011
|
|
|
17011
17012
|
/**
|
|
@@ -17031,6 +17032,14 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
17031
17032
|
*/
|
|
17032
17033
|
ClusterAssignment.prototype.affinity = null;
|
|
17033
17034
|
|
|
17035
|
+
/**
|
|
17036
|
+
* ClusterAssignment toleration.
|
|
17037
|
+
* @member {flyteidl.admin.IToleration|null|undefined} toleration
|
|
17038
|
+
* @memberof flyteidl.admin.ClusterAssignment
|
|
17039
|
+
* @instance
|
|
17040
|
+
*/
|
|
17041
|
+
ClusterAssignment.prototype.toleration = null;
|
|
17042
|
+
|
|
17034
17043
|
/**
|
|
17035
17044
|
* Creates a new ClusterAssignment instance using the specified properties.
|
|
17036
17045
|
* @function create
|
|
@@ -17057,6 +17066,8 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
17057
17066
|
writer = $Writer.create();
|
|
17058
17067
|
if (message.affinity != null && message.hasOwnProperty("affinity"))
|
|
17059
17068
|
$root.flyteidl.admin.Affinity.encode(message.affinity, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
17069
|
+
if (message.toleration != null && message.hasOwnProperty("toleration"))
|
|
17070
|
+
$root.flyteidl.admin.Toleration.encode(message.toleration, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
17060
17071
|
return writer;
|
|
17061
17072
|
};
|
|
17062
17073
|
|
|
@@ -17081,6 +17092,9 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
17081
17092
|
case 1:
|
|
17082
17093
|
message.affinity = $root.flyteidl.admin.Affinity.decode(reader, reader.uint32());
|
|
17083
17094
|
break;
|
|
17095
|
+
case 2:
|
|
17096
|
+
message.toleration = $root.flyteidl.admin.Toleration.decode(reader, reader.uint32());
|
|
17097
|
+
break;
|
|
17084
17098
|
default:
|
|
17085
17099
|
reader.skipType(tag & 7);
|
|
17086
17100
|
break;
|
|
@@ -17105,6 +17119,11 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
17105
17119
|
if (error)
|
|
17106
17120
|
return "affinity." + error;
|
|
17107
17121
|
}
|
|
17122
|
+
if (message.toleration != null && message.hasOwnProperty("toleration")) {
|
|
17123
|
+
let error = $root.flyteidl.admin.Toleration.verify(message.toleration);
|
|
17124
|
+
if (error)
|
|
17125
|
+
return "toleration." + error;
|
|
17126
|
+
}
|
|
17108
17127
|
return null;
|
|
17109
17128
|
};
|
|
17110
17129
|
|
|
@@ -17231,6 +17250,126 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
17231
17250
|
return Affinity;
|
|
17232
17251
|
})();
|
|
17233
17252
|
|
|
17253
|
+
admin.Toleration = (function() {
|
|
17254
|
+
|
|
17255
|
+
/**
|
|
17256
|
+
* Properties of a Toleration.
|
|
17257
|
+
* @memberof flyteidl.admin
|
|
17258
|
+
* @interface IToleration
|
|
17259
|
+
* @property {Array.<flyteidl.admin.ISelector>|null} [selectors] Toleration selectors
|
|
17260
|
+
*/
|
|
17261
|
+
|
|
17262
|
+
/**
|
|
17263
|
+
* Constructs a new Toleration.
|
|
17264
|
+
* @memberof flyteidl.admin
|
|
17265
|
+
* @classdesc Represents a Toleration.
|
|
17266
|
+
* @implements IToleration
|
|
17267
|
+
* @constructor
|
|
17268
|
+
* @param {flyteidl.admin.IToleration=} [properties] Properties to set
|
|
17269
|
+
*/
|
|
17270
|
+
function Toleration(properties) {
|
|
17271
|
+
this.selectors = [];
|
|
17272
|
+
if (properties)
|
|
17273
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
17274
|
+
if (properties[keys[i]] != null)
|
|
17275
|
+
this[keys[i]] = properties[keys[i]];
|
|
17276
|
+
}
|
|
17277
|
+
|
|
17278
|
+
/**
|
|
17279
|
+
* Toleration selectors.
|
|
17280
|
+
* @member {Array.<flyteidl.admin.ISelector>} selectors
|
|
17281
|
+
* @memberof flyteidl.admin.Toleration
|
|
17282
|
+
* @instance
|
|
17283
|
+
*/
|
|
17284
|
+
Toleration.prototype.selectors = $util.emptyArray;
|
|
17285
|
+
|
|
17286
|
+
/**
|
|
17287
|
+
* Creates a new Toleration instance using the specified properties.
|
|
17288
|
+
* @function create
|
|
17289
|
+
* @memberof flyteidl.admin.Toleration
|
|
17290
|
+
* @static
|
|
17291
|
+
* @param {flyteidl.admin.IToleration=} [properties] Properties to set
|
|
17292
|
+
* @returns {flyteidl.admin.Toleration} Toleration instance
|
|
17293
|
+
*/
|
|
17294
|
+
Toleration.create = function create(properties) {
|
|
17295
|
+
return new Toleration(properties);
|
|
17296
|
+
};
|
|
17297
|
+
|
|
17298
|
+
/**
|
|
17299
|
+
* Encodes the specified Toleration message. Does not implicitly {@link flyteidl.admin.Toleration.verify|verify} messages.
|
|
17300
|
+
* @function encode
|
|
17301
|
+
* @memberof flyteidl.admin.Toleration
|
|
17302
|
+
* @static
|
|
17303
|
+
* @param {flyteidl.admin.IToleration} message Toleration message or plain object to encode
|
|
17304
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
17305
|
+
* @returns {$protobuf.Writer} Writer
|
|
17306
|
+
*/
|
|
17307
|
+
Toleration.encode = function encode(message, writer) {
|
|
17308
|
+
if (!writer)
|
|
17309
|
+
writer = $Writer.create();
|
|
17310
|
+
if (message.selectors != null && message.selectors.length)
|
|
17311
|
+
for (let i = 0; i < message.selectors.length; ++i)
|
|
17312
|
+
$root.flyteidl.admin.Selector.encode(message.selectors[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
17313
|
+
return writer;
|
|
17314
|
+
};
|
|
17315
|
+
|
|
17316
|
+
/**
|
|
17317
|
+
* Decodes a Toleration message from the specified reader or buffer.
|
|
17318
|
+
* @function decode
|
|
17319
|
+
* @memberof flyteidl.admin.Toleration
|
|
17320
|
+
* @static
|
|
17321
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
17322
|
+
* @param {number} [length] Message length if known beforehand
|
|
17323
|
+
* @returns {flyteidl.admin.Toleration} Toleration
|
|
17324
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17325
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17326
|
+
*/
|
|
17327
|
+
Toleration.decode = function decode(reader, length) {
|
|
17328
|
+
if (!(reader instanceof $Reader))
|
|
17329
|
+
reader = $Reader.create(reader);
|
|
17330
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Toleration();
|
|
17331
|
+
while (reader.pos < end) {
|
|
17332
|
+
let tag = reader.uint32();
|
|
17333
|
+
switch (tag >>> 3) {
|
|
17334
|
+
case 1:
|
|
17335
|
+
if (!(message.selectors && message.selectors.length))
|
|
17336
|
+
message.selectors = [];
|
|
17337
|
+
message.selectors.push($root.flyteidl.admin.Selector.decode(reader, reader.uint32()));
|
|
17338
|
+
break;
|
|
17339
|
+
default:
|
|
17340
|
+
reader.skipType(tag & 7);
|
|
17341
|
+
break;
|
|
17342
|
+
}
|
|
17343
|
+
}
|
|
17344
|
+
return message;
|
|
17345
|
+
};
|
|
17346
|
+
|
|
17347
|
+
/**
|
|
17348
|
+
* Verifies a Toleration message.
|
|
17349
|
+
* @function verify
|
|
17350
|
+
* @memberof flyteidl.admin.Toleration
|
|
17351
|
+
* @static
|
|
17352
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
17353
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
17354
|
+
*/
|
|
17355
|
+
Toleration.verify = function verify(message) {
|
|
17356
|
+
if (typeof message !== "object" || message === null)
|
|
17357
|
+
return "object expected";
|
|
17358
|
+
if (message.selectors != null && message.hasOwnProperty("selectors")) {
|
|
17359
|
+
if (!Array.isArray(message.selectors))
|
|
17360
|
+
return "selectors: array expected";
|
|
17361
|
+
for (let i = 0; i < message.selectors.length; ++i) {
|
|
17362
|
+
let error = $root.flyteidl.admin.Selector.verify(message.selectors[i]);
|
|
17363
|
+
if (error)
|
|
17364
|
+
return "selectors." + error;
|
|
17365
|
+
}
|
|
17366
|
+
}
|
|
17367
|
+
return null;
|
|
17368
|
+
};
|
|
17369
|
+
|
|
17370
|
+
return Toleration;
|
|
17371
|
+
})();
|
|
17372
|
+
|
|
17234
17373
|
admin.Selector = (function() {
|
|
17235
17374
|
|
|
17236
17375
|
/**
|