@flyteorg/flyteidl 0.21.11 → 0.21.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/gen/pb-js/flyteidl.d.ts +59 -1
- package/gen/pb-js/flyteidl.js +136 -2
- package/package.json +1 -1
- package/protos/docs/admin/admin.rst +388 -365
- package/protos/docs/core/core.rst +40 -40
- package/protos/flyteidl/admin/event.proto +9 -0
- package/protos/flyteidl/admin/execution.proto +4 -2
- package/protos/flyteidl/admin/node_execution.proto +4 -2
- package/protos/flyteidl/admin/task_execution.proto +4 -2
package/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -7807,11 +7807,66 @@ export namespace flyteidl {
|
|
|
7807
7807
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
7808
7808
|
}
|
|
7809
7809
|
|
|
7810
|
+
/** Properties of an EventErrorIncompatibleCluster. */
|
|
7811
|
+
interface IEventErrorIncompatibleCluster {
|
|
7812
|
+
|
|
7813
|
+
/** EventErrorIncompatibleCluster cluster */
|
|
7814
|
+
cluster?: (string|null);
|
|
7815
|
+
}
|
|
7816
|
+
|
|
7817
|
+
/** Represents an EventErrorIncompatibleCluster. */
|
|
7818
|
+
class EventErrorIncompatibleCluster implements IEventErrorIncompatibleCluster {
|
|
7819
|
+
|
|
7820
|
+
/**
|
|
7821
|
+
* Constructs a new EventErrorIncompatibleCluster.
|
|
7822
|
+
* @param [properties] Properties to set
|
|
7823
|
+
*/
|
|
7824
|
+
constructor(properties?: flyteidl.admin.IEventErrorIncompatibleCluster);
|
|
7825
|
+
|
|
7826
|
+
/** EventErrorIncompatibleCluster cluster. */
|
|
7827
|
+
public cluster: string;
|
|
7828
|
+
|
|
7829
|
+
/**
|
|
7830
|
+
* Creates a new EventErrorIncompatibleCluster instance using the specified properties.
|
|
7831
|
+
* @param [properties] Properties to set
|
|
7832
|
+
* @returns EventErrorIncompatibleCluster instance
|
|
7833
|
+
*/
|
|
7834
|
+
public static create(properties?: flyteidl.admin.IEventErrorIncompatibleCluster): flyteidl.admin.EventErrorIncompatibleCluster;
|
|
7835
|
+
|
|
7836
|
+
/**
|
|
7837
|
+
* Encodes the specified EventErrorIncompatibleCluster message. Does not implicitly {@link flyteidl.admin.EventErrorIncompatibleCluster.verify|verify} messages.
|
|
7838
|
+
* @param message EventErrorIncompatibleCluster message or plain object to encode
|
|
7839
|
+
* @param [writer] Writer to encode to
|
|
7840
|
+
* @returns Writer
|
|
7841
|
+
*/
|
|
7842
|
+
public static encode(message: flyteidl.admin.IEventErrorIncompatibleCluster, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7843
|
+
|
|
7844
|
+
/**
|
|
7845
|
+
* Decodes an EventErrorIncompatibleCluster message from the specified reader or buffer.
|
|
7846
|
+
* @param reader Reader or buffer to decode from
|
|
7847
|
+
* @param [length] Message length if known beforehand
|
|
7848
|
+
* @returns EventErrorIncompatibleCluster
|
|
7849
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7850
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7851
|
+
*/
|
|
7852
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.EventErrorIncompatibleCluster;
|
|
7853
|
+
|
|
7854
|
+
/**
|
|
7855
|
+
* Verifies an EventErrorIncompatibleCluster message.
|
|
7856
|
+
* @param message Plain object to verify
|
|
7857
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
7858
|
+
*/
|
|
7859
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
7860
|
+
}
|
|
7861
|
+
|
|
7810
7862
|
/** Properties of an EventFailureReason. */
|
|
7811
7863
|
interface IEventFailureReason {
|
|
7812
7864
|
|
|
7813
7865
|
/** EventFailureReason alreadyInTerminalState */
|
|
7814
7866
|
alreadyInTerminalState?: (flyteidl.admin.IEventErrorAlreadyInTerminalState|null);
|
|
7867
|
+
|
|
7868
|
+
/** EventFailureReason incompatibleCluster */
|
|
7869
|
+
incompatibleCluster?: (flyteidl.admin.IEventErrorIncompatibleCluster|null);
|
|
7815
7870
|
}
|
|
7816
7871
|
|
|
7817
7872
|
/** Represents an EventFailureReason. */
|
|
@@ -7826,8 +7881,11 @@ export namespace flyteidl {
|
|
|
7826
7881
|
/** EventFailureReason alreadyInTerminalState. */
|
|
7827
7882
|
public alreadyInTerminalState?: (flyteidl.admin.IEventErrorAlreadyInTerminalState|null);
|
|
7828
7883
|
|
|
7884
|
+
/** EventFailureReason incompatibleCluster. */
|
|
7885
|
+
public incompatibleCluster?: (flyteidl.admin.IEventErrorIncompatibleCluster|null);
|
|
7886
|
+
|
|
7829
7887
|
/** EventFailureReason reason. */
|
|
7830
|
-
public reason?: "alreadyInTerminalState";
|
|
7888
|
+
public reason?: ("alreadyInTerminalState"|"incompatibleCluster");
|
|
7831
7889
|
|
|
7832
7890
|
/**
|
|
7833
7891
|
* Creates a new EventFailureReason instance using the specified properties.
|
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -18797,6 +18797,116 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
18797
18797
|
return EventErrorAlreadyInTerminalState;
|
|
18798
18798
|
})();
|
|
18799
18799
|
|
|
18800
|
+
admin.EventErrorIncompatibleCluster = (function() {
|
|
18801
|
+
|
|
18802
|
+
/**
|
|
18803
|
+
* Properties of an EventErrorIncompatibleCluster.
|
|
18804
|
+
* @memberof flyteidl.admin
|
|
18805
|
+
* @interface IEventErrorIncompatibleCluster
|
|
18806
|
+
* @property {string|null} [cluster] EventErrorIncompatibleCluster cluster
|
|
18807
|
+
*/
|
|
18808
|
+
|
|
18809
|
+
/**
|
|
18810
|
+
* Constructs a new EventErrorIncompatibleCluster.
|
|
18811
|
+
* @memberof flyteidl.admin
|
|
18812
|
+
* @classdesc Represents an EventErrorIncompatibleCluster.
|
|
18813
|
+
* @implements IEventErrorIncompatibleCluster
|
|
18814
|
+
* @constructor
|
|
18815
|
+
* @param {flyteidl.admin.IEventErrorIncompatibleCluster=} [properties] Properties to set
|
|
18816
|
+
*/
|
|
18817
|
+
function EventErrorIncompatibleCluster(properties) {
|
|
18818
|
+
if (properties)
|
|
18819
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
18820
|
+
if (properties[keys[i]] != null)
|
|
18821
|
+
this[keys[i]] = properties[keys[i]];
|
|
18822
|
+
}
|
|
18823
|
+
|
|
18824
|
+
/**
|
|
18825
|
+
* EventErrorIncompatibleCluster cluster.
|
|
18826
|
+
* @member {string} cluster
|
|
18827
|
+
* @memberof flyteidl.admin.EventErrorIncompatibleCluster
|
|
18828
|
+
* @instance
|
|
18829
|
+
*/
|
|
18830
|
+
EventErrorIncompatibleCluster.prototype.cluster = "";
|
|
18831
|
+
|
|
18832
|
+
/**
|
|
18833
|
+
* Creates a new EventErrorIncompatibleCluster instance using the specified properties.
|
|
18834
|
+
* @function create
|
|
18835
|
+
* @memberof flyteidl.admin.EventErrorIncompatibleCluster
|
|
18836
|
+
* @static
|
|
18837
|
+
* @param {flyteidl.admin.IEventErrorIncompatibleCluster=} [properties] Properties to set
|
|
18838
|
+
* @returns {flyteidl.admin.EventErrorIncompatibleCluster} EventErrorIncompatibleCluster instance
|
|
18839
|
+
*/
|
|
18840
|
+
EventErrorIncompatibleCluster.create = function create(properties) {
|
|
18841
|
+
return new EventErrorIncompatibleCluster(properties);
|
|
18842
|
+
};
|
|
18843
|
+
|
|
18844
|
+
/**
|
|
18845
|
+
* Encodes the specified EventErrorIncompatibleCluster message. Does not implicitly {@link flyteidl.admin.EventErrorIncompatibleCluster.verify|verify} messages.
|
|
18846
|
+
* @function encode
|
|
18847
|
+
* @memberof flyteidl.admin.EventErrorIncompatibleCluster
|
|
18848
|
+
* @static
|
|
18849
|
+
* @param {flyteidl.admin.IEventErrorIncompatibleCluster} message EventErrorIncompatibleCluster message or plain object to encode
|
|
18850
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
18851
|
+
* @returns {$protobuf.Writer} Writer
|
|
18852
|
+
*/
|
|
18853
|
+
EventErrorIncompatibleCluster.encode = function encode(message, writer) {
|
|
18854
|
+
if (!writer)
|
|
18855
|
+
writer = $Writer.create();
|
|
18856
|
+
if (message.cluster != null && message.hasOwnProperty("cluster"))
|
|
18857
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.cluster);
|
|
18858
|
+
return writer;
|
|
18859
|
+
};
|
|
18860
|
+
|
|
18861
|
+
/**
|
|
18862
|
+
* Decodes an EventErrorIncompatibleCluster message from the specified reader or buffer.
|
|
18863
|
+
* @function decode
|
|
18864
|
+
* @memberof flyteidl.admin.EventErrorIncompatibleCluster
|
|
18865
|
+
* @static
|
|
18866
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
18867
|
+
* @param {number} [length] Message length if known beforehand
|
|
18868
|
+
* @returns {flyteidl.admin.EventErrorIncompatibleCluster} EventErrorIncompatibleCluster
|
|
18869
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18870
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18871
|
+
*/
|
|
18872
|
+
EventErrorIncompatibleCluster.decode = function decode(reader, length) {
|
|
18873
|
+
if (!(reader instanceof $Reader))
|
|
18874
|
+
reader = $Reader.create(reader);
|
|
18875
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.EventErrorIncompatibleCluster();
|
|
18876
|
+
while (reader.pos < end) {
|
|
18877
|
+
let tag = reader.uint32();
|
|
18878
|
+
switch (tag >>> 3) {
|
|
18879
|
+
case 1:
|
|
18880
|
+
message.cluster = reader.string();
|
|
18881
|
+
break;
|
|
18882
|
+
default:
|
|
18883
|
+
reader.skipType(tag & 7);
|
|
18884
|
+
break;
|
|
18885
|
+
}
|
|
18886
|
+
}
|
|
18887
|
+
return message;
|
|
18888
|
+
};
|
|
18889
|
+
|
|
18890
|
+
/**
|
|
18891
|
+
* Verifies an EventErrorIncompatibleCluster message.
|
|
18892
|
+
* @function verify
|
|
18893
|
+
* @memberof flyteidl.admin.EventErrorIncompatibleCluster
|
|
18894
|
+
* @static
|
|
18895
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
18896
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
18897
|
+
*/
|
|
18898
|
+
EventErrorIncompatibleCluster.verify = function verify(message) {
|
|
18899
|
+
if (typeof message !== "object" || message === null)
|
|
18900
|
+
return "object expected";
|
|
18901
|
+
if (message.cluster != null && message.hasOwnProperty("cluster"))
|
|
18902
|
+
if (!$util.isString(message.cluster))
|
|
18903
|
+
return "cluster: string expected";
|
|
18904
|
+
return null;
|
|
18905
|
+
};
|
|
18906
|
+
|
|
18907
|
+
return EventErrorIncompatibleCluster;
|
|
18908
|
+
})();
|
|
18909
|
+
|
|
18800
18910
|
admin.EventFailureReason = (function() {
|
|
18801
18911
|
|
|
18802
18912
|
/**
|
|
@@ -18804,6 +18914,7 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
18804
18914
|
* @memberof flyteidl.admin
|
|
18805
18915
|
* @interface IEventFailureReason
|
|
18806
18916
|
* @property {flyteidl.admin.IEventErrorAlreadyInTerminalState|null} [alreadyInTerminalState] EventFailureReason alreadyInTerminalState
|
|
18917
|
+
* @property {flyteidl.admin.IEventErrorIncompatibleCluster|null} [incompatibleCluster] EventFailureReason incompatibleCluster
|
|
18807
18918
|
*/
|
|
18808
18919
|
|
|
18809
18920
|
/**
|
|
@@ -18829,17 +18940,25 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
18829
18940
|
*/
|
|
18830
18941
|
EventFailureReason.prototype.alreadyInTerminalState = null;
|
|
18831
18942
|
|
|
18943
|
+
/**
|
|
18944
|
+
* EventFailureReason incompatibleCluster.
|
|
18945
|
+
* @member {flyteidl.admin.IEventErrorIncompatibleCluster|null|undefined} incompatibleCluster
|
|
18946
|
+
* @memberof flyteidl.admin.EventFailureReason
|
|
18947
|
+
* @instance
|
|
18948
|
+
*/
|
|
18949
|
+
EventFailureReason.prototype.incompatibleCluster = null;
|
|
18950
|
+
|
|
18832
18951
|
// OneOf field names bound to virtual getters and setters
|
|
18833
18952
|
let $oneOfFields;
|
|
18834
18953
|
|
|
18835
18954
|
/**
|
|
18836
18955
|
* EventFailureReason reason.
|
|
18837
|
-
* @member {"alreadyInTerminalState"|undefined} reason
|
|
18956
|
+
* @member {"alreadyInTerminalState"|"incompatibleCluster"|undefined} reason
|
|
18838
18957
|
* @memberof flyteidl.admin.EventFailureReason
|
|
18839
18958
|
* @instance
|
|
18840
18959
|
*/
|
|
18841
18960
|
Object.defineProperty(EventFailureReason.prototype, "reason", {
|
|
18842
|
-
get: $util.oneOfGetter($oneOfFields = ["alreadyInTerminalState"]),
|
|
18961
|
+
get: $util.oneOfGetter($oneOfFields = ["alreadyInTerminalState", "incompatibleCluster"]),
|
|
18843
18962
|
set: $util.oneOfSetter($oneOfFields)
|
|
18844
18963
|
});
|
|
18845
18964
|
|
|
@@ -18869,6 +18988,8 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
18869
18988
|
writer = $Writer.create();
|
|
18870
18989
|
if (message.alreadyInTerminalState != null && message.hasOwnProperty("alreadyInTerminalState"))
|
|
18871
18990
|
$root.flyteidl.admin.EventErrorAlreadyInTerminalState.encode(message.alreadyInTerminalState, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
18991
|
+
if (message.incompatibleCluster != null && message.hasOwnProperty("incompatibleCluster"))
|
|
18992
|
+
$root.flyteidl.admin.EventErrorIncompatibleCluster.encode(message.incompatibleCluster, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
18872
18993
|
return writer;
|
|
18873
18994
|
};
|
|
18874
18995
|
|
|
@@ -18893,6 +19014,9 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
18893
19014
|
case 1:
|
|
18894
19015
|
message.alreadyInTerminalState = $root.flyteidl.admin.EventErrorAlreadyInTerminalState.decode(reader, reader.uint32());
|
|
18895
19016
|
break;
|
|
19017
|
+
case 2:
|
|
19018
|
+
message.incompatibleCluster = $root.flyteidl.admin.EventErrorIncompatibleCluster.decode(reader, reader.uint32());
|
|
19019
|
+
break;
|
|
18896
19020
|
default:
|
|
18897
19021
|
reader.skipType(tag & 7);
|
|
18898
19022
|
break;
|
|
@@ -18921,6 +19045,16 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
18921
19045
|
return "alreadyInTerminalState." + error;
|
|
18922
19046
|
}
|
|
18923
19047
|
}
|
|
19048
|
+
if (message.incompatibleCluster != null && message.hasOwnProperty("incompatibleCluster")) {
|
|
19049
|
+
if (properties.reason === 1)
|
|
19050
|
+
return "reason: multiple values";
|
|
19051
|
+
properties.reason = 1;
|
|
19052
|
+
{
|
|
19053
|
+
let error = $root.flyteidl.admin.EventErrorIncompatibleCluster.verify(message.incompatibleCluster);
|
|
19054
|
+
if (error)
|
|
19055
|
+
return "incompatibleCluster." + error;
|
|
19056
|
+
}
|
|
19057
|
+
}
|
|
18924
19058
|
return null;
|
|
18925
19059
|
};
|
|
18926
19060
|
|