@flyteorg/flyteidl 0.24.1 → 0.24.2

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.
@@ -6986,6 +6986,186 @@ export namespace flyteidl {
6986
6986
  /** Namespace admin. */
6987
6987
  namespace admin {
6988
6988
 
6989
+ /** Properties of a ClusterAssignment. */
6990
+ interface IClusterAssignment {
6991
+
6992
+ /** ClusterAssignment affinity */
6993
+ affinity?: (flyteidl.admin.IAffinity|null);
6994
+ }
6995
+
6996
+ /** Represents a ClusterAssignment. */
6997
+ class ClusterAssignment implements IClusterAssignment {
6998
+
6999
+ /**
7000
+ * Constructs a new ClusterAssignment.
7001
+ * @param [properties] Properties to set
7002
+ */
7003
+ constructor(properties?: flyteidl.admin.IClusterAssignment);
7004
+
7005
+ /** ClusterAssignment affinity. */
7006
+ public affinity?: (flyteidl.admin.IAffinity|null);
7007
+
7008
+ /**
7009
+ * Creates a new ClusterAssignment instance using the specified properties.
7010
+ * @param [properties] Properties to set
7011
+ * @returns ClusterAssignment instance
7012
+ */
7013
+ public static create(properties?: flyteidl.admin.IClusterAssignment): flyteidl.admin.ClusterAssignment;
7014
+
7015
+ /**
7016
+ * Encodes the specified ClusterAssignment message. Does not implicitly {@link flyteidl.admin.ClusterAssignment.verify|verify} messages.
7017
+ * @param message ClusterAssignment message or plain object to encode
7018
+ * @param [writer] Writer to encode to
7019
+ * @returns Writer
7020
+ */
7021
+ public static encode(message: flyteidl.admin.IClusterAssignment, writer?: $protobuf.Writer): $protobuf.Writer;
7022
+
7023
+ /**
7024
+ * Decodes a ClusterAssignment message from the specified reader or buffer.
7025
+ * @param reader Reader or buffer to decode from
7026
+ * @param [length] Message length if known beforehand
7027
+ * @returns ClusterAssignment
7028
+ * @throws {Error} If the payload is not a reader or valid buffer
7029
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7030
+ */
7031
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ClusterAssignment;
7032
+
7033
+ /**
7034
+ * Verifies a ClusterAssignment message.
7035
+ * @param message Plain object to verify
7036
+ * @returns `null` if valid, otherwise the reason why it is not
7037
+ */
7038
+ public static verify(message: { [k: string]: any }): (string|null);
7039
+ }
7040
+
7041
+ /** Properties of an Affinity. */
7042
+ interface IAffinity {
7043
+
7044
+ /** Affinity selectors */
7045
+ selectors?: (flyteidl.admin.ISelector[]|null);
7046
+ }
7047
+
7048
+ /** Represents an Affinity. */
7049
+ class Affinity implements IAffinity {
7050
+
7051
+ /**
7052
+ * Constructs a new Affinity.
7053
+ * @param [properties] Properties to set
7054
+ */
7055
+ constructor(properties?: flyteidl.admin.IAffinity);
7056
+
7057
+ /** Affinity selectors. */
7058
+ public selectors: flyteidl.admin.ISelector[];
7059
+
7060
+ /**
7061
+ * Creates a new Affinity instance using the specified properties.
7062
+ * @param [properties] Properties to set
7063
+ * @returns Affinity instance
7064
+ */
7065
+ public static create(properties?: flyteidl.admin.IAffinity): flyteidl.admin.Affinity;
7066
+
7067
+ /**
7068
+ * Encodes the specified Affinity message. Does not implicitly {@link flyteidl.admin.Affinity.verify|verify} messages.
7069
+ * @param message Affinity message or plain object to encode
7070
+ * @param [writer] Writer to encode to
7071
+ * @returns Writer
7072
+ */
7073
+ public static encode(message: flyteidl.admin.IAffinity, writer?: $protobuf.Writer): $protobuf.Writer;
7074
+
7075
+ /**
7076
+ * Decodes an Affinity message from the specified reader or buffer.
7077
+ * @param reader Reader or buffer to decode from
7078
+ * @param [length] Message length if known beforehand
7079
+ * @returns Affinity
7080
+ * @throws {Error} If the payload is not a reader or valid buffer
7081
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7082
+ */
7083
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Affinity;
7084
+
7085
+ /**
7086
+ * Verifies an Affinity message.
7087
+ * @param message Plain object to verify
7088
+ * @returns `null` if valid, otherwise the reason why it is not
7089
+ */
7090
+ public static verify(message: { [k: string]: any }): (string|null);
7091
+ }
7092
+
7093
+ /** Properties of a Selector. */
7094
+ interface ISelector {
7095
+
7096
+ /** Selector key */
7097
+ key?: (string|null);
7098
+
7099
+ /** Selector value */
7100
+ value?: (string[]|null);
7101
+
7102
+ /** Selector operator */
7103
+ operator?: (flyteidl.admin.Selector.Operator|null);
7104
+ }
7105
+
7106
+ /** Represents a Selector. */
7107
+ class Selector implements ISelector {
7108
+
7109
+ /**
7110
+ * Constructs a new Selector.
7111
+ * @param [properties] Properties to set
7112
+ */
7113
+ constructor(properties?: flyteidl.admin.ISelector);
7114
+
7115
+ /** Selector key. */
7116
+ public key: string;
7117
+
7118
+ /** Selector value. */
7119
+ public value: string[];
7120
+
7121
+ /** Selector operator. */
7122
+ public operator: flyteidl.admin.Selector.Operator;
7123
+
7124
+ /**
7125
+ * Creates a new Selector instance using the specified properties.
7126
+ * @param [properties] Properties to set
7127
+ * @returns Selector instance
7128
+ */
7129
+ public static create(properties?: flyteidl.admin.ISelector): flyteidl.admin.Selector;
7130
+
7131
+ /**
7132
+ * Encodes the specified Selector message. Does not implicitly {@link flyteidl.admin.Selector.verify|verify} messages.
7133
+ * @param message Selector message or plain object to encode
7134
+ * @param [writer] Writer to encode to
7135
+ * @returns Writer
7136
+ */
7137
+ public static encode(message: flyteidl.admin.ISelector, writer?: $protobuf.Writer): $protobuf.Writer;
7138
+
7139
+ /**
7140
+ * Decodes a Selector message from the specified reader or buffer.
7141
+ * @param reader Reader or buffer to decode from
7142
+ * @param [length] Message length if known beforehand
7143
+ * @returns Selector
7144
+ * @throws {Error} If the payload is not a reader or valid buffer
7145
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7146
+ */
7147
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Selector;
7148
+
7149
+ /**
7150
+ * Verifies a Selector message.
7151
+ * @param message Plain object to verify
7152
+ * @returns `null` if valid, otherwise the reason why it is not
7153
+ */
7154
+ public static verify(message: { [k: string]: any }): (string|null);
7155
+ }
7156
+
7157
+ namespace Selector {
7158
+
7159
+ /** Operator enum. */
7160
+ enum Operator {
7161
+ EQUALS = 0,
7162
+ NOT_EQUALS = 1,
7163
+ IN = 2,
7164
+ NOT_IN = 3,
7165
+ EXISTS = 4
7166
+ }
7167
+ }
7168
+
6989
7169
  /** Properties of a NamedEntityIdentifier. */
6990
7170
  interface INamedEntityIdentifier {
6991
7171
 
@@ -9725,6 +9905,9 @@ export namespace flyteidl {
9725
9905
 
9726
9906
  /** ExecutionSpec rawOutputDataConfig */
9727
9907
  rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null);
9908
+
9909
+ /** ExecutionSpec clusterAssignment */
9910
+ clusterAssignment?: (flyteidl.admin.IClusterAssignment|null);
9728
9911
  }
9729
9912
 
9730
9913
  /** Represents an ExecutionSpec. */
@@ -9772,6 +9955,9 @@ export namespace flyteidl {
9772
9955
  /** ExecutionSpec rawOutputDataConfig. */
9773
9956
  public rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null);
9774
9957
 
9958
+ /** ExecutionSpec clusterAssignment. */
9959
+ public clusterAssignment?: (flyteidl.admin.IClusterAssignment|null);
9960
+
9775
9961
  /** ExecutionSpec notificationOverrides. */
9776
9962
  public notificationOverrides?: ("notifications"|"disableAll");
9777
9963
 
@@ -11192,7 +11378,8 @@ export namespace flyteidl {
11192
11378
  EXECUTION_CLUSTER_LABEL = 3,
11193
11379
  QUALITY_OF_SERVICE_SPECIFICATION = 4,
11194
11380
  PLUGIN_OVERRIDE = 5,
11195
- WORKFLOW_EXECUTION_CONFIG = 6
11381
+ WORKFLOW_EXECUTION_CONFIG = 6,
11382
+ CLUSTER_ASSIGNMENT = 7
11196
11383
  }
11197
11384
 
11198
11385
  /** Properties of a TaskResourceSpec. */
@@ -11685,6 +11872,9 @@ export namespace flyteidl {
11685
11872
 
11686
11873
  /** MatchingAttributes workflowExecutionConfig */
11687
11874
  workflowExecutionConfig?: (flyteidl.admin.IWorkflowExecutionConfig|null);
11875
+
11876
+ /** MatchingAttributes clusterAssignment */
11877
+ clusterAssignment?: (flyteidl.admin.IClusterAssignment|null);
11688
11878
  }
11689
11879
 
11690
11880
  /** Represents a MatchingAttributes. */
@@ -11717,8 +11907,11 @@ export namespace flyteidl {
11717
11907
  /** MatchingAttributes workflowExecutionConfig. */
11718
11908
  public workflowExecutionConfig?: (flyteidl.admin.IWorkflowExecutionConfig|null);
11719
11909
 
11910
+ /** MatchingAttributes clusterAssignment. */
11911
+ public clusterAssignment?: (flyteidl.admin.IClusterAssignment|null);
11912
+
11720
11913
  /** MatchingAttributes target. */
11721
- public target?: ("taskResourceAttributes"|"clusterResourceAttributes"|"executionQueueAttributes"|"executionClusterLabel"|"qualityOfService"|"pluginOverrides"|"workflowExecutionConfig");
11914
+ public target?: ("taskResourceAttributes"|"clusterResourceAttributes"|"executionQueueAttributes"|"executionClusterLabel"|"qualityOfService"|"pluginOverrides"|"workflowExecutionConfig"|"clusterAssignment");
11722
11915
 
11723
11916
  /**
11724
11917
  * Creates a new MatchingAttributes instance using the specified properties.