@flyteorg/flyteidl 0.23.0 → 0.24.1
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 +246 -2
- package/gen/pb-js/flyteidl.js +582 -4
- package/package.json +1 -1
- package/protos/docs/admin/admin.rst +1 -0
- package/protos/docs/core/core.rst +103 -0
- package/protos/flyteidl/admin/execution.proto +4 -0
- package/protos/flyteidl/core/literals.proto +13 -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.
|
|
@@ -2665,6 +2729,58 @@ export namespace flyteidl {
|
|
|
2665
2729
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
2666
2730
|
}
|
|
2667
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
|
+
|
|
2668
2784
|
/** Properties of a BindingData. */
|
|
2669
2785
|
interface IBindingData {
|
|
2670
2786
|
|
|
@@ -2679,6 +2795,9 @@ export namespace flyteidl {
|
|
|
2679
2795
|
|
|
2680
2796
|
/** BindingData map */
|
|
2681
2797
|
map?: (flyteidl.core.IBindingDataMap|null);
|
|
2798
|
+
|
|
2799
|
+
/** BindingData union */
|
|
2800
|
+
union?: (flyteidl.core.IUnionInfo|null);
|
|
2682
2801
|
}
|
|
2683
2802
|
|
|
2684
2803
|
/** Represents a BindingData. */
|
|
@@ -2702,6 +2821,9 @@ export namespace flyteidl {
|
|
|
2702
2821
|
/** BindingData map. */
|
|
2703
2822
|
public map?: (flyteidl.core.IBindingDataMap|null);
|
|
2704
2823
|
|
|
2824
|
+
/** BindingData union. */
|
|
2825
|
+
public union?: (flyteidl.core.IUnionInfo|null);
|
|
2826
|
+
|
|
2705
2827
|
/** BindingData value. */
|
|
2706
2828
|
public value?: ("scalar"|"collection"|"promise"|"map");
|
|
2707
2829
|
|
|
@@ -3296,6 +3418,110 @@ export namespace flyteidl {
|
|
|
3296
3418
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
3297
3419
|
}
|
|
3298
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
|
+
|
|
3299
3525
|
/** Properties of a TypeAnnotation. */
|
|
3300
3526
|
interface ITypeAnnotation {
|
|
3301
3527
|
|
|
@@ -3372,11 +3598,17 @@ export namespace flyteidl {
|
|
|
3372
3598
|
/** LiteralType structuredDatasetType */
|
|
3373
3599
|
structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null);
|
|
3374
3600
|
|
|
3601
|
+
/** LiteralType unionType */
|
|
3602
|
+
unionType?: (flyteidl.core.IUnionType|null);
|
|
3603
|
+
|
|
3375
3604
|
/** LiteralType metadata */
|
|
3376
3605
|
metadata?: (google.protobuf.IStruct|null);
|
|
3377
3606
|
|
|
3378
3607
|
/** LiteralType annotation */
|
|
3379
3608
|
annotation?: (flyteidl.core.ITypeAnnotation|null);
|
|
3609
|
+
|
|
3610
|
+
/** LiteralType structure */
|
|
3611
|
+
structure?: (flyteidl.core.ITypeStructure|null);
|
|
3380
3612
|
}
|
|
3381
3613
|
|
|
3382
3614
|
/** Represents a LiteralType. */
|
|
@@ -3409,14 +3641,20 @@ export namespace flyteidl {
|
|
|
3409
3641
|
/** LiteralType structuredDatasetType. */
|
|
3410
3642
|
public structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null);
|
|
3411
3643
|
|
|
3644
|
+
/** LiteralType unionType. */
|
|
3645
|
+
public unionType?: (flyteidl.core.IUnionType|null);
|
|
3646
|
+
|
|
3412
3647
|
/** LiteralType metadata. */
|
|
3413
3648
|
public metadata?: (google.protobuf.IStruct|null);
|
|
3414
3649
|
|
|
3415
3650
|
/** LiteralType annotation. */
|
|
3416
3651
|
public annotation?: (flyteidl.core.ITypeAnnotation|null);
|
|
3417
3652
|
|
|
3653
|
+
/** LiteralType structure. */
|
|
3654
|
+
public structure?: (flyteidl.core.ITypeStructure|null);
|
|
3655
|
+
|
|
3418
3656
|
/** LiteralType type. */
|
|
3419
|
-
public type?: ("simple"|"schema"|"collectionType"|"mapValueType"|"blob"|"enumType"|"structuredDatasetType");
|
|
3657
|
+
public type?: ("simple"|"schema"|"collectionType"|"mapValueType"|"blob"|"enumType"|"structuredDatasetType"|"unionType");
|
|
3420
3658
|
|
|
3421
3659
|
/**
|
|
3422
3660
|
* Creates a new LiteralType instance using the specified properties.
|
|
@@ -9484,6 +9722,9 @@ export namespace flyteidl {
|
|
|
9484
9722
|
|
|
9485
9723
|
/** ExecutionSpec maxParallelism */
|
|
9486
9724
|
maxParallelism?: (number|null);
|
|
9725
|
+
|
|
9726
|
+
/** ExecutionSpec rawOutputDataConfig */
|
|
9727
|
+
rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null);
|
|
9487
9728
|
}
|
|
9488
9729
|
|
|
9489
9730
|
/** Represents an ExecutionSpec. */
|
|
@@ -9528,6 +9769,9 @@ export namespace flyteidl {
|
|
|
9528
9769
|
/** ExecutionSpec maxParallelism. */
|
|
9529
9770
|
public maxParallelism: number;
|
|
9530
9771
|
|
|
9772
|
+
/** ExecutionSpec rawOutputDataConfig. */
|
|
9773
|
+
public rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null);
|
|
9774
|
+
|
|
9531
9775
|
/** ExecutionSpec notificationOverrides. */
|
|
9532
9776
|
public notificationOverrides?: ("notifications"|"disableAll");
|
|
9533
9777
|
|