@flyteorg/flyteidl 0.22.3 → 0.24.0
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 +252 -2
- package/gen/pb-js/flyteidl.js +599 -4
- package/package.json +1 -1
- package/protos/docs/admin/admin.rst +342 -341
- package/protos/docs/core/core.rst +144 -40
- package/protos/flyteidl/admin/execution.proto +4 -0
- package/protos/flyteidl/core/literals.proto +18 -0
- package/protos/flyteidl/core/types.proto +32 -0
package/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -2177,6 +2177,64 @@ export namespace flyteidl {
|
|
|
2177
2177
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
2178
2178
|
}
|
|
2179
2179
|
|
|
2180
|
+
/** Properties of an Union. */
|
|
2181
|
+
interface IUnion {
|
|
2182
|
+
|
|
2183
|
+
/** Union value */
|
|
2184
|
+
value?: (flyteidl.core.ILiteral|null);
|
|
2185
|
+
|
|
2186
|
+
/** Union type */
|
|
2187
|
+
type?: (flyteidl.core.ILiteralType|null);
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
/** Represents an Union. */
|
|
2191
|
+
class Union implements IUnion {
|
|
2192
|
+
|
|
2193
|
+
/**
|
|
2194
|
+
* Constructs a new Union.
|
|
2195
|
+
* @param [properties] Properties to set
|
|
2196
|
+
*/
|
|
2197
|
+
constructor(properties?: flyteidl.core.IUnion);
|
|
2198
|
+
|
|
2199
|
+
/** Union value. */
|
|
2200
|
+
public value?: (flyteidl.core.ILiteral|null);
|
|
2201
|
+
|
|
2202
|
+
/** Union type. */
|
|
2203
|
+
public type?: (flyteidl.core.ILiteralType|null);
|
|
2204
|
+
|
|
2205
|
+
/**
|
|
2206
|
+
* Creates a new Union instance using the specified properties.
|
|
2207
|
+
* @param [properties] Properties to set
|
|
2208
|
+
* @returns Union instance
|
|
2209
|
+
*/
|
|
2210
|
+
public static create(properties?: flyteidl.core.IUnion): flyteidl.core.Union;
|
|
2211
|
+
|
|
2212
|
+
/**
|
|
2213
|
+
* Encodes the specified Union message. Does not implicitly {@link flyteidl.core.Union.verify|verify} messages.
|
|
2214
|
+
* @param message Union message or plain object to encode
|
|
2215
|
+
* @param [writer] Writer to encode to
|
|
2216
|
+
* @returns Writer
|
|
2217
|
+
*/
|
|
2218
|
+
public static encode(message: flyteidl.core.IUnion, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2219
|
+
|
|
2220
|
+
/**
|
|
2221
|
+
* Decodes an Union message from the specified reader or buffer.
|
|
2222
|
+
* @param reader Reader or buffer to decode from
|
|
2223
|
+
* @param [length] Message length if known beforehand
|
|
2224
|
+
* @returns Union
|
|
2225
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2226
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2227
|
+
*/
|
|
2228
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Union;
|
|
2229
|
+
|
|
2230
|
+
/**
|
|
2231
|
+
* Verifies an Union message.
|
|
2232
|
+
* @param message Plain object to verify
|
|
2233
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2234
|
+
*/
|
|
2235
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2180
2238
|
/** Properties of a StructuredDatasetMetadata. */
|
|
2181
2239
|
interface IStructuredDatasetMetadata {
|
|
2182
2240
|
|
|
@@ -2313,6 +2371,9 @@ export namespace flyteidl {
|
|
|
2313
2371
|
|
|
2314
2372
|
/** Scalar structuredDataset */
|
|
2315
2373
|
structuredDataset?: (flyteidl.core.IStructuredDataset|null);
|
|
2374
|
+
|
|
2375
|
+
/** Scalar union */
|
|
2376
|
+
union?: (flyteidl.core.IUnion|null);
|
|
2316
2377
|
}
|
|
2317
2378
|
|
|
2318
2379
|
/** Represents a Scalar. */
|
|
@@ -2348,8 +2409,11 @@ export namespace flyteidl {
|
|
|
2348
2409
|
/** Scalar structuredDataset. */
|
|
2349
2410
|
public structuredDataset?: (flyteidl.core.IStructuredDataset|null);
|
|
2350
2411
|
|
|
2412
|
+
/** Scalar union. */
|
|
2413
|
+
public union?: (flyteidl.core.IUnion|null);
|
|
2414
|
+
|
|
2351
2415
|
/** Scalar value. */
|
|
2352
|
-
public value?: ("primitive"|"blob"|"binary"|"schema"|"noneType"|"error"|"generic"|"structuredDataset");
|
|
2416
|
+
public value?: ("primitive"|"blob"|"binary"|"schema"|"noneType"|"error"|"generic"|"structuredDataset"|"union");
|
|
2353
2417
|
|
|
2354
2418
|
/**
|
|
2355
2419
|
* Creates a new Scalar instance using the specified properties.
|
|
@@ -2395,6 +2459,9 @@ export namespace flyteidl {
|
|
|
2395
2459
|
|
|
2396
2460
|
/** Literal map */
|
|
2397
2461
|
map?: (flyteidl.core.ILiteralMap|null);
|
|
2462
|
+
|
|
2463
|
+
/** Literal hash */
|
|
2464
|
+
hash?: (string|null);
|
|
2398
2465
|
}
|
|
2399
2466
|
|
|
2400
2467
|
/** Represents a Literal. */
|
|
@@ -2415,6 +2482,9 @@ export namespace flyteidl {
|
|
|
2415
2482
|
/** Literal map. */
|
|
2416
2483
|
public map?: (flyteidl.core.ILiteralMap|null);
|
|
2417
2484
|
|
|
2485
|
+
/** Literal hash. */
|
|
2486
|
+
public hash: string;
|
|
2487
|
+
|
|
2418
2488
|
/** Literal value. */
|
|
2419
2489
|
public value?: ("scalar"|"collection"|"map");
|
|
2420
2490
|
|
|
@@ -2659,6 +2729,58 @@ export namespace flyteidl {
|
|
|
2659
2729
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
2660
2730
|
}
|
|
2661
2731
|
|
|
2732
|
+
/** Properties of an UnionInfo. */
|
|
2733
|
+
interface IUnionInfo {
|
|
2734
|
+
|
|
2735
|
+
/** UnionInfo targetType */
|
|
2736
|
+
targetType?: (flyteidl.core.ILiteralType|null);
|
|
2737
|
+
}
|
|
2738
|
+
|
|
2739
|
+
/** Represents an UnionInfo. */
|
|
2740
|
+
class UnionInfo implements IUnionInfo {
|
|
2741
|
+
|
|
2742
|
+
/**
|
|
2743
|
+
* Constructs a new UnionInfo.
|
|
2744
|
+
* @param [properties] Properties to set
|
|
2745
|
+
*/
|
|
2746
|
+
constructor(properties?: flyteidl.core.IUnionInfo);
|
|
2747
|
+
|
|
2748
|
+
/** UnionInfo targetType. */
|
|
2749
|
+
public targetType?: (flyteidl.core.ILiteralType|null);
|
|
2750
|
+
|
|
2751
|
+
/**
|
|
2752
|
+
* Creates a new UnionInfo instance using the specified properties.
|
|
2753
|
+
* @param [properties] Properties to set
|
|
2754
|
+
* @returns UnionInfo instance
|
|
2755
|
+
*/
|
|
2756
|
+
public static create(properties?: flyteidl.core.IUnionInfo): flyteidl.core.UnionInfo;
|
|
2757
|
+
|
|
2758
|
+
/**
|
|
2759
|
+
* Encodes the specified UnionInfo message. Does not implicitly {@link flyteidl.core.UnionInfo.verify|verify} messages.
|
|
2760
|
+
* @param message UnionInfo message or plain object to encode
|
|
2761
|
+
* @param [writer] Writer to encode to
|
|
2762
|
+
* @returns Writer
|
|
2763
|
+
*/
|
|
2764
|
+
public static encode(message: flyteidl.core.IUnionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2765
|
+
|
|
2766
|
+
/**
|
|
2767
|
+
* Decodes an UnionInfo message from the specified reader or buffer.
|
|
2768
|
+
* @param reader Reader or buffer to decode from
|
|
2769
|
+
* @param [length] Message length if known beforehand
|
|
2770
|
+
* @returns UnionInfo
|
|
2771
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2772
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2773
|
+
*/
|
|
2774
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.UnionInfo;
|
|
2775
|
+
|
|
2776
|
+
/**
|
|
2777
|
+
* Verifies an UnionInfo message.
|
|
2778
|
+
* @param message Plain object to verify
|
|
2779
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2780
|
+
*/
|
|
2781
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2782
|
+
}
|
|
2783
|
+
|
|
2662
2784
|
/** Properties of a BindingData. */
|
|
2663
2785
|
interface IBindingData {
|
|
2664
2786
|
|
|
@@ -2673,6 +2795,9 @@ export namespace flyteidl {
|
|
|
2673
2795
|
|
|
2674
2796
|
/** BindingData map */
|
|
2675
2797
|
map?: (flyteidl.core.IBindingDataMap|null);
|
|
2798
|
+
|
|
2799
|
+
/** BindingData union */
|
|
2800
|
+
union?: (flyteidl.core.IUnionInfo|null);
|
|
2676
2801
|
}
|
|
2677
2802
|
|
|
2678
2803
|
/** Represents a BindingData. */
|
|
@@ -2696,6 +2821,9 @@ export namespace flyteidl {
|
|
|
2696
2821
|
/** BindingData map. */
|
|
2697
2822
|
public map?: (flyteidl.core.IBindingDataMap|null);
|
|
2698
2823
|
|
|
2824
|
+
/** BindingData union. */
|
|
2825
|
+
public union?: (flyteidl.core.IUnionInfo|null);
|
|
2826
|
+
|
|
2699
2827
|
/** BindingData value. */
|
|
2700
2828
|
public value?: ("scalar"|"collection"|"promise"|"map");
|
|
2701
2829
|
|
|
@@ -3290,6 +3418,110 @@ export namespace flyteidl {
|
|
|
3290
3418
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
3291
3419
|
}
|
|
3292
3420
|
|
|
3421
|
+
/** Properties of an UnionType. */
|
|
3422
|
+
interface IUnionType {
|
|
3423
|
+
|
|
3424
|
+
/** UnionType variants */
|
|
3425
|
+
variants?: (flyteidl.core.ILiteralType[]|null);
|
|
3426
|
+
}
|
|
3427
|
+
|
|
3428
|
+
/** Represents an UnionType. */
|
|
3429
|
+
class UnionType implements IUnionType {
|
|
3430
|
+
|
|
3431
|
+
/**
|
|
3432
|
+
* Constructs a new UnionType.
|
|
3433
|
+
* @param [properties] Properties to set
|
|
3434
|
+
*/
|
|
3435
|
+
constructor(properties?: flyteidl.core.IUnionType);
|
|
3436
|
+
|
|
3437
|
+
/** UnionType variants. */
|
|
3438
|
+
public variants: flyteidl.core.ILiteralType[];
|
|
3439
|
+
|
|
3440
|
+
/**
|
|
3441
|
+
* Creates a new UnionType instance using the specified properties.
|
|
3442
|
+
* @param [properties] Properties to set
|
|
3443
|
+
* @returns UnionType instance
|
|
3444
|
+
*/
|
|
3445
|
+
public static create(properties?: flyteidl.core.IUnionType): flyteidl.core.UnionType;
|
|
3446
|
+
|
|
3447
|
+
/**
|
|
3448
|
+
* Encodes the specified UnionType message. Does not implicitly {@link flyteidl.core.UnionType.verify|verify} messages.
|
|
3449
|
+
* @param message UnionType message or plain object to encode
|
|
3450
|
+
* @param [writer] Writer to encode to
|
|
3451
|
+
* @returns Writer
|
|
3452
|
+
*/
|
|
3453
|
+
public static encode(message: flyteidl.core.IUnionType, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3454
|
+
|
|
3455
|
+
/**
|
|
3456
|
+
* Decodes an UnionType message from the specified reader or buffer.
|
|
3457
|
+
* @param reader Reader or buffer to decode from
|
|
3458
|
+
* @param [length] Message length if known beforehand
|
|
3459
|
+
* @returns UnionType
|
|
3460
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3461
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3462
|
+
*/
|
|
3463
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.UnionType;
|
|
3464
|
+
|
|
3465
|
+
/**
|
|
3466
|
+
* Verifies an UnionType message.
|
|
3467
|
+
* @param message Plain object to verify
|
|
3468
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3469
|
+
*/
|
|
3470
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3471
|
+
}
|
|
3472
|
+
|
|
3473
|
+
/** Properties of a TypeStructure. */
|
|
3474
|
+
interface ITypeStructure {
|
|
3475
|
+
|
|
3476
|
+
/** TypeStructure tag */
|
|
3477
|
+
tag?: (string|null);
|
|
3478
|
+
}
|
|
3479
|
+
|
|
3480
|
+
/** Represents a TypeStructure. */
|
|
3481
|
+
class TypeStructure implements ITypeStructure {
|
|
3482
|
+
|
|
3483
|
+
/**
|
|
3484
|
+
* Constructs a new TypeStructure.
|
|
3485
|
+
* @param [properties] Properties to set
|
|
3486
|
+
*/
|
|
3487
|
+
constructor(properties?: flyteidl.core.ITypeStructure);
|
|
3488
|
+
|
|
3489
|
+
/** TypeStructure tag. */
|
|
3490
|
+
public tag: string;
|
|
3491
|
+
|
|
3492
|
+
/**
|
|
3493
|
+
* Creates a new TypeStructure instance using the specified properties.
|
|
3494
|
+
* @param [properties] Properties to set
|
|
3495
|
+
* @returns TypeStructure instance
|
|
3496
|
+
*/
|
|
3497
|
+
public static create(properties?: flyteidl.core.ITypeStructure): flyteidl.core.TypeStructure;
|
|
3498
|
+
|
|
3499
|
+
/**
|
|
3500
|
+
* Encodes the specified TypeStructure message. Does not implicitly {@link flyteidl.core.TypeStructure.verify|verify} messages.
|
|
3501
|
+
* @param message TypeStructure message or plain object to encode
|
|
3502
|
+
* @param [writer] Writer to encode to
|
|
3503
|
+
* @returns Writer
|
|
3504
|
+
*/
|
|
3505
|
+
public static encode(message: flyteidl.core.ITypeStructure, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3506
|
+
|
|
3507
|
+
/**
|
|
3508
|
+
* Decodes a TypeStructure message from the specified reader or buffer.
|
|
3509
|
+
* @param reader Reader or buffer to decode from
|
|
3510
|
+
* @param [length] Message length if known beforehand
|
|
3511
|
+
* @returns TypeStructure
|
|
3512
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3513
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3514
|
+
*/
|
|
3515
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.TypeStructure;
|
|
3516
|
+
|
|
3517
|
+
/**
|
|
3518
|
+
* Verifies a TypeStructure message.
|
|
3519
|
+
* @param message Plain object to verify
|
|
3520
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3521
|
+
*/
|
|
3522
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3523
|
+
}
|
|
3524
|
+
|
|
3293
3525
|
/** Properties of a TypeAnnotation. */
|
|
3294
3526
|
interface ITypeAnnotation {
|
|
3295
3527
|
|
|
@@ -3366,11 +3598,17 @@ export namespace flyteidl {
|
|
|
3366
3598
|
/** LiteralType structuredDatasetType */
|
|
3367
3599
|
structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null);
|
|
3368
3600
|
|
|
3601
|
+
/** LiteralType unionType */
|
|
3602
|
+
unionType?: (flyteidl.core.IUnionType|null);
|
|
3603
|
+
|
|
3369
3604
|
/** LiteralType metadata */
|
|
3370
3605
|
metadata?: (google.protobuf.IStruct|null);
|
|
3371
3606
|
|
|
3372
3607
|
/** LiteralType annotation */
|
|
3373
3608
|
annotation?: (flyteidl.core.ITypeAnnotation|null);
|
|
3609
|
+
|
|
3610
|
+
/** LiteralType structure */
|
|
3611
|
+
structure?: (flyteidl.core.ITypeStructure|null);
|
|
3374
3612
|
}
|
|
3375
3613
|
|
|
3376
3614
|
/** Represents a LiteralType. */
|
|
@@ -3403,14 +3641,20 @@ export namespace flyteidl {
|
|
|
3403
3641
|
/** LiteralType structuredDatasetType. */
|
|
3404
3642
|
public structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null);
|
|
3405
3643
|
|
|
3644
|
+
/** LiteralType unionType. */
|
|
3645
|
+
public unionType?: (flyteidl.core.IUnionType|null);
|
|
3646
|
+
|
|
3406
3647
|
/** LiteralType metadata. */
|
|
3407
3648
|
public metadata?: (google.protobuf.IStruct|null);
|
|
3408
3649
|
|
|
3409
3650
|
/** LiteralType annotation. */
|
|
3410
3651
|
public annotation?: (flyteidl.core.ITypeAnnotation|null);
|
|
3411
3652
|
|
|
3653
|
+
/** LiteralType structure. */
|
|
3654
|
+
public structure?: (flyteidl.core.ITypeStructure|null);
|
|
3655
|
+
|
|
3412
3656
|
/** LiteralType type. */
|
|
3413
|
-
public type?: ("simple"|"schema"|"collectionType"|"mapValueType"|"blob"|"enumType"|"structuredDatasetType");
|
|
3657
|
+
public type?: ("simple"|"schema"|"collectionType"|"mapValueType"|"blob"|"enumType"|"structuredDatasetType"|"unionType");
|
|
3414
3658
|
|
|
3415
3659
|
/**
|
|
3416
3660
|
* Creates a new LiteralType instance using the specified properties.
|
|
@@ -9478,6 +9722,9 @@ export namespace flyteidl {
|
|
|
9478
9722
|
|
|
9479
9723
|
/** ExecutionSpec maxParallelism */
|
|
9480
9724
|
maxParallelism?: (number|null);
|
|
9725
|
+
|
|
9726
|
+
/** ExecutionSpec rawOutputDataConfig */
|
|
9727
|
+
rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null);
|
|
9481
9728
|
}
|
|
9482
9729
|
|
|
9483
9730
|
/** Represents an ExecutionSpec. */
|
|
@@ -9522,6 +9769,9 @@ export namespace flyteidl {
|
|
|
9522
9769
|
/** ExecutionSpec maxParallelism. */
|
|
9523
9770
|
public maxParallelism: number;
|
|
9524
9771
|
|
|
9772
|
+
/** ExecutionSpec rawOutputDataConfig. */
|
|
9773
|
+
public rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null);
|
|
9774
|
+
|
|
9525
9775
|
/** ExecutionSpec notificationOverrides. */
|
|
9526
9776
|
public notificationOverrides?: ("notifications"|"disableAll");
|
|
9527
9777
|
|