@flyteorg/flyteidl 1.2.0 → 1.2.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.
- package/gen/pb-js/flyteidl.d.ts +747 -1
- package/gen/pb-js/flyteidl.js +49786 -48119
- package/package.json +1 -1
- package/protos/docs/admin/admin.rst +163 -0
- package/protos/docs/core/core.rst +112 -0
- package/protos/docs/service/service.rst +42 -0
- package/protos/flyteidl/admin/signal.proto +86 -0
- package/protos/flyteidl/core/identifier.proto +9 -0
- package/protos/flyteidl/core/workflow.proto +42 -0
- package/protos/flyteidl/service/signal.proto +55 -0
package/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -469,6 +469,64 @@ export namespace flyteidl {
|
|
|
469
469
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
470
470
|
}
|
|
471
471
|
|
|
472
|
+
/** Properties of a SignalIdentifier. */
|
|
473
|
+
interface ISignalIdentifier {
|
|
474
|
+
|
|
475
|
+
/** SignalIdentifier signalId */
|
|
476
|
+
signalId?: (string|null);
|
|
477
|
+
|
|
478
|
+
/** SignalIdentifier executionId */
|
|
479
|
+
executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null);
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
/** Represents a SignalIdentifier. */
|
|
483
|
+
class SignalIdentifier implements ISignalIdentifier {
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* Constructs a new SignalIdentifier.
|
|
487
|
+
* @param [properties] Properties to set
|
|
488
|
+
*/
|
|
489
|
+
constructor(properties?: flyteidl.core.ISignalIdentifier);
|
|
490
|
+
|
|
491
|
+
/** SignalIdentifier signalId. */
|
|
492
|
+
public signalId: string;
|
|
493
|
+
|
|
494
|
+
/** SignalIdentifier executionId. */
|
|
495
|
+
public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null);
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Creates a new SignalIdentifier instance using the specified properties.
|
|
499
|
+
* @param [properties] Properties to set
|
|
500
|
+
* @returns SignalIdentifier instance
|
|
501
|
+
*/
|
|
502
|
+
public static create(properties?: flyteidl.core.ISignalIdentifier): flyteidl.core.SignalIdentifier;
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* Encodes the specified SignalIdentifier message. Does not implicitly {@link flyteidl.core.SignalIdentifier.verify|verify} messages.
|
|
506
|
+
* @param message SignalIdentifier message or plain object to encode
|
|
507
|
+
* @param [writer] Writer to encode to
|
|
508
|
+
* @returns Writer
|
|
509
|
+
*/
|
|
510
|
+
public static encode(message: flyteidl.core.ISignalIdentifier, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* Decodes a SignalIdentifier message from the specified reader or buffer.
|
|
514
|
+
* @param reader Reader or buffer to decode from
|
|
515
|
+
* @param [length] Message length if known beforehand
|
|
516
|
+
* @returns SignalIdentifier
|
|
517
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
518
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
519
|
+
*/
|
|
520
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.SignalIdentifier;
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* Verifies a SignalIdentifier message.
|
|
524
|
+
* @param message Plain object to verify
|
|
525
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
526
|
+
*/
|
|
527
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
528
|
+
}
|
|
529
|
+
|
|
472
530
|
/** Properties of a ConnectionSet. */
|
|
473
531
|
interface IConnectionSet {
|
|
474
532
|
|
|
@@ -1061,6 +1119,241 @@ export namespace flyteidl {
|
|
|
1061
1119
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
1062
1120
|
}
|
|
1063
1121
|
|
|
1122
|
+
/** Properties of an ApproveCondition. */
|
|
1123
|
+
interface IApproveCondition {
|
|
1124
|
+
|
|
1125
|
+
/** ApproveCondition signalId */
|
|
1126
|
+
signalId?: (string|null);
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
/** Represents an ApproveCondition. */
|
|
1130
|
+
class ApproveCondition implements IApproveCondition {
|
|
1131
|
+
|
|
1132
|
+
/**
|
|
1133
|
+
* Constructs a new ApproveCondition.
|
|
1134
|
+
* @param [properties] Properties to set
|
|
1135
|
+
*/
|
|
1136
|
+
constructor(properties?: flyteidl.core.IApproveCondition);
|
|
1137
|
+
|
|
1138
|
+
/** ApproveCondition signalId. */
|
|
1139
|
+
public signalId: string;
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* Creates a new ApproveCondition instance using the specified properties.
|
|
1143
|
+
* @param [properties] Properties to set
|
|
1144
|
+
* @returns ApproveCondition instance
|
|
1145
|
+
*/
|
|
1146
|
+
public static create(properties?: flyteidl.core.IApproveCondition): flyteidl.core.ApproveCondition;
|
|
1147
|
+
|
|
1148
|
+
/**
|
|
1149
|
+
* Encodes the specified ApproveCondition message. Does not implicitly {@link flyteidl.core.ApproveCondition.verify|verify} messages.
|
|
1150
|
+
* @param message ApproveCondition message or plain object to encode
|
|
1151
|
+
* @param [writer] Writer to encode to
|
|
1152
|
+
* @returns Writer
|
|
1153
|
+
*/
|
|
1154
|
+
public static encode(message: flyteidl.core.IApproveCondition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* Decodes an ApproveCondition message from the specified reader or buffer.
|
|
1158
|
+
* @param reader Reader or buffer to decode from
|
|
1159
|
+
* @param [length] Message length if known beforehand
|
|
1160
|
+
* @returns ApproveCondition
|
|
1161
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1162
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1163
|
+
*/
|
|
1164
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ApproveCondition;
|
|
1165
|
+
|
|
1166
|
+
/**
|
|
1167
|
+
* Verifies an ApproveCondition message.
|
|
1168
|
+
* @param message Plain object to verify
|
|
1169
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1170
|
+
*/
|
|
1171
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
/** Properties of a SignalCondition. */
|
|
1175
|
+
interface ISignalCondition {
|
|
1176
|
+
|
|
1177
|
+
/** SignalCondition signalId */
|
|
1178
|
+
signalId?: (string|null);
|
|
1179
|
+
|
|
1180
|
+
/** SignalCondition type */
|
|
1181
|
+
type?: (flyteidl.core.ILiteralType|null);
|
|
1182
|
+
|
|
1183
|
+
/** SignalCondition outputVariableName */
|
|
1184
|
+
outputVariableName?: (string|null);
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
/** Represents a SignalCondition. */
|
|
1188
|
+
class SignalCondition implements ISignalCondition {
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* Constructs a new SignalCondition.
|
|
1192
|
+
* @param [properties] Properties to set
|
|
1193
|
+
*/
|
|
1194
|
+
constructor(properties?: flyteidl.core.ISignalCondition);
|
|
1195
|
+
|
|
1196
|
+
/** SignalCondition signalId. */
|
|
1197
|
+
public signalId: string;
|
|
1198
|
+
|
|
1199
|
+
/** SignalCondition type. */
|
|
1200
|
+
public type?: (flyteidl.core.ILiteralType|null);
|
|
1201
|
+
|
|
1202
|
+
/** SignalCondition outputVariableName. */
|
|
1203
|
+
public outputVariableName: string;
|
|
1204
|
+
|
|
1205
|
+
/**
|
|
1206
|
+
* Creates a new SignalCondition instance using the specified properties.
|
|
1207
|
+
* @param [properties] Properties to set
|
|
1208
|
+
* @returns SignalCondition instance
|
|
1209
|
+
*/
|
|
1210
|
+
public static create(properties?: flyteidl.core.ISignalCondition): flyteidl.core.SignalCondition;
|
|
1211
|
+
|
|
1212
|
+
/**
|
|
1213
|
+
* Encodes the specified SignalCondition message. Does not implicitly {@link flyteidl.core.SignalCondition.verify|verify} messages.
|
|
1214
|
+
* @param message SignalCondition message or plain object to encode
|
|
1215
|
+
* @param [writer] Writer to encode to
|
|
1216
|
+
* @returns Writer
|
|
1217
|
+
*/
|
|
1218
|
+
public static encode(message: flyteidl.core.ISignalCondition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1219
|
+
|
|
1220
|
+
/**
|
|
1221
|
+
* Decodes a SignalCondition message from the specified reader or buffer.
|
|
1222
|
+
* @param reader Reader or buffer to decode from
|
|
1223
|
+
* @param [length] Message length if known beforehand
|
|
1224
|
+
* @returns SignalCondition
|
|
1225
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1226
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1227
|
+
*/
|
|
1228
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.SignalCondition;
|
|
1229
|
+
|
|
1230
|
+
/**
|
|
1231
|
+
* Verifies a SignalCondition message.
|
|
1232
|
+
* @param message Plain object to verify
|
|
1233
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1234
|
+
*/
|
|
1235
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
/** Properties of a SleepCondition. */
|
|
1239
|
+
interface ISleepCondition {
|
|
1240
|
+
|
|
1241
|
+
/** SleepCondition duration */
|
|
1242
|
+
duration?: (google.protobuf.IDuration|null);
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
/** Represents a SleepCondition. */
|
|
1246
|
+
class SleepCondition implements ISleepCondition {
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* Constructs a new SleepCondition.
|
|
1250
|
+
* @param [properties] Properties to set
|
|
1251
|
+
*/
|
|
1252
|
+
constructor(properties?: flyteidl.core.ISleepCondition);
|
|
1253
|
+
|
|
1254
|
+
/** SleepCondition duration. */
|
|
1255
|
+
public duration?: (google.protobuf.IDuration|null);
|
|
1256
|
+
|
|
1257
|
+
/**
|
|
1258
|
+
* Creates a new SleepCondition instance using the specified properties.
|
|
1259
|
+
* @param [properties] Properties to set
|
|
1260
|
+
* @returns SleepCondition instance
|
|
1261
|
+
*/
|
|
1262
|
+
public static create(properties?: flyteidl.core.ISleepCondition): flyteidl.core.SleepCondition;
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* Encodes the specified SleepCondition message. Does not implicitly {@link flyteidl.core.SleepCondition.verify|verify} messages.
|
|
1266
|
+
* @param message SleepCondition message or plain object to encode
|
|
1267
|
+
* @param [writer] Writer to encode to
|
|
1268
|
+
* @returns Writer
|
|
1269
|
+
*/
|
|
1270
|
+
public static encode(message: flyteidl.core.ISleepCondition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1271
|
+
|
|
1272
|
+
/**
|
|
1273
|
+
* Decodes a SleepCondition message from the specified reader or buffer.
|
|
1274
|
+
* @param reader Reader or buffer to decode from
|
|
1275
|
+
* @param [length] Message length if known beforehand
|
|
1276
|
+
* @returns SleepCondition
|
|
1277
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1278
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1279
|
+
*/
|
|
1280
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.SleepCondition;
|
|
1281
|
+
|
|
1282
|
+
/**
|
|
1283
|
+
* Verifies a SleepCondition message.
|
|
1284
|
+
* @param message Plain object to verify
|
|
1285
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1286
|
+
*/
|
|
1287
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
/** Properties of a GateNode. */
|
|
1291
|
+
interface IGateNode {
|
|
1292
|
+
|
|
1293
|
+
/** GateNode approve */
|
|
1294
|
+
approve?: (flyteidl.core.IApproveCondition|null);
|
|
1295
|
+
|
|
1296
|
+
/** GateNode signal */
|
|
1297
|
+
signal?: (flyteidl.core.ISignalCondition|null);
|
|
1298
|
+
|
|
1299
|
+
/** GateNode sleep */
|
|
1300
|
+
sleep?: (flyteidl.core.ISleepCondition|null);
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
/** Represents a GateNode. */
|
|
1304
|
+
class GateNode implements IGateNode {
|
|
1305
|
+
|
|
1306
|
+
/**
|
|
1307
|
+
* Constructs a new GateNode.
|
|
1308
|
+
* @param [properties] Properties to set
|
|
1309
|
+
*/
|
|
1310
|
+
constructor(properties?: flyteidl.core.IGateNode);
|
|
1311
|
+
|
|
1312
|
+
/** GateNode approve. */
|
|
1313
|
+
public approve?: (flyteidl.core.IApproveCondition|null);
|
|
1314
|
+
|
|
1315
|
+
/** GateNode signal. */
|
|
1316
|
+
public signal?: (flyteidl.core.ISignalCondition|null);
|
|
1317
|
+
|
|
1318
|
+
/** GateNode sleep. */
|
|
1319
|
+
public sleep?: (flyteidl.core.ISleepCondition|null);
|
|
1320
|
+
|
|
1321
|
+
/** GateNode condition. */
|
|
1322
|
+
public condition?: ("approve"|"signal"|"sleep");
|
|
1323
|
+
|
|
1324
|
+
/**
|
|
1325
|
+
* Creates a new GateNode instance using the specified properties.
|
|
1326
|
+
* @param [properties] Properties to set
|
|
1327
|
+
* @returns GateNode instance
|
|
1328
|
+
*/
|
|
1329
|
+
public static create(properties?: flyteidl.core.IGateNode): flyteidl.core.GateNode;
|
|
1330
|
+
|
|
1331
|
+
/**
|
|
1332
|
+
* Encodes the specified GateNode message. Does not implicitly {@link flyteidl.core.GateNode.verify|verify} messages.
|
|
1333
|
+
* @param message GateNode message or plain object to encode
|
|
1334
|
+
* @param [writer] Writer to encode to
|
|
1335
|
+
* @returns Writer
|
|
1336
|
+
*/
|
|
1337
|
+
public static encode(message: flyteidl.core.IGateNode, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1338
|
+
|
|
1339
|
+
/**
|
|
1340
|
+
* Decodes a GateNode message from the specified reader or buffer.
|
|
1341
|
+
* @param reader Reader or buffer to decode from
|
|
1342
|
+
* @param [length] Message length if known beforehand
|
|
1343
|
+
* @returns GateNode
|
|
1344
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1345
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1346
|
+
*/
|
|
1347
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.GateNode;
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1350
|
+
* Verifies a GateNode message.
|
|
1351
|
+
* @param message Plain object to verify
|
|
1352
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1353
|
+
*/
|
|
1354
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1064
1357
|
/** Properties of a NodeMetadata. */
|
|
1065
1358
|
interface INodeMetadata {
|
|
1066
1359
|
|
|
@@ -1218,6 +1511,9 @@ export namespace flyteidl {
|
|
|
1218
1511
|
|
|
1219
1512
|
/** Node branchNode */
|
|
1220
1513
|
branchNode?: (flyteidl.core.IBranchNode|null);
|
|
1514
|
+
|
|
1515
|
+
/** Node gateNode */
|
|
1516
|
+
gateNode?: (flyteidl.core.IGateNode|null);
|
|
1221
1517
|
}
|
|
1222
1518
|
|
|
1223
1519
|
/** Represents a Node. */
|
|
@@ -1253,8 +1549,11 @@ export namespace flyteidl {
|
|
|
1253
1549
|
/** Node branchNode. */
|
|
1254
1550
|
public branchNode?: (flyteidl.core.IBranchNode|null);
|
|
1255
1551
|
|
|
1552
|
+
/** Node gateNode. */
|
|
1553
|
+
public gateNode?: (flyteidl.core.IGateNode|null);
|
|
1554
|
+
|
|
1256
1555
|
/** Node target. */
|
|
1257
|
-
public target?: ("taskNode"|"workflowNode"|"branchNode");
|
|
1556
|
+
public target?: ("taskNode"|"workflowNode"|"branchNode"|"gateNode");
|
|
1258
1557
|
|
|
1259
1558
|
/**
|
|
1260
1559
|
* Creates a new Node instance using the specified properties.
|
|
@@ -14166,6 +14465,366 @@ export namespace flyteidl {
|
|
|
14166
14465
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
14167
14466
|
}
|
|
14168
14467
|
|
|
14468
|
+
/** Properties of a SignalGetOrCreateRequest. */
|
|
14469
|
+
interface ISignalGetOrCreateRequest {
|
|
14470
|
+
|
|
14471
|
+
/** SignalGetOrCreateRequest id */
|
|
14472
|
+
id?: (flyteidl.core.ISignalIdentifier|null);
|
|
14473
|
+
|
|
14474
|
+
/** SignalGetOrCreateRequest type */
|
|
14475
|
+
type?: (flyteidl.core.ILiteralType|null);
|
|
14476
|
+
}
|
|
14477
|
+
|
|
14478
|
+
/** Represents a SignalGetOrCreateRequest. */
|
|
14479
|
+
class SignalGetOrCreateRequest implements ISignalGetOrCreateRequest {
|
|
14480
|
+
|
|
14481
|
+
/**
|
|
14482
|
+
* Constructs a new SignalGetOrCreateRequest.
|
|
14483
|
+
* @param [properties] Properties to set
|
|
14484
|
+
*/
|
|
14485
|
+
constructor(properties?: flyteidl.admin.ISignalGetOrCreateRequest);
|
|
14486
|
+
|
|
14487
|
+
/** SignalGetOrCreateRequest id. */
|
|
14488
|
+
public id?: (flyteidl.core.ISignalIdentifier|null);
|
|
14489
|
+
|
|
14490
|
+
/** SignalGetOrCreateRequest type. */
|
|
14491
|
+
public type?: (flyteidl.core.ILiteralType|null);
|
|
14492
|
+
|
|
14493
|
+
/**
|
|
14494
|
+
* Creates a new SignalGetOrCreateRequest instance using the specified properties.
|
|
14495
|
+
* @param [properties] Properties to set
|
|
14496
|
+
* @returns SignalGetOrCreateRequest instance
|
|
14497
|
+
*/
|
|
14498
|
+
public static create(properties?: flyteidl.admin.ISignalGetOrCreateRequest): flyteidl.admin.SignalGetOrCreateRequest;
|
|
14499
|
+
|
|
14500
|
+
/**
|
|
14501
|
+
* Encodes the specified SignalGetOrCreateRequest message. Does not implicitly {@link flyteidl.admin.SignalGetOrCreateRequest.verify|verify} messages.
|
|
14502
|
+
* @param message SignalGetOrCreateRequest message or plain object to encode
|
|
14503
|
+
* @param [writer] Writer to encode to
|
|
14504
|
+
* @returns Writer
|
|
14505
|
+
*/
|
|
14506
|
+
public static encode(message: flyteidl.admin.ISignalGetOrCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14507
|
+
|
|
14508
|
+
/**
|
|
14509
|
+
* Decodes a SignalGetOrCreateRequest message from the specified reader or buffer.
|
|
14510
|
+
* @param reader Reader or buffer to decode from
|
|
14511
|
+
* @param [length] Message length if known beforehand
|
|
14512
|
+
* @returns SignalGetOrCreateRequest
|
|
14513
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14514
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14515
|
+
*/
|
|
14516
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalGetOrCreateRequest;
|
|
14517
|
+
|
|
14518
|
+
/**
|
|
14519
|
+
* Verifies a SignalGetOrCreateRequest message.
|
|
14520
|
+
* @param message Plain object to verify
|
|
14521
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14522
|
+
*/
|
|
14523
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14524
|
+
}
|
|
14525
|
+
|
|
14526
|
+
/** Properties of a SignalListRequest. */
|
|
14527
|
+
interface ISignalListRequest {
|
|
14528
|
+
|
|
14529
|
+
/** SignalListRequest workflowExecutionId */
|
|
14530
|
+
workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null);
|
|
14531
|
+
|
|
14532
|
+
/** SignalListRequest limit */
|
|
14533
|
+
limit?: (number|null);
|
|
14534
|
+
|
|
14535
|
+
/** SignalListRequest token */
|
|
14536
|
+
token?: (string|null);
|
|
14537
|
+
|
|
14538
|
+
/** SignalListRequest filters */
|
|
14539
|
+
filters?: (string|null);
|
|
14540
|
+
|
|
14541
|
+
/** SignalListRequest sortBy */
|
|
14542
|
+
sortBy?: (flyteidl.admin.ISort|null);
|
|
14543
|
+
}
|
|
14544
|
+
|
|
14545
|
+
/** Represents a SignalListRequest. */
|
|
14546
|
+
class SignalListRequest implements ISignalListRequest {
|
|
14547
|
+
|
|
14548
|
+
/**
|
|
14549
|
+
* Constructs a new SignalListRequest.
|
|
14550
|
+
* @param [properties] Properties to set
|
|
14551
|
+
*/
|
|
14552
|
+
constructor(properties?: flyteidl.admin.ISignalListRequest);
|
|
14553
|
+
|
|
14554
|
+
/** SignalListRequest workflowExecutionId. */
|
|
14555
|
+
public workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null);
|
|
14556
|
+
|
|
14557
|
+
/** SignalListRequest limit. */
|
|
14558
|
+
public limit: number;
|
|
14559
|
+
|
|
14560
|
+
/** SignalListRequest token. */
|
|
14561
|
+
public token: string;
|
|
14562
|
+
|
|
14563
|
+
/** SignalListRequest filters. */
|
|
14564
|
+
public filters: string;
|
|
14565
|
+
|
|
14566
|
+
/** SignalListRequest sortBy. */
|
|
14567
|
+
public sortBy?: (flyteidl.admin.ISort|null);
|
|
14568
|
+
|
|
14569
|
+
/**
|
|
14570
|
+
* Creates a new SignalListRequest instance using the specified properties.
|
|
14571
|
+
* @param [properties] Properties to set
|
|
14572
|
+
* @returns SignalListRequest instance
|
|
14573
|
+
*/
|
|
14574
|
+
public static create(properties?: flyteidl.admin.ISignalListRequest): flyteidl.admin.SignalListRequest;
|
|
14575
|
+
|
|
14576
|
+
/**
|
|
14577
|
+
* Encodes the specified SignalListRequest message. Does not implicitly {@link flyteidl.admin.SignalListRequest.verify|verify} messages.
|
|
14578
|
+
* @param message SignalListRequest message or plain object to encode
|
|
14579
|
+
* @param [writer] Writer to encode to
|
|
14580
|
+
* @returns Writer
|
|
14581
|
+
*/
|
|
14582
|
+
public static encode(message: flyteidl.admin.ISignalListRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14583
|
+
|
|
14584
|
+
/**
|
|
14585
|
+
* Decodes a SignalListRequest message from the specified reader or buffer.
|
|
14586
|
+
* @param reader Reader or buffer to decode from
|
|
14587
|
+
* @param [length] Message length if known beforehand
|
|
14588
|
+
* @returns SignalListRequest
|
|
14589
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14590
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14591
|
+
*/
|
|
14592
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalListRequest;
|
|
14593
|
+
|
|
14594
|
+
/**
|
|
14595
|
+
* Verifies a SignalListRequest message.
|
|
14596
|
+
* @param message Plain object to verify
|
|
14597
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14598
|
+
*/
|
|
14599
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14600
|
+
}
|
|
14601
|
+
|
|
14602
|
+
/** Properties of a SignalList. */
|
|
14603
|
+
interface ISignalList {
|
|
14604
|
+
|
|
14605
|
+
/** SignalList signals */
|
|
14606
|
+
signals?: (flyteidl.admin.ISignal[]|null);
|
|
14607
|
+
|
|
14608
|
+
/** SignalList token */
|
|
14609
|
+
token?: (string|null);
|
|
14610
|
+
}
|
|
14611
|
+
|
|
14612
|
+
/** Represents a SignalList. */
|
|
14613
|
+
class SignalList implements ISignalList {
|
|
14614
|
+
|
|
14615
|
+
/**
|
|
14616
|
+
* Constructs a new SignalList.
|
|
14617
|
+
* @param [properties] Properties to set
|
|
14618
|
+
*/
|
|
14619
|
+
constructor(properties?: flyteidl.admin.ISignalList);
|
|
14620
|
+
|
|
14621
|
+
/** SignalList signals. */
|
|
14622
|
+
public signals: flyteidl.admin.ISignal[];
|
|
14623
|
+
|
|
14624
|
+
/** SignalList token. */
|
|
14625
|
+
public token: string;
|
|
14626
|
+
|
|
14627
|
+
/**
|
|
14628
|
+
* Creates a new SignalList instance using the specified properties.
|
|
14629
|
+
* @param [properties] Properties to set
|
|
14630
|
+
* @returns SignalList instance
|
|
14631
|
+
*/
|
|
14632
|
+
public static create(properties?: flyteidl.admin.ISignalList): flyteidl.admin.SignalList;
|
|
14633
|
+
|
|
14634
|
+
/**
|
|
14635
|
+
* Encodes the specified SignalList message. Does not implicitly {@link flyteidl.admin.SignalList.verify|verify} messages.
|
|
14636
|
+
* @param message SignalList message or plain object to encode
|
|
14637
|
+
* @param [writer] Writer to encode to
|
|
14638
|
+
* @returns Writer
|
|
14639
|
+
*/
|
|
14640
|
+
public static encode(message: flyteidl.admin.ISignalList, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14641
|
+
|
|
14642
|
+
/**
|
|
14643
|
+
* Decodes a SignalList message from the specified reader or buffer.
|
|
14644
|
+
* @param reader Reader or buffer to decode from
|
|
14645
|
+
* @param [length] Message length if known beforehand
|
|
14646
|
+
* @returns SignalList
|
|
14647
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14648
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14649
|
+
*/
|
|
14650
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalList;
|
|
14651
|
+
|
|
14652
|
+
/**
|
|
14653
|
+
* Verifies a SignalList message.
|
|
14654
|
+
* @param message Plain object to verify
|
|
14655
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14656
|
+
*/
|
|
14657
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14658
|
+
}
|
|
14659
|
+
|
|
14660
|
+
/** Properties of a SignalSetRequest. */
|
|
14661
|
+
interface ISignalSetRequest {
|
|
14662
|
+
|
|
14663
|
+
/** SignalSetRequest id */
|
|
14664
|
+
id?: (flyteidl.core.ISignalIdentifier|null);
|
|
14665
|
+
|
|
14666
|
+
/** SignalSetRequest value */
|
|
14667
|
+
value?: (flyteidl.core.ILiteral|null);
|
|
14668
|
+
}
|
|
14669
|
+
|
|
14670
|
+
/** Represents a SignalSetRequest. */
|
|
14671
|
+
class SignalSetRequest implements ISignalSetRequest {
|
|
14672
|
+
|
|
14673
|
+
/**
|
|
14674
|
+
* Constructs a new SignalSetRequest.
|
|
14675
|
+
* @param [properties] Properties to set
|
|
14676
|
+
*/
|
|
14677
|
+
constructor(properties?: flyteidl.admin.ISignalSetRequest);
|
|
14678
|
+
|
|
14679
|
+
/** SignalSetRequest id. */
|
|
14680
|
+
public id?: (flyteidl.core.ISignalIdentifier|null);
|
|
14681
|
+
|
|
14682
|
+
/** SignalSetRequest value. */
|
|
14683
|
+
public value?: (flyteidl.core.ILiteral|null);
|
|
14684
|
+
|
|
14685
|
+
/**
|
|
14686
|
+
* Creates a new SignalSetRequest instance using the specified properties.
|
|
14687
|
+
* @param [properties] Properties to set
|
|
14688
|
+
* @returns SignalSetRequest instance
|
|
14689
|
+
*/
|
|
14690
|
+
public static create(properties?: flyteidl.admin.ISignalSetRequest): flyteidl.admin.SignalSetRequest;
|
|
14691
|
+
|
|
14692
|
+
/**
|
|
14693
|
+
* Encodes the specified SignalSetRequest message. Does not implicitly {@link flyteidl.admin.SignalSetRequest.verify|verify} messages.
|
|
14694
|
+
* @param message SignalSetRequest message or plain object to encode
|
|
14695
|
+
* @param [writer] Writer to encode to
|
|
14696
|
+
* @returns Writer
|
|
14697
|
+
*/
|
|
14698
|
+
public static encode(message: flyteidl.admin.ISignalSetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14699
|
+
|
|
14700
|
+
/**
|
|
14701
|
+
* Decodes a SignalSetRequest message from the specified reader or buffer.
|
|
14702
|
+
* @param reader Reader or buffer to decode from
|
|
14703
|
+
* @param [length] Message length if known beforehand
|
|
14704
|
+
* @returns SignalSetRequest
|
|
14705
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14706
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14707
|
+
*/
|
|
14708
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalSetRequest;
|
|
14709
|
+
|
|
14710
|
+
/**
|
|
14711
|
+
* Verifies a SignalSetRequest message.
|
|
14712
|
+
* @param message Plain object to verify
|
|
14713
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14714
|
+
*/
|
|
14715
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14716
|
+
}
|
|
14717
|
+
|
|
14718
|
+
/** Properties of a SignalSetResponse. */
|
|
14719
|
+
interface ISignalSetResponse {
|
|
14720
|
+
}
|
|
14721
|
+
|
|
14722
|
+
/** Represents a SignalSetResponse. */
|
|
14723
|
+
class SignalSetResponse implements ISignalSetResponse {
|
|
14724
|
+
|
|
14725
|
+
/**
|
|
14726
|
+
* Constructs a new SignalSetResponse.
|
|
14727
|
+
* @param [properties] Properties to set
|
|
14728
|
+
*/
|
|
14729
|
+
constructor(properties?: flyteidl.admin.ISignalSetResponse);
|
|
14730
|
+
|
|
14731
|
+
/**
|
|
14732
|
+
* Creates a new SignalSetResponse instance using the specified properties.
|
|
14733
|
+
* @param [properties] Properties to set
|
|
14734
|
+
* @returns SignalSetResponse instance
|
|
14735
|
+
*/
|
|
14736
|
+
public static create(properties?: flyteidl.admin.ISignalSetResponse): flyteidl.admin.SignalSetResponse;
|
|
14737
|
+
|
|
14738
|
+
/**
|
|
14739
|
+
* Encodes the specified SignalSetResponse message. Does not implicitly {@link flyteidl.admin.SignalSetResponse.verify|verify} messages.
|
|
14740
|
+
* @param message SignalSetResponse message or plain object to encode
|
|
14741
|
+
* @param [writer] Writer to encode to
|
|
14742
|
+
* @returns Writer
|
|
14743
|
+
*/
|
|
14744
|
+
public static encode(message: flyteidl.admin.ISignalSetResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14745
|
+
|
|
14746
|
+
/**
|
|
14747
|
+
* Decodes a SignalSetResponse message from the specified reader or buffer.
|
|
14748
|
+
* @param reader Reader or buffer to decode from
|
|
14749
|
+
* @param [length] Message length if known beforehand
|
|
14750
|
+
* @returns SignalSetResponse
|
|
14751
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14752
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14753
|
+
*/
|
|
14754
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalSetResponse;
|
|
14755
|
+
|
|
14756
|
+
/**
|
|
14757
|
+
* Verifies a SignalSetResponse message.
|
|
14758
|
+
* @param message Plain object to verify
|
|
14759
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14760
|
+
*/
|
|
14761
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14762
|
+
}
|
|
14763
|
+
|
|
14764
|
+
/** Properties of a Signal. */
|
|
14765
|
+
interface ISignal {
|
|
14766
|
+
|
|
14767
|
+
/** Signal id */
|
|
14768
|
+
id?: (flyteidl.core.ISignalIdentifier|null);
|
|
14769
|
+
|
|
14770
|
+
/** Signal type */
|
|
14771
|
+
type?: (flyteidl.core.ILiteralType|null);
|
|
14772
|
+
|
|
14773
|
+
/** Signal value */
|
|
14774
|
+
value?: (flyteidl.core.ILiteral|null);
|
|
14775
|
+
}
|
|
14776
|
+
|
|
14777
|
+
/** Represents a Signal. */
|
|
14778
|
+
class Signal implements ISignal {
|
|
14779
|
+
|
|
14780
|
+
/**
|
|
14781
|
+
* Constructs a new Signal.
|
|
14782
|
+
* @param [properties] Properties to set
|
|
14783
|
+
*/
|
|
14784
|
+
constructor(properties?: flyteidl.admin.ISignal);
|
|
14785
|
+
|
|
14786
|
+
/** Signal id. */
|
|
14787
|
+
public id?: (flyteidl.core.ISignalIdentifier|null);
|
|
14788
|
+
|
|
14789
|
+
/** Signal type. */
|
|
14790
|
+
public type?: (flyteidl.core.ILiteralType|null);
|
|
14791
|
+
|
|
14792
|
+
/** Signal value. */
|
|
14793
|
+
public value?: (flyteidl.core.ILiteral|null);
|
|
14794
|
+
|
|
14795
|
+
/**
|
|
14796
|
+
* Creates a new Signal instance using the specified properties.
|
|
14797
|
+
* @param [properties] Properties to set
|
|
14798
|
+
* @returns Signal instance
|
|
14799
|
+
*/
|
|
14800
|
+
public static create(properties?: flyteidl.admin.ISignal): flyteidl.admin.Signal;
|
|
14801
|
+
|
|
14802
|
+
/**
|
|
14803
|
+
* Encodes the specified Signal message. Does not implicitly {@link flyteidl.admin.Signal.verify|verify} messages.
|
|
14804
|
+
* @param message Signal message or plain object to encode
|
|
14805
|
+
* @param [writer] Writer to encode to
|
|
14806
|
+
* @returns Writer
|
|
14807
|
+
*/
|
|
14808
|
+
public static encode(message: flyteidl.admin.ISignal, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14809
|
+
|
|
14810
|
+
/**
|
|
14811
|
+
* Decodes a Signal message from the specified reader or buffer.
|
|
14812
|
+
* @param reader Reader or buffer to decode from
|
|
14813
|
+
* @param [length] Message length if known beforehand
|
|
14814
|
+
* @returns Signal
|
|
14815
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14816
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14817
|
+
*/
|
|
14818
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Signal;
|
|
14819
|
+
|
|
14820
|
+
/**
|
|
14821
|
+
* Verifies a Signal message.
|
|
14822
|
+
* @param message Plain object to verify
|
|
14823
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14824
|
+
*/
|
|
14825
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14826
|
+
}
|
|
14827
|
+
|
|
14169
14828
|
/** Properties of a TaskCreateRequest. */
|
|
14170
14829
|
interface ITaskCreateRequest {
|
|
14171
14830
|
|
|
@@ -18000,6 +18659,93 @@ export namespace flyteidl {
|
|
|
18000
18659
|
*/
|
|
18001
18660
|
type UserInfoCallback = (error: (Error|null), response?: flyteidl.service.UserInfoResponse) => void;
|
|
18002
18661
|
}
|
|
18662
|
+
|
|
18663
|
+
/** Represents a SignalService */
|
|
18664
|
+
class SignalService extends $protobuf.rpc.Service {
|
|
18665
|
+
|
|
18666
|
+
/**
|
|
18667
|
+
* Constructs a new SignalService service.
|
|
18668
|
+
* @param rpcImpl RPC implementation
|
|
18669
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
18670
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
18671
|
+
*/
|
|
18672
|
+
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
|
|
18673
|
+
|
|
18674
|
+
/**
|
|
18675
|
+
* Creates new SignalService service using the specified rpc implementation.
|
|
18676
|
+
* @param rpcImpl RPC implementation
|
|
18677
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
18678
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
18679
|
+
* @returns RPC service. Useful where requests and/or responses are streamed.
|
|
18680
|
+
*/
|
|
18681
|
+
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): SignalService;
|
|
18682
|
+
|
|
18683
|
+
/**
|
|
18684
|
+
* Calls GetOrCreateSignal.
|
|
18685
|
+
* @param request SignalGetOrCreateRequest message or plain object
|
|
18686
|
+
* @param callback Node-style callback called with the error, if any, and Signal
|
|
18687
|
+
*/
|
|
18688
|
+
public getOrCreateSignal(request: flyteidl.admin.ISignalGetOrCreateRequest, callback: flyteidl.service.SignalService.GetOrCreateSignalCallback): void;
|
|
18689
|
+
|
|
18690
|
+
/**
|
|
18691
|
+
* Calls GetOrCreateSignal.
|
|
18692
|
+
* @param request SignalGetOrCreateRequest message or plain object
|
|
18693
|
+
* @returns Promise
|
|
18694
|
+
*/
|
|
18695
|
+
public getOrCreateSignal(request: flyteidl.admin.ISignalGetOrCreateRequest): Promise<flyteidl.admin.Signal>;
|
|
18696
|
+
|
|
18697
|
+
/**
|
|
18698
|
+
* Calls ListSignals.
|
|
18699
|
+
* @param request SignalListRequest message or plain object
|
|
18700
|
+
* @param callback Node-style callback called with the error, if any, and SignalList
|
|
18701
|
+
*/
|
|
18702
|
+
public listSignals(request: flyteidl.admin.ISignalListRequest, callback: flyteidl.service.SignalService.ListSignalsCallback): void;
|
|
18703
|
+
|
|
18704
|
+
/**
|
|
18705
|
+
* Calls ListSignals.
|
|
18706
|
+
* @param request SignalListRequest message or plain object
|
|
18707
|
+
* @returns Promise
|
|
18708
|
+
*/
|
|
18709
|
+
public listSignals(request: flyteidl.admin.ISignalListRequest): Promise<flyteidl.admin.SignalList>;
|
|
18710
|
+
|
|
18711
|
+
/**
|
|
18712
|
+
* Calls SetSignal.
|
|
18713
|
+
* @param request SignalSetRequest message or plain object
|
|
18714
|
+
* @param callback Node-style callback called with the error, if any, and SignalSetResponse
|
|
18715
|
+
*/
|
|
18716
|
+
public setSignal(request: flyteidl.admin.ISignalSetRequest, callback: flyteidl.service.SignalService.SetSignalCallback): void;
|
|
18717
|
+
|
|
18718
|
+
/**
|
|
18719
|
+
* Calls SetSignal.
|
|
18720
|
+
* @param request SignalSetRequest message or plain object
|
|
18721
|
+
* @returns Promise
|
|
18722
|
+
*/
|
|
18723
|
+
public setSignal(request: flyteidl.admin.ISignalSetRequest): Promise<flyteidl.admin.SignalSetResponse>;
|
|
18724
|
+
}
|
|
18725
|
+
|
|
18726
|
+
namespace SignalService {
|
|
18727
|
+
|
|
18728
|
+
/**
|
|
18729
|
+
* Callback as used by {@link flyteidl.service.SignalService#getOrCreateSignal}.
|
|
18730
|
+
* @param error Error, if any
|
|
18731
|
+
* @param [response] Signal
|
|
18732
|
+
*/
|
|
18733
|
+
type GetOrCreateSignalCallback = (error: (Error|null), response?: flyteidl.admin.Signal) => void;
|
|
18734
|
+
|
|
18735
|
+
/**
|
|
18736
|
+
* Callback as used by {@link flyteidl.service.SignalService#listSignals}.
|
|
18737
|
+
* @param error Error, if any
|
|
18738
|
+
* @param [response] SignalList
|
|
18739
|
+
*/
|
|
18740
|
+
type ListSignalsCallback = (error: (Error|null), response?: flyteidl.admin.SignalList) => void;
|
|
18741
|
+
|
|
18742
|
+
/**
|
|
18743
|
+
* Callback as used by {@link flyteidl.service.SignalService#setSignal}.
|
|
18744
|
+
* @param error Error, if any
|
|
18745
|
+
* @param [response] SignalSetResponse
|
|
18746
|
+
*/
|
|
18747
|
+
type SetSignalCallback = (error: (Error|null), response?: flyteidl.admin.SignalSetResponse) => void;
|
|
18748
|
+
}
|
|
18003
18749
|
}
|
|
18004
18750
|
}
|
|
18005
18751
|
|