@flyteorg/flyteidl 0.24.0 → 0.24.3

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.
@@ -16711,6 +16904,185 @@ export namespace flyteidl {
16711
16904
  type GetPublicClientConfigCallback = (error: (Error|null), response?: flyteidl.service.PublicClientAuthConfigResponse) => void;
16712
16905
  }
16713
16906
 
16907
+ /** Properties of a CreateUploadLocationResponse. */
16908
+ interface ICreateUploadLocationResponse {
16909
+
16910
+ /** CreateUploadLocationResponse signedUrl */
16911
+ signedUrl?: (string|null);
16912
+
16913
+ /** CreateUploadLocationResponse nativeUrl */
16914
+ nativeUrl?: (string|null);
16915
+
16916
+ /** CreateUploadLocationResponse expiresAt */
16917
+ expiresAt?: (google.protobuf.ITimestamp|null);
16918
+ }
16919
+
16920
+ /** Represents a CreateUploadLocationResponse. */
16921
+ class CreateUploadLocationResponse implements ICreateUploadLocationResponse {
16922
+
16923
+ /**
16924
+ * Constructs a new CreateUploadLocationResponse.
16925
+ * @param [properties] Properties to set
16926
+ */
16927
+ constructor(properties?: flyteidl.service.ICreateUploadLocationResponse);
16928
+
16929
+ /** CreateUploadLocationResponse signedUrl. */
16930
+ public signedUrl: string;
16931
+
16932
+ /** CreateUploadLocationResponse nativeUrl. */
16933
+ public nativeUrl: string;
16934
+
16935
+ /** CreateUploadLocationResponse expiresAt. */
16936
+ public expiresAt?: (google.protobuf.ITimestamp|null);
16937
+
16938
+ /**
16939
+ * Creates a new CreateUploadLocationResponse instance using the specified properties.
16940
+ * @param [properties] Properties to set
16941
+ * @returns CreateUploadLocationResponse instance
16942
+ */
16943
+ public static create(properties?: flyteidl.service.ICreateUploadLocationResponse): flyteidl.service.CreateUploadLocationResponse;
16944
+
16945
+ /**
16946
+ * Encodes the specified CreateUploadLocationResponse message. Does not implicitly {@link flyteidl.service.CreateUploadLocationResponse.verify|verify} messages.
16947
+ * @param message CreateUploadLocationResponse message or plain object to encode
16948
+ * @param [writer] Writer to encode to
16949
+ * @returns Writer
16950
+ */
16951
+ public static encode(message: flyteidl.service.ICreateUploadLocationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
16952
+
16953
+ /**
16954
+ * Decodes a CreateUploadLocationResponse message from the specified reader or buffer.
16955
+ * @param reader Reader or buffer to decode from
16956
+ * @param [length] Message length if known beforehand
16957
+ * @returns CreateUploadLocationResponse
16958
+ * @throws {Error} If the payload is not a reader or valid buffer
16959
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16960
+ */
16961
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateUploadLocationResponse;
16962
+
16963
+ /**
16964
+ * Verifies a CreateUploadLocationResponse message.
16965
+ * @param message Plain object to verify
16966
+ * @returns `null` if valid, otherwise the reason why it is not
16967
+ */
16968
+ public static verify(message: { [k: string]: any }): (string|null);
16969
+ }
16970
+
16971
+ /** Properties of a CreateUploadLocationRequest. */
16972
+ interface ICreateUploadLocationRequest {
16973
+
16974
+ /** CreateUploadLocationRequest project */
16975
+ project?: (string|null);
16976
+
16977
+ /** CreateUploadLocationRequest domain */
16978
+ domain?: (string|null);
16979
+
16980
+ /** CreateUploadLocationRequest suffix */
16981
+ suffix?: (string|null);
16982
+
16983
+ /** CreateUploadLocationRequest expiresIn */
16984
+ expiresIn?: (google.protobuf.IDuration|null);
16985
+ }
16986
+
16987
+ /** Represents a CreateUploadLocationRequest. */
16988
+ class CreateUploadLocationRequest implements ICreateUploadLocationRequest {
16989
+
16990
+ /**
16991
+ * Constructs a new CreateUploadLocationRequest.
16992
+ * @param [properties] Properties to set
16993
+ */
16994
+ constructor(properties?: flyteidl.service.ICreateUploadLocationRequest);
16995
+
16996
+ /** CreateUploadLocationRequest project. */
16997
+ public project: string;
16998
+
16999
+ /** CreateUploadLocationRequest domain. */
17000
+ public domain: string;
17001
+
17002
+ /** CreateUploadLocationRequest suffix. */
17003
+ public suffix: string;
17004
+
17005
+ /** CreateUploadLocationRequest expiresIn. */
17006
+ public expiresIn?: (google.protobuf.IDuration|null);
17007
+
17008
+ /**
17009
+ * Creates a new CreateUploadLocationRequest instance using the specified properties.
17010
+ * @param [properties] Properties to set
17011
+ * @returns CreateUploadLocationRequest instance
17012
+ */
17013
+ public static create(properties?: flyteidl.service.ICreateUploadLocationRequest): flyteidl.service.CreateUploadLocationRequest;
17014
+
17015
+ /**
17016
+ * Encodes the specified CreateUploadLocationRequest message. Does not implicitly {@link flyteidl.service.CreateUploadLocationRequest.verify|verify} messages.
17017
+ * @param message CreateUploadLocationRequest message or plain object to encode
17018
+ * @param [writer] Writer to encode to
17019
+ * @returns Writer
17020
+ */
17021
+ public static encode(message: flyteidl.service.ICreateUploadLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
17022
+
17023
+ /**
17024
+ * Decodes a CreateUploadLocationRequest message from the specified reader or buffer.
17025
+ * @param reader Reader or buffer to decode from
17026
+ * @param [length] Message length if known beforehand
17027
+ * @returns CreateUploadLocationRequest
17028
+ * @throws {Error} If the payload is not a reader or valid buffer
17029
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
17030
+ */
17031
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateUploadLocationRequest;
17032
+
17033
+ /**
17034
+ * Verifies a CreateUploadLocationRequest message.
17035
+ * @param message Plain object to verify
17036
+ * @returns `null` if valid, otherwise the reason why it is not
17037
+ */
17038
+ public static verify(message: { [k: string]: any }): (string|null);
17039
+ }
17040
+
17041
+ /** Represents a DataProxy */
17042
+ class DataProxy extends $protobuf.rpc.Service {
17043
+
17044
+ /**
17045
+ * Constructs a new DataProxy service.
17046
+ * @param rpcImpl RPC implementation
17047
+ * @param [requestDelimited=false] Whether requests are length-delimited
17048
+ * @param [responseDelimited=false] Whether responses are length-delimited
17049
+ */
17050
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
17051
+
17052
+ /**
17053
+ * Creates new DataProxy service using the specified rpc implementation.
17054
+ * @param rpcImpl RPC implementation
17055
+ * @param [requestDelimited=false] Whether requests are length-delimited
17056
+ * @param [responseDelimited=false] Whether responses are length-delimited
17057
+ * @returns RPC service. Useful where requests and/or responses are streamed.
17058
+ */
17059
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): DataProxy;
17060
+
17061
+ /**
17062
+ * Calls CreateUploadLocation.
17063
+ * @param request CreateUploadLocationRequest message or plain object
17064
+ * @param callback Node-style callback called with the error, if any, and CreateUploadLocationResponse
17065
+ */
17066
+ public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest, callback: flyteidl.service.DataProxy.CreateUploadLocationCallback): void;
17067
+
17068
+ /**
17069
+ * Calls CreateUploadLocation.
17070
+ * @param request CreateUploadLocationRequest message or plain object
17071
+ * @returns Promise
17072
+ */
17073
+ public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest): Promise<flyteidl.service.CreateUploadLocationResponse>;
17074
+ }
17075
+
17076
+ namespace DataProxy {
17077
+
17078
+ /**
17079
+ * Callback as used by {@link flyteidl.service.DataProxy#createUploadLocation}.
17080
+ * @param error Error, if any
17081
+ * @param [response] CreateUploadLocationResponse
17082
+ */
17083
+ type CreateUploadLocationCallback = (error: (Error|null), response?: flyteidl.service.CreateUploadLocationResponse) => void;
17084
+ }
17085
+
16714
17086
  /** Properties of a UserInfoRequest. */
16715
17087
  interface IUserInfoRequest {
16716
17088
  }