@flyteorg/flyteidl 1.3.12 → 1.3.14
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 +298 -0
- package/gen/pb-js/flyteidl.js +732 -0
- package/package.json +1 -1
- package/protos/flyteidl/admin/common.proto +1 -0
- package/protos/flyteidl/admin/execution.proto +17 -0
- package/protos/flyteidl/admin/node_execution.proto +0 -1
- package/protos/flyteidl/admin/task_execution.proto +13 -0
- package/protos/flyteidl/core/metrics.proto +36 -0
- package/protos/flyteidl/event/event.proto +12 -0
- package/protos/flyteidl/service/admin.proto +11 -0
package/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -6375,6 +6375,97 @@ export namespace flyteidl {
|
|
|
6375
6375
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
6376
6376
|
}
|
|
6377
6377
|
|
|
6378
|
+
/** Properties of a Span. */
|
|
6379
|
+
interface ISpan {
|
|
6380
|
+
|
|
6381
|
+
/** Span startTime */
|
|
6382
|
+
startTime?: (google.protobuf.ITimestamp|null);
|
|
6383
|
+
|
|
6384
|
+
/** Span endTime */
|
|
6385
|
+
endTime?: (google.protobuf.ITimestamp|null);
|
|
6386
|
+
|
|
6387
|
+
/** Span workflowId */
|
|
6388
|
+
workflowId?: (flyteidl.core.IWorkflowExecutionIdentifier|null);
|
|
6389
|
+
|
|
6390
|
+
/** Span nodeId */
|
|
6391
|
+
nodeId?: (flyteidl.core.INodeExecutionIdentifier|null);
|
|
6392
|
+
|
|
6393
|
+
/** Span taskId */
|
|
6394
|
+
taskId?: (flyteidl.core.ITaskExecutionIdentifier|null);
|
|
6395
|
+
|
|
6396
|
+
/** Span operationId */
|
|
6397
|
+
operationId?: (string|null);
|
|
6398
|
+
|
|
6399
|
+
/** Span spans */
|
|
6400
|
+
spans?: (flyteidl.core.ISpan[]|null);
|
|
6401
|
+
}
|
|
6402
|
+
|
|
6403
|
+
/** Represents a Span. */
|
|
6404
|
+
class Span implements ISpan {
|
|
6405
|
+
|
|
6406
|
+
/**
|
|
6407
|
+
* Constructs a new Span.
|
|
6408
|
+
* @param [properties] Properties to set
|
|
6409
|
+
*/
|
|
6410
|
+
constructor(properties?: flyteidl.core.ISpan);
|
|
6411
|
+
|
|
6412
|
+
/** Span startTime. */
|
|
6413
|
+
public startTime?: (google.protobuf.ITimestamp|null);
|
|
6414
|
+
|
|
6415
|
+
/** Span endTime. */
|
|
6416
|
+
public endTime?: (google.protobuf.ITimestamp|null);
|
|
6417
|
+
|
|
6418
|
+
/** Span workflowId. */
|
|
6419
|
+
public workflowId?: (flyteidl.core.IWorkflowExecutionIdentifier|null);
|
|
6420
|
+
|
|
6421
|
+
/** Span nodeId. */
|
|
6422
|
+
public nodeId?: (flyteidl.core.INodeExecutionIdentifier|null);
|
|
6423
|
+
|
|
6424
|
+
/** Span taskId. */
|
|
6425
|
+
public taskId?: (flyteidl.core.ITaskExecutionIdentifier|null);
|
|
6426
|
+
|
|
6427
|
+
/** Span operationId. */
|
|
6428
|
+
public operationId: string;
|
|
6429
|
+
|
|
6430
|
+
/** Span spans. */
|
|
6431
|
+
public spans: flyteidl.core.ISpan[];
|
|
6432
|
+
|
|
6433
|
+
/** Span id. */
|
|
6434
|
+
public id?: ("workflowId"|"nodeId"|"taskId"|"operationId");
|
|
6435
|
+
|
|
6436
|
+
/**
|
|
6437
|
+
* Creates a new Span instance using the specified properties.
|
|
6438
|
+
* @param [properties] Properties to set
|
|
6439
|
+
* @returns Span instance
|
|
6440
|
+
*/
|
|
6441
|
+
public static create(properties?: flyteidl.core.ISpan): flyteidl.core.Span;
|
|
6442
|
+
|
|
6443
|
+
/**
|
|
6444
|
+
* Encodes the specified Span message. Does not implicitly {@link flyteidl.core.Span.verify|verify} messages.
|
|
6445
|
+
* @param message Span message or plain object to encode
|
|
6446
|
+
* @param [writer] Writer to encode to
|
|
6447
|
+
* @returns Writer
|
|
6448
|
+
*/
|
|
6449
|
+
public static encode(message: flyteidl.core.ISpan, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6450
|
+
|
|
6451
|
+
/**
|
|
6452
|
+
* Decodes a Span message from the specified reader or buffer.
|
|
6453
|
+
* @param reader Reader or buffer to decode from
|
|
6454
|
+
* @param [length] Message length if known beforehand
|
|
6455
|
+
* @returns Span
|
|
6456
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6457
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6458
|
+
*/
|
|
6459
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Span;
|
|
6460
|
+
|
|
6461
|
+
/**
|
|
6462
|
+
* Verifies a Span message.
|
|
6463
|
+
* @param message Plain object to verify
|
|
6464
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6465
|
+
*/
|
|
6466
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6467
|
+
}
|
|
6468
|
+
|
|
6378
6469
|
/** Properties of a WorkflowClosure. */
|
|
6379
6470
|
interface IWorkflowClosure {
|
|
6380
6471
|
|
|
@@ -6590,6 +6681,9 @@ export namespace flyteidl {
|
|
|
6590
6681
|
|
|
6591
6682
|
/** NodeExecutionEvent deckUri */
|
|
6592
6683
|
deckUri?: (string|null);
|
|
6684
|
+
|
|
6685
|
+
/** NodeExecutionEvent reportedAt */
|
|
6686
|
+
reportedAt?: (google.protobuf.ITimestamp|null);
|
|
6593
6687
|
}
|
|
6594
6688
|
|
|
6595
6689
|
/** Represents a NodeExecutionEvent. */
|
|
@@ -6661,6 +6755,9 @@ export namespace flyteidl {
|
|
|
6661
6755
|
/** NodeExecutionEvent deckUri. */
|
|
6662
6756
|
public deckUri: string;
|
|
6663
6757
|
|
|
6758
|
+
/** NodeExecutionEvent reportedAt. */
|
|
6759
|
+
public reportedAt?: (google.protobuf.ITimestamp|null);
|
|
6760
|
+
|
|
6664
6761
|
/** NodeExecutionEvent inputValue. */
|
|
6665
6762
|
public inputValue?: ("inputUri"|"inputData");
|
|
6666
6763
|
|
|
@@ -7055,6 +7152,9 @@ export namespace flyteidl {
|
|
|
7055
7152
|
|
|
7056
7153
|
/** TaskExecutionEvent eventVersion */
|
|
7057
7154
|
eventVersion?: (number|null);
|
|
7155
|
+
|
|
7156
|
+
/** TaskExecutionEvent reportedAt */
|
|
7157
|
+
reportedAt?: (google.protobuf.ITimestamp|null);
|
|
7058
7158
|
}
|
|
7059
7159
|
|
|
7060
7160
|
/** Represents a TaskExecutionEvent. */
|
|
@@ -7120,6 +7220,9 @@ export namespace flyteidl {
|
|
|
7120
7220
|
/** TaskExecutionEvent eventVersion. */
|
|
7121
7221
|
public eventVersion: number;
|
|
7122
7222
|
|
|
7223
|
+
/** TaskExecutionEvent reportedAt. */
|
|
7224
|
+
public reportedAt?: (google.protobuf.ITimestamp|null);
|
|
7225
|
+
|
|
7123
7226
|
/** TaskExecutionEvent inputValue. */
|
|
7124
7227
|
public inputValue?: ("inputUri"|"inputData");
|
|
7125
7228
|
|
|
@@ -11035,6 +11138,116 @@ export namespace flyteidl {
|
|
|
11035
11138
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
11036
11139
|
}
|
|
11037
11140
|
|
|
11141
|
+
/** Properties of a WorkflowExecutionGetMetricsRequest. */
|
|
11142
|
+
interface IWorkflowExecutionGetMetricsRequest {
|
|
11143
|
+
|
|
11144
|
+
/** WorkflowExecutionGetMetricsRequest id */
|
|
11145
|
+
id?: (flyteidl.core.IWorkflowExecutionIdentifier|null);
|
|
11146
|
+
|
|
11147
|
+
/** WorkflowExecutionGetMetricsRequest depth */
|
|
11148
|
+
depth?: (number|null);
|
|
11149
|
+
}
|
|
11150
|
+
|
|
11151
|
+
/** Represents a WorkflowExecutionGetMetricsRequest. */
|
|
11152
|
+
class WorkflowExecutionGetMetricsRequest implements IWorkflowExecutionGetMetricsRequest {
|
|
11153
|
+
|
|
11154
|
+
/**
|
|
11155
|
+
* Constructs a new WorkflowExecutionGetMetricsRequest.
|
|
11156
|
+
* @param [properties] Properties to set
|
|
11157
|
+
*/
|
|
11158
|
+
constructor(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsRequest);
|
|
11159
|
+
|
|
11160
|
+
/** WorkflowExecutionGetMetricsRequest id. */
|
|
11161
|
+
public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null);
|
|
11162
|
+
|
|
11163
|
+
/** WorkflowExecutionGetMetricsRequest depth. */
|
|
11164
|
+
public depth: number;
|
|
11165
|
+
|
|
11166
|
+
/**
|
|
11167
|
+
* Creates a new WorkflowExecutionGetMetricsRequest instance using the specified properties.
|
|
11168
|
+
* @param [properties] Properties to set
|
|
11169
|
+
* @returns WorkflowExecutionGetMetricsRequest instance
|
|
11170
|
+
*/
|
|
11171
|
+
public static create(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsRequest): flyteidl.admin.WorkflowExecutionGetMetricsRequest;
|
|
11172
|
+
|
|
11173
|
+
/**
|
|
11174
|
+
* Encodes the specified WorkflowExecutionGetMetricsRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsRequest.verify|verify} messages.
|
|
11175
|
+
* @param message WorkflowExecutionGetMetricsRequest message or plain object to encode
|
|
11176
|
+
* @param [writer] Writer to encode to
|
|
11177
|
+
* @returns Writer
|
|
11178
|
+
*/
|
|
11179
|
+
public static encode(message: flyteidl.admin.IWorkflowExecutionGetMetricsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11180
|
+
|
|
11181
|
+
/**
|
|
11182
|
+
* Decodes a WorkflowExecutionGetMetricsRequest message from the specified reader or buffer.
|
|
11183
|
+
* @param reader Reader or buffer to decode from
|
|
11184
|
+
* @param [length] Message length if known beforehand
|
|
11185
|
+
* @returns WorkflowExecutionGetMetricsRequest
|
|
11186
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11187
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11188
|
+
*/
|
|
11189
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionGetMetricsRequest;
|
|
11190
|
+
|
|
11191
|
+
/**
|
|
11192
|
+
* Verifies a WorkflowExecutionGetMetricsRequest message.
|
|
11193
|
+
* @param message Plain object to verify
|
|
11194
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
11195
|
+
*/
|
|
11196
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
11197
|
+
}
|
|
11198
|
+
|
|
11199
|
+
/** Properties of a WorkflowExecutionGetMetricsResponse. */
|
|
11200
|
+
interface IWorkflowExecutionGetMetricsResponse {
|
|
11201
|
+
|
|
11202
|
+
/** WorkflowExecutionGetMetricsResponse span */
|
|
11203
|
+
span?: (flyteidl.core.ISpan|null);
|
|
11204
|
+
}
|
|
11205
|
+
|
|
11206
|
+
/** Represents a WorkflowExecutionGetMetricsResponse. */
|
|
11207
|
+
class WorkflowExecutionGetMetricsResponse implements IWorkflowExecutionGetMetricsResponse {
|
|
11208
|
+
|
|
11209
|
+
/**
|
|
11210
|
+
* Constructs a new WorkflowExecutionGetMetricsResponse.
|
|
11211
|
+
* @param [properties] Properties to set
|
|
11212
|
+
*/
|
|
11213
|
+
constructor(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsResponse);
|
|
11214
|
+
|
|
11215
|
+
/** WorkflowExecutionGetMetricsResponse span. */
|
|
11216
|
+
public span?: (flyteidl.core.ISpan|null);
|
|
11217
|
+
|
|
11218
|
+
/**
|
|
11219
|
+
* Creates a new WorkflowExecutionGetMetricsResponse instance using the specified properties.
|
|
11220
|
+
* @param [properties] Properties to set
|
|
11221
|
+
* @returns WorkflowExecutionGetMetricsResponse instance
|
|
11222
|
+
*/
|
|
11223
|
+
public static create(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsResponse): flyteidl.admin.WorkflowExecutionGetMetricsResponse;
|
|
11224
|
+
|
|
11225
|
+
/**
|
|
11226
|
+
* Encodes the specified WorkflowExecutionGetMetricsResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsResponse.verify|verify} messages.
|
|
11227
|
+
* @param message WorkflowExecutionGetMetricsResponse message or plain object to encode
|
|
11228
|
+
* @param [writer] Writer to encode to
|
|
11229
|
+
* @returns Writer
|
|
11230
|
+
*/
|
|
11231
|
+
public static encode(message: flyteidl.admin.IWorkflowExecutionGetMetricsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11232
|
+
|
|
11233
|
+
/**
|
|
11234
|
+
* Decodes a WorkflowExecutionGetMetricsResponse message from the specified reader or buffer.
|
|
11235
|
+
* @param reader Reader or buffer to decode from
|
|
11236
|
+
* @param [length] Message length if known beforehand
|
|
11237
|
+
* @returns WorkflowExecutionGetMetricsResponse
|
|
11238
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11239
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11240
|
+
*/
|
|
11241
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionGetMetricsResponse;
|
|
11242
|
+
|
|
11243
|
+
/**
|
|
11244
|
+
* Verifies a WorkflowExecutionGetMetricsResponse message.
|
|
11245
|
+
* @param message Plain object to verify
|
|
11246
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
11247
|
+
*/
|
|
11248
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
11249
|
+
}
|
|
11250
|
+
|
|
11038
11251
|
/** Properties of a LaunchPlanCreateRequest. */
|
|
11039
11252
|
interface ILaunchPlanCreateRequest {
|
|
11040
11253
|
|
|
@@ -15907,6 +16120,9 @@ export namespace flyteidl {
|
|
|
15907
16120
|
|
|
15908
16121
|
/** TaskExecutionClosure eventVersion */
|
|
15909
16122
|
eventVersion?: (number|null);
|
|
16123
|
+
|
|
16124
|
+
/** TaskExecutionClosure reasons */
|
|
16125
|
+
reasons?: (flyteidl.admin.IReason[]|null);
|
|
15910
16126
|
}
|
|
15911
16127
|
|
|
15912
16128
|
/** Represents a TaskExecutionClosure. */
|
|
@@ -15960,6 +16176,9 @@ export namespace flyteidl {
|
|
|
15960
16176
|
/** TaskExecutionClosure eventVersion. */
|
|
15961
16177
|
public eventVersion: number;
|
|
15962
16178
|
|
|
16179
|
+
/** TaskExecutionClosure reasons. */
|
|
16180
|
+
public reasons: flyteidl.admin.IReason[];
|
|
16181
|
+
|
|
15963
16182
|
/** TaskExecutionClosure outputResult. */
|
|
15964
16183
|
public outputResult?: ("outputUri"|"error"|"outputData");
|
|
15965
16184
|
|
|
@@ -15996,6 +16215,64 @@ export namespace flyteidl {
|
|
|
15996
16215
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
15997
16216
|
}
|
|
15998
16217
|
|
|
16218
|
+
/** Properties of a Reason. */
|
|
16219
|
+
interface IReason {
|
|
16220
|
+
|
|
16221
|
+
/** Reason occurredAt */
|
|
16222
|
+
occurredAt?: (google.protobuf.ITimestamp|null);
|
|
16223
|
+
|
|
16224
|
+
/** Reason message */
|
|
16225
|
+
message?: (string|null);
|
|
16226
|
+
}
|
|
16227
|
+
|
|
16228
|
+
/** Represents a Reason. */
|
|
16229
|
+
class Reason implements IReason {
|
|
16230
|
+
|
|
16231
|
+
/**
|
|
16232
|
+
* Constructs a new Reason.
|
|
16233
|
+
* @param [properties] Properties to set
|
|
16234
|
+
*/
|
|
16235
|
+
constructor(properties?: flyteidl.admin.IReason);
|
|
16236
|
+
|
|
16237
|
+
/** Reason occurredAt. */
|
|
16238
|
+
public occurredAt?: (google.protobuf.ITimestamp|null);
|
|
16239
|
+
|
|
16240
|
+
/** Reason message. */
|
|
16241
|
+
public message: string;
|
|
16242
|
+
|
|
16243
|
+
/**
|
|
16244
|
+
* Creates a new Reason instance using the specified properties.
|
|
16245
|
+
* @param [properties] Properties to set
|
|
16246
|
+
* @returns Reason instance
|
|
16247
|
+
*/
|
|
16248
|
+
public static create(properties?: flyteidl.admin.IReason): flyteidl.admin.Reason;
|
|
16249
|
+
|
|
16250
|
+
/**
|
|
16251
|
+
* Encodes the specified Reason message. Does not implicitly {@link flyteidl.admin.Reason.verify|verify} messages.
|
|
16252
|
+
* @param message Reason message or plain object to encode
|
|
16253
|
+
* @param [writer] Writer to encode to
|
|
16254
|
+
* @returns Writer
|
|
16255
|
+
*/
|
|
16256
|
+
public static encode(message: flyteidl.admin.IReason, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16257
|
+
|
|
16258
|
+
/**
|
|
16259
|
+
* Decodes a Reason message from the specified reader or buffer.
|
|
16260
|
+
* @param reader Reader or buffer to decode from
|
|
16261
|
+
* @param [length] Message length if known beforehand
|
|
16262
|
+
* @returns Reason
|
|
16263
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16264
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16265
|
+
*/
|
|
16266
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Reason;
|
|
16267
|
+
|
|
16268
|
+
/**
|
|
16269
|
+
* Verifies a Reason message.
|
|
16270
|
+
* @param message Plain object to verify
|
|
16271
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
16272
|
+
*/
|
|
16273
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
16274
|
+
}
|
|
16275
|
+
|
|
15999
16276
|
/** Properties of a TaskExecutionGetDataRequest. */
|
|
16000
16277
|
interface ITaskExecutionGetDataRequest {
|
|
16001
16278
|
|
|
@@ -17950,6 +18227,20 @@ export namespace flyteidl {
|
|
|
17950
18227
|
* @returns Promise
|
|
17951
18228
|
*/
|
|
17952
18229
|
public listDescriptionEntities(request: flyteidl.admin.IDescriptionEntityListRequest): Promise<flyteidl.admin.DescriptionEntityList>;
|
|
18230
|
+
|
|
18231
|
+
/**
|
|
18232
|
+
* Calls GetExecutionMetrics.
|
|
18233
|
+
* @param request WorkflowExecutionGetMetricsRequest message or plain object
|
|
18234
|
+
* @param callback Node-style callback called with the error, if any, and WorkflowExecutionGetMetricsResponse
|
|
18235
|
+
*/
|
|
18236
|
+
public getExecutionMetrics(request: flyteidl.admin.IWorkflowExecutionGetMetricsRequest, callback: flyteidl.service.AdminService.GetExecutionMetricsCallback): void;
|
|
18237
|
+
|
|
18238
|
+
/**
|
|
18239
|
+
* Calls GetExecutionMetrics.
|
|
18240
|
+
* @param request WorkflowExecutionGetMetricsRequest message or plain object
|
|
18241
|
+
* @returns Promise
|
|
18242
|
+
*/
|
|
18243
|
+
public getExecutionMetrics(request: flyteidl.admin.IWorkflowExecutionGetMetricsRequest): Promise<flyteidl.admin.WorkflowExecutionGetMetricsResponse>;
|
|
17953
18244
|
}
|
|
17954
18245
|
|
|
17955
18246
|
namespace AdminService {
|
|
@@ -18317,6 +18608,13 @@ export namespace flyteidl {
|
|
|
18317
18608
|
* @param [response] DescriptionEntityList
|
|
18318
18609
|
*/
|
|
18319
18610
|
type ListDescriptionEntitiesCallback = (error: (Error|null), response?: flyteidl.admin.DescriptionEntityList) => void;
|
|
18611
|
+
|
|
18612
|
+
/**
|
|
18613
|
+
* Callback as used by {@link flyteidl.service.AdminService#getExecutionMetrics}.
|
|
18614
|
+
* @param error Error, if any
|
|
18615
|
+
* @param [response] WorkflowExecutionGetMetricsResponse
|
|
18616
|
+
*/
|
|
18617
|
+
type GetExecutionMetricsCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowExecutionGetMetricsResponse) => void;
|
|
18320
18618
|
}
|
|
18321
18619
|
|
|
18322
18620
|
/** Properties of a OAuth2MetadataRequest. */
|