@flyteorg/flyteidl 1.10.7 → 1.11.0-b1
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 +684 -35
- package/gen/pb-js/flyteidl.js +1637 -120
- package/package.json +1 -1
- package/protos/flyteidl/admin/agent.proto +94 -17
- package/protos/flyteidl/admin/execution.proto +3 -0
- package/protos/flyteidl/cacheservice/cacheservice.proto +143 -0
- package/protos/flyteidl/core/artifact_id.proto +27 -5
- package/protos/flyteidl/core/workflow.proto +6 -0
- package/protos/flyteidl/service/admin.proto +0 -191
- package/protos/flyteidl/service/agent.proto +42 -8
- package/protos/flyteidl/service/signal.proto +0 -7
package/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -16,6 +16,9 @@ export namespace flyteidl {
|
|
|
16
16
|
|
|
17
17
|
/** ArtifactKey name */
|
|
18
18
|
name?: (string|null);
|
|
19
|
+
|
|
20
|
+
/** ArtifactKey org */
|
|
21
|
+
org?: (string|null);
|
|
19
22
|
}
|
|
20
23
|
|
|
21
24
|
/** Represents an ArtifactKey. */
|
|
@@ -36,6 +39,9 @@ export namespace flyteidl {
|
|
|
36
39
|
/** ArtifactKey name. */
|
|
37
40
|
public name: string;
|
|
38
41
|
|
|
42
|
+
/** ArtifactKey org. */
|
|
43
|
+
public org: string;
|
|
44
|
+
|
|
39
45
|
/**
|
|
40
46
|
* Creates a new ArtifactKey instance using the specified properties.
|
|
41
47
|
* @param [properties] Properties to set
|
|
@@ -72,17 +78,14 @@ export namespace flyteidl {
|
|
|
72
78
|
/** Properties of an ArtifactBindingData. */
|
|
73
79
|
interface IArtifactBindingData {
|
|
74
80
|
|
|
75
|
-
/** ArtifactBindingData index */
|
|
76
|
-
index?: (number|null);
|
|
77
|
-
|
|
78
81
|
/** ArtifactBindingData partitionKey */
|
|
79
82
|
partitionKey?: (string|null);
|
|
80
83
|
|
|
81
84
|
/** ArtifactBindingData bindToTimePartition */
|
|
82
85
|
bindToTimePartition?: (boolean|null);
|
|
83
86
|
|
|
84
|
-
/** ArtifactBindingData
|
|
85
|
-
|
|
87
|
+
/** ArtifactBindingData timeTransform */
|
|
88
|
+
timeTransform?: (flyteidl.core.ITimeTransform|null);
|
|
86
89
|
}
|
|
87
90
|
|
|
88
91
|
/** Represents an ArtifactBindingData. */
|
|
@@ -94,17 +97,14 @@ export namespace flyteidl {
|
|
|
94
97
|
*/
|
|
95
98
|
constructor(properties?: flyteidl.core.IArtifactBindingData);
|
|
96
99
|
|
|
97
|
-
/** ArtifactBindingData index. */
|
|
98
|
-
public index: number;
|
|
99
|
-
|
|
100
100
|
/** ArtifactBindingData partitionKey. */
|
|
101
101
|
public partitionKey: string;
|
|
102
102
|
|
|
103
103
|
/** ArtifactBindingData bindToTimePartition. */
|
|
104
104
|
public bindToTimePartition: boolean;
|
|
105
105
|
|
|
106
|
-
/** ArtifactBindingData
|
|
107
|
-
public
|
|
106
|
+
/** ArtifactBindingData timeTransform. */
|
|
107
|
+
public timeTransform?: (flyteidl.core.ITimeTransform|null);
|
|
108
108
|
|
|
109
109
|
/** ArtifactBindingData partitionData. */
|
|
110
110
|
public partitionData?: ("partitionKey"|"bindToTimePartition");
|
|
@@ -142,6 +142,79 @@ export namespace flyteidl {
|
|
|
142
142
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
+
/** Granularity enum. */
|
|
146
|
+
enum Granularity {
|
|
147
|
+
UNSET = 0,
|
|
148
|
+
MINUTE = 1,
|
|
149
|
+
HOUR = 2,
|
|
150
|
+
DAY = 3,
|
|
151
|
+
MONTH = 4
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/** Operator enum. */
|
|
155
|
+
enum Operator {
|
|
156
|
+
MINUS = 0,
|
|
157
|
+
PLUS = 1
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/** Properties of a TimeTransform. */
|
|
161
|
+
interface ITimeTransform {
|
|
162
|
+
|
|
163
|
+
/** TimeTransform transform */
|
|
164
|
+
transform?: (string|null);
|
|
165
|
+
|
|
166
|
+
/** TimeTransform op */
|
|
167
|
+
op?: (flyteidl.core.Operator|null);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/** Represents a TimeTransform. */
|
|
171
|
+
class TimeTransform implements ITimeTransform {
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Constructs a new TimeTransform.
|
|
175
|
+
* @param [properties] Properties to set
|
|
176
|
+
*/
|
|
177
|
+
constructor(properties?: flyteidl.core.ITimeTransform);
|
|
178
|
+
|
|
179
|
+
/** TimeTransform transform. */
|
|
180
|
+
public transform: string;
|
|
181
|
+
|
|
182
|
+
/** TimeTransform op. */
|
|
183
|
+
public op: flyteidl.core.Operator;
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Creates a new TimeTransform instance using the specified properties.
|
|
187
|
+
* @param [properties] Properties to set
|
|
188
|
+
* @returns TimeTransform instance
|
|
189
|
+
*/
|
|
190
|
+
public static create(properties?: flyteidl.core.ITimeTransform): flyteidl.core.TimeTransform;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Encodes the specified TimeTransform message. Does not implicitly {@link flyteidl.core.TimeTransform.verify|verify} messages.
|
|
194
|
+
* @param message TimeTransform message or plain object to encode
|
|
195
|
+
* @param [writer] Writer to encode to
|
|
196
|
+
* @returns Writer
|
|
197
|
+
*/
|
|
198
|
+
public static encode(message: flyteidl.core.ITimeTransform, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Decodes a TimeTransform message from the specified reader or buffer.
|
|
202
|
+
* @param reader Reader or buffer to decode from
|
|
203
|
+
* @param [length] Message length if known beforehand
|
|
204
|
+
* @returns TimeTransform
|
|
205
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
206
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
207
|
+
*/
|
|
208
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.TimeTransform;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Verifies a TimeTransform message.
|
|
212
|
+
* @param message Plain object to verify
|
|
213
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
214
|
+
*/
|
|
215
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
216
|
+
}
|
|
217
|
+
|
|
145
218
|
/** Properties of an InputBindingData. */
|
|
146
219
|
interface IInputBindingData {
|
|
147
220
|
|
|
@@ -194,6 +267,52 @@ export namespace flyteidl {
|
|
|
194
267
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
195
268
|
}
|
|
196
269
|
|
|
270
|
+
/** Properties of a RuntimeBinding. */
|
|
271
|
+
interface IRuntimeBinding {
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/** Represents a RuntimeBinding. */
|
|
275
|
+
class RuntimeBinding implements IRuntimeBinding {
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Constructs a new RuntimeBinding.
|
|
279
|
+
* @param [properties] Properties to set
|
|
280
|
+
*/
|
|
281
|
+
constructor(properties?: flyteidl.core.IRuntimeBinding);
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Creates a new RuntimeBinding instance using the specified properties.
|
|
285
|
+
* @param [properties] Properties to set
|
|
286
|
+
* @returns RuntimeBinding instance
|
|
287
|
+
*/
|
|
288
|
+
public static create(properties?: flyteidl.core.IRuntimeBinding): flyteidl.core.RuntimeBinding;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Encodes the specified RuntimeBinding message. Does not implicitly {@link flyteidl.core.RuntimeBinding.verify|verify} messages.
|
|
292
|
+
* @param message RuntimeBinding message or plain object to encode
|
|
293
|
+
* @param [writer] Writer to encode to
|
|
294
|
+
* @returns Writer
|
|
295
|
+
*/
|
|
296
|
+
public static encode(message: flyteidl.core.IRuntimeBinding, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Decodes a RuntimeBinding message from the specified reader or buffer.
|
|
300
|
+
* @param reader Reader or buffer to decode from
|
|
301
|
+
* @param [length] Message length if known beforehand
|
|
302
|
+
* @returns RuntimeBinding
|
|
303
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
304
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
305
|
+
*/
|
|
306
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.RuntimeBinding;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Verifies a RuntimeBinding message.
|
|
310
|
+
* @param message Plain object to verify
|
|
311
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
312
|
+
*/
|
|
313
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
314
|
+
}
|
|
315
|
+
|
|
197
316
|
/** Properties of a LabelValue. */
|
|
198
317
|
interface ILabelValue {
|
|
199
318
|
|
|
@@ -208,6 +327,9 @@ export namespace flyteidl {
|
|
|
208
327
|
|
|
209
328
|
/** LabelValue inputBinding */
|
|
210
329
|
inputBinding?: (flyteidl.core.IInputBindingData|null);
|
|
330
|
+
|
|
331
|
+
/** LabelValue runtimeBinding */
|
|
332
|
+
runtimeBinding?: (flyteidl.core.IRuntimeBinding|null);
|
|
211
333
|
}
|
|
212
334
|
|
|
213
335
|
/** Represents a LabelValue. */
|
|
@@ -231,8 +353,11 @@ export namespace flyteidl {
|
|
|
231
353
|
/** LabelValue inputBinding. */
|
|
232
354
|
public inputBinding?: (flyteidl.core.IInputBindingData|null);
|
|
233
355
|
|
|
356
|
+
/** LabelValue runtimeBinding. */
|
|
357
|
+
public runtimeBinding?: (flyteidl.core.IRuntimeBinding|null);
|
|
358
|
+
|
|
234
359
|
/** LabelValue value. */
|
|
235
|
-
public value?: ("staticValue"|"timeValue"|"triggeredBinding"|"inputBinding");
|
|
360
|
+
public value?: ("staticValue"|"timeValue"|"triggeredBinding"|"inputBinding"|"runtimeBinding");
|
|
236
361
|
|
|
237
362
|
/**
|
|
238
363
|
* Creates a new LabelValue instance using the specified properties.
|
|
@@ -324,6 +449,9 @@ export namespace flyteidl {
|
|
|
324
449
|
|
|
325
450
|
/** TimePartition value */
|
|
326
451
|
value?: (flyteidl.core.ILabelValue|null);
|
|
452
|
+
|
|
453
|
+
/** TimePartition granularity */
|
|
454
|
+
granularity?: (flyteidl.core.Granularity|null);
|
|
327
455
|
}
|
|
328
456
|
|
|
329
457
|
/** Represents a TimePartition. */
|
|
@@ -338,6 +466,9 @@ export namespace flyteidl {
|
|
|
338
466
|
/** TimePartition value. */
|
|
339
467
|
public value?: (flyteidl.core.ILabelValue|null);
|
|
340
468
|
|
|
469
|
+
/** TimePartition granularity. */
|
|
470
|
+
public granularity: flyteidl.core.Granularity;
|
|
471
|
+
|
|
341
472
|
/**
|
|
342
473
|
* Creates a new TimePartition instance using the specified properties.
|
|
343
474
|
* @param [properties] Properties to set
|
|
@@ -4929,6 +5060,9 @@ export namespace flyteidl {
|
|
|
4929
5060
|
|
|
4930
5061
|
/** TaskNodeOverrides extendedResources */
|
|
4931
5062
|
extendedResources?: (flyteidl.core.IExtendedResources|null);
|
|
5063
|
+
|
|
5064
|
+
/** TaskNodeOverrides containerImage */
|
|
5065
|
+
containerImage?: (string|null);
|
|
4932
5066
|
}
|
|
4933
5067
|
|
|
4934
5068
|
/** Represents a TaskNodeOverrides. */
|
|
@@ -4946,6 +5080,9 @@ export namespace flyteidl {
|
|
|
4946
5080
|
/** TaskNodeOverrides extendedResources. */
|
|
4947
5081
|
public extendedResources?: (flyteidl.core.IExtendedResources|null);
|
|
4948
5082
|
|
|
5083
|
+
/** TaskNodeOverrides containerImage. */
|
|
5084
|
+
public containerImage: string;
|
|
5085
|
+
|
|
4949
5086
|
/**
|
|
4950
5087
|
* Creates a new TaskNodeOverrides instance using the specified properties.
|
|
4951
5088
|
* @param [properties] Properties to set
|
|
@@ -4987,6 +5124,9 @@ export namespace flyteidl {
|
|
|
4987
5124
|
|
|
4988
5125
|
/** LaunchPlanTemplate interface */
|
|
4989
5126
|
"interface"?: (flyteidl.core.ITypedInterface|null);
|
|
5127
|
+
|
|
5128
|
+
/** LaunchPlanTemplate fixedInputs */
|
|
5129
|
+
fixedInputs?: (flyteidl.core.ILiteralMap|null);
|
|
4990
5130
|
}
|
|
4991
5131
|
|
|
4992
5132
|
/** Represents a LaunchPlanTemplate. */
|
|
@@ -5004,6 +5144,9 @@ export namespace flyteidl {
|
|
|
5004
5144
|
/** LaunchPlanTemplate interface. */
|
|
5005
5145
|
public interface?: (flyteidl.core.ITypedInterface|null);
|
|
5006
5146
|
|
|
5147
|
+
/** LaunchPlanTemplate fixedInputs. */
|
|
5148
|
+
public fixedInputs?: (flyteidl.core.ILiteralMap|null);
|
|
5149
|
+
|
|
5007
5150
|
/**
|
|
5008
5151
|
* Creates a new LaunchPlanTemplate instance using the specified properties.
|
|
5009
5152
|
* @param [properties] Properties to set
|
|
@@ -9000,6 +9143,18 @@ export namespace flyteidl {
|
|
|
9000
9143
|
|
|
9001
9144
|
/** TaskExecutionMetadata environmentVariables */
|
|
9002
9145
|
environmentVariables?: ({ [k: string]: string }|null);
|
|
9146
|
+
|
|
9147
|
+
/** TaskExecutionMetadata maxAttempts */
|
|
9148
|
+
maxAttempts?: (number|null);
|
|
9149
|
+
|
|
9150
|
+
/** TaskExecutionMetadata interruptible */
|
|
9151
|
+
interruptible?: (boolean|null);
|
|
9152
|
+
|
|
9153
|
+
/** TaskExecutionMetadata interruptibleFailureThreshold */
|
|
9154
|
+
interruptibleFailureThreshold?: (number|null);
|
|
9155
|
+
|
|
9156
|
+
/** TaskExecutionMetadata overrides */
|
|
9157
|
+
overrides?: (flyteidl.core.ITaskNodeOverrides|null);
|
|
9003
9158
|
}
|
|
9004
9159
|
|
|
9005
9160
|
/** Represents a TaskExecutionMetadata. */
|
|
@@ -9029,6 +9184,18 @@ export namespace flyteidl {
|
|
|
9029
9184
|
/** TaskExecutionMetadata environmentVariables. */
|
|
9030
9185
|
public environmentVariables: { [k: string]: string };
|
|
9031
9186
|
|
|
9187
|
+
/** TaskExecutionMetadata maxAttempts. */
|
|
9188
|
+
public maxAttempts: number;
|
|
9189
|
+
|
|
9190
|
+
/** TaskExecutionMetadata interruptible. */
|
|
9191
|
+
public interruptible: boolean;
|
|
9192
|
+
|
|
9193
|
+
/** TaskExecutionMetadata interruptibleFailureThreshold. */
|
|
9194
|
+
public interruptibleFailureThreshold: number;
|
|
9195
|
+
|
|
9196
|
+
/** TaskExecutionMetadata overrides. */
|
|
9197
|
+
public overrides?: (flyteidl.core.ITaskNodeOverrides|null);
|
|
9198
|
+
|
|
9032
9199
|
/**
|
|
9033
9200
|
* Creates a new TaskExecutionMetadata instance using the specified properties.
|
|
9034
9201
|
* @param [properties] Properties to set
|
|
@@ -9137,9 +9304,6 @@ export namespace flyteidl {
|
|
|
9137
9304
|
|
|
9138
9305
|
/** CreateTaskResponse resourceMeta */
|
|
9139
9306
|
resourceMeta?: (Uint8Array|null);
|
|
9140
|
-
|
|
9141
|
-
/** CreateTaskResponse resource */
|
|
9142
|
-
resource?: (flyteidl.admin.IResource|null);
|
|
9143
9307
|
}
|
|
9144
9308
|
|
|
9145
9309
|
/** Represents a CreateTaskResponse. */
|
|
@@ -9154,12 +9318,6 @@ export namespace flyteidl {
|
|
|
9154
9318
|
/** CreateTaskResponse resourceMeta. */
|
|
9155
9319
|
public resourceMeta: Uint8Array;
|
|
9156
9320
|
|
|
9157
|
-
/** CreateTaskResponse resource. */
|
|
9158
|
-
public resource?: (flyteidl.admin.IResource|null);
|
|
9159
|
-
|
|
9160
|
-
/** CreateTaskResponse res. */
|
|
9161
|
-
public res?: ("resourceMeta"|"resource");
|
|
9162
|
-
|
|
9163
9321
|
/**
|
|
9164
9322
|
* Creates a new CreateTaskResponse instance using the specified properties.
|
|
9165
9323
|
* @param [properties] Properties to set
|
|
@@ -9193,6 +9351,250 @@ export namespace flyteidl {
|
|
|
9193
9351
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
9194
9352
|
}
|
|
9195
9353
|
|
|
9354
|
+
/** Properties of a CreateRequestHeader. */
|
|
9355
|
+
interface ICreateRequestHeader {
|
|
9356
|
+
|
|
9357
|
+
/** CreateRequestHeader template */
|
|
9358
|
+
template?: (flyteidl.core.ITaskTemplate|null);
|
|
9359
|
+
|
|
9360
|
+
/** CreateRequestHeader outputPrefix */
|
|
9361
|
+
outputPrefix?: (string|null);
|
|
9362
|
+
|
|
9363
|
+
/** CreateRequestHeader taskExecutionMetadata */
|
|
9364
|
+
taskExecutionMetadata?: (flyteidl.admin.ITaskExecutionMetadata|null);
|
|
9365
|
+
|
|
9366
|
+
/** CreateRequestHeader maxDatasetSizeBytes */
|
|
9367
|
+
maxDatasetSizeBytes?: (Long|null);
|
|
9368
|
+
}
|
|
9369
|
+
|
|
9370
|
+
/** Represents a CreateRequestHeader. */
|
|
9371
|
+
class CreateRequestHeader implements ICreateRequestHeader {
|
|
9372
|
+
|
|
9373
|
+
/**
|
|
9374
|
+
* Constructs a new CreateRequestHeader.
|
|
9375
|
+
* @param [properties] Properties to set
|
|
9376
|
+
*/
|
|
9377
|
+
constructor(properties?: flyteidl.admin.ICreateRequestHeader);
|
|
9378
|
+
|
|
9379
|
+
/** CreateRequestHeader template. */
|
|
9380
|
+
public template?: (flyteidl.core.ITaskTemplate|null);
|
|
9381
|
+
|
|
9382
|
+
/** CreateRequestHeader outputPrefix. */
|
|
9383
|
+
public outputPrefix: string;
|
|
9384
|
+
|
|
9385
|
+
/** CreateRequestHeader taskExecutionMetadata. */
|
|
9386
|
+
public taskExecutionMetadata?: (flyteidl.admin.ITaskExecutionMetadata|null);
|
|
9387
|
+
|
|
9388
|
+
/** CreateRequestHeader maxDatasetSizeBytes. */
|
|
9389
|
+
public maxDatasetSizeBytes: Long;
|
|
9390
|
+
|
|
9391
|
+
/**
|
|
9392
|
+
* Creates a new CreateRequestHeader instance using the specified properties.
|
|
9393
|
+
* @param [properties] Properties to set
|
|
9394
|
+
* @returns CreateRequestHeader instance
|
|
9395
|
+
*/
|
|
9396
|
+
public static create(properties?: flyteidl.admin.ICreateRequestHeader): flyteidl.admin.CreateRequestHeader;
|
|
9397
|
+
|
|
9398
|
+
/**
|
|
9399
|
+
* Encodes the specified CreateRequestHeader message. Does not implicitly {@link flyteidl.admin.CreateRequestHeader.verify|verify} messages.
|
|
9400
|
+
* @param message CreateRequestHeader message or plain object to encode
|
|
9401
|
+
* @param [writer] Writer to encode to
|
|
9402
|
+
* @returns Writer
|
|
9403
|
+
*/
|
|
9404
|
+
public static encode(message: flyteidl.admin.ICreateRequestHeader, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9405
|
+
|
|
9406
|
+
/**
|
|
9407
|
+
* Decodes a CreateRequestHeader message from the specified reader or buffer.
|
|
9408
|
+
* @param reader Reader or buffer to decode from
|
|
9409
|
+
* @param [length] Message length if known beforehand
|
|
9410
|
+
* @returns CreateRequestHeader
|
|
9411
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9412
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9413
|
+
*/
|
|
9414
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.CreateRequestHeader;
|
|
9415
|
+
|
|
9416
|
+
/**
|
|
9417
|
+
* Verifies a CreateRequestHeader message.
|
|
9418
|
+
* @param message Plain object to verify
|
|
9419
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9420
|
+
*/
|
|
9421
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9422
|
+
}
|
|
9423
|
+
|
|
9424
|
+
/** Properties of an ExecuteTaskSyncRequest. */
|
|
9425
|
+
interface IExecuteTaskSyncRequest {
|
|
9426
|
+
|
|
9427
|
+
/** ExecuteTaskSyncRequest header */
|
|
9428
|
+
header?: (flyteidl.admin.ICreateRequestHeader|null);
|
|
9429
|
+
|
|
9430
|
+
/** ExecuteTaskSyncRequest inputs */
|
|
9431
|
+
inputs?: (flyteidl.core.ILiteralMap|null);
|
|
9432
|
+
}
|
|
9433
|
+
|
|
9434
|
+
/** Represents an ExecuteTaskSyncRequest. */
|
|
9435
|
+
class ExecuteTaskSyncRequest implements IExecuteTaskSyncRequest {
|
|
9436
|
+
|
|
9437
|
+
/**
|
|
9438
|
+
* Constructs a new ExecuteTaskSyncRequest.
|
|
9439
|
+
* @param [properties] Properties to set
|
|
9440
|
+
*/
|
|
9441
|
+
constructor(properties?: flyteidl.admin.IExecuteTaskSyncRequest);
|
|
9442
|
+
|
|
9443
|
+
/** ExecuteTaskSyncRequest header. */
|
|
9444
|
+
public header?: (flyteidl.admin.ICreateRequestHeader|null);
|
|
9445
|
+
|
|
9446
|
+
/** ExecuteTaskSyncRequest inputs. */
|
|
9447
|
+
public inputs?: (flyteidl.core.ILiteralMap|null);
|
|
9448
|
+
|
|
9449
|
+
/** ExecuteTaskSyncRequest part. */
|
|
9450
|
+
public part?: ("header"|"inputs");
|
|
9451
|
+
|
|
9452
|
+
/**
|
|
9453
|
+
* Creates a new ExecuteTaskSyncRequest instance using the specified properties.
|
|
9454
|
+
* @param [properties] Properties to set
|
|
9455
|
+
* @returns ExecuteTaskSyncRequest instance
|
|
9456
|
+
*/
|
|
9457
|
+
public static create(properties?: flyteidl.admin.IExecuteTaskSyncRequest): flyteidl.admin.ExecuteTaskSyncRequest;
|
|
9458
|
+
|
|
9459
|
+
/**
|
|
9460
|
+
* Encodes the specified ExecuteTaskSyncRequest message. Does not implicitly {@link flyteidl.admin.ExecuteTaskSyncRequest.verify|verify} messages.
|
|
9461
|
+
* @param message ExecuteTaskSyncRequest message or plain object to encode
|
|
9462
|
+
* @param [writer] Writer to encode to
|
|
9463
|
+
* @returns Writer
|
|
9464
|
+
*/
|
|
9465
|
+
public static encode(message: flyteidl.admin.IExecuteTaskSyncRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9466
|
+
|
|
9467
|
+
/**
|
|
9468
|
+
* Decodes an ExecuteTaskSyncRequest message from the specified reader or buffer.
|
|
9469
|
+
* @param reader Reader or buffer to decode from
|
|
9470
|
+
* @param [length] Message length if known beforehand
|
|
9471
|
+
* @returns ExecuteTaskSyncRequest
|
|
9472
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9473
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9474
|
+
*/
|
|
9475
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecuteTaskSyncRequest;
|
|
9476
|
+
|
|
9477
|
+
/**
|
|
9478
|
+
* Verifies an ExecuteTaskSyncRequest message.
|
|
9479
|
+
* @param message Plain object to verify
|
|
9480
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9481
|
+
*/
|
|
9482
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9483
|
+
}
|
|
9484
|
+
|
|
9485
|
+
/** Properties of an ExecuteTaskSyncResponseHeader. */
|
|
9486
|
+
interface IExecuteTaskSyncResponseHeader {
|
|
9487
|
+
|
|
9488
|
+
/** ExecuteTaskSyncResponseHeader resource */
|
|
9489
|
+
resource?: (flyteidl.admin.IResource|null);
|
|
9490
|
+
}
|
|
9491
|
+
|
|
9492
|
+
/** Represents an ExecuteTaskSyncResponseHeader. */
|
|
9493
|
+
class ExecuteTaskSyncResponseHeader implements IExecuteTaskSyncResponseHeader {
|
|
9494
|
+
|
|
9495
|
+
/**
|
|
9496
|
+
* Constructs a new ExecuteTaskSyncResponseHeader.
|
|
9497
|
+
* @param [properties] Properties to set
|
|
9498
|
+
*/
|
|
9499
|
+
constructor(properties?: flyteidl.admin.IExecuteTaskSyncResponseHeader);
|
|
9500
|
+
|
|
9501
|
+
/** ExecuteTaskSyncResponseHeader resource. */
|
|
9502
|
+
public resource?: (flyteidl.admin.IResource|null);
|
|
9503
|
+
|
|
9504
|
+
/**
|
|
9505
|
+
* Creates a new ExecuteTaskSyncResponseHeader instance using the specified properties.
|
|
9506
|
+
* @param [properties] Properties to set
|
|
9507
|
+
* @returns ExecuteTaskSyncResponseHeader instance
|
|
9508
|
+
*/
|
|
9509
|
+
public static create(properties?: flyteidl.admin.IExecuteTaskSyncResponseHeader): flyteidl.admin.ExecuteTaskSyncResponseHeader;
|
|
9510
|
+
|
|
9511
|
+
/**
|
|
9512
|
+
* Encodes the specified ExecuteTaskSyncResponseHeader message. Does not implicitly {@link flyteidl.admin.ExecuteTaskSyncResponseHeader.verify|verify} messages.
|
|
9513
|
+
* @param message ExecuteTaskSyncResponseHeader message or plain object to encode
|
|
9514
|
+
* @param [writer] Writer to encode to
|
|
9515
|
+
* @returns Writer
|
|
9516
|
+
*/
|
|
9517
|
+
public static encode(message: flyteidl.admin.IExecuteTaskSyncResponseHeader, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9518
|
+
|
|
9519
|
+
/**
|
|
9520
|
+
* Decodes an ExecuteTaskSyncResponseHeader message from the specified reader or buffer.
|
|
9521
|
+
* @param reader Reader or buffer to decode from
|
|
9522
|
+
* @param [length] Message length if known beforehand
|
|
9523
|
+
* @returns ExecuteTaskSyncResponseHeader
|
|
9524
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9525
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9526
|
+
*/
|
|
9527
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecuteTaskSyncResponseHeader;
|
|
9528
|
+
|
|
9529
|
+
/**
|
|
9530
|
+
* Verifies an ExecuteTaskSyncResponseHeader message.
|
|
9531
|
+
* @param message Plain object to verify
|
|
9532
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9533
|
+
*/
|
|
9534
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9535
|
+
}
|
|
9536
|
+
|
|
9537
|
+
/** Properties of an ExecuteTaskSyncResponse. */
|
|
9538
|
+
interface IExecuteTaskSyncResponse {
|
|
9539
|
+
|
|
9540
|
+
/** ExecuteTaskSyncResponse header */
|
|
9541
|
+
header?: (flyteidl.admin.IExecuteTaskSyncResponseHeader|null);
|
|
9542
|
+
|
|
9543
|
+
/** ExecuteTaskSyncResponse outputs */
|
|
9544
|
+
outputs?: (flyteidl.core.ILiteralMap|null);
|
|
9545
|
+
}
|
|
9546
|
+
|
|
9547
|
+
/** Represents an ExecuteTaskSyncResponse. */
|
|
9548
|
+
class ExecuteTaskSyncResponse implements IExecuteTaskSyncResponse {
|
|
9549
|
+
|
|
9550
|
+
/**
|
|
9551
|
+
* Constructs a new ExecuteTaskSyncResponse.
|
|
9552
|
+
* @param [properties] Properties to set
|
|
9553
|
+
*/
|
|
9554
|
+
constructor(properties?: flyteidl.admin.IExecuteTaskSyncResponse);
|
|
9555
|
+
|
|
9556
|
+
/** ExecuteTaskSyncResponse header. */
|
|
9557
|
+
public header?: (flyteidl.admin.IExecuteTaskSyncResponseHeader|null);
|
|
9558
|
+
|
|
9559
|
+
/** ExecuteTaskSyncResponse outputs. */
|
|
9560
|
+
public outputs?: (flyteidl.core.ILiteralMap|null);
|
|
9561
|
+
|
|
9562
|
+
/** ExecuteTaskSyncResponse res. */
|
|
9563
|
+
public res?: ("header"|"outputs");
|
|
9564
|
+
|
|
9565
|
+
/**
|
|
9566
|
+
* Creates a new ExecuteTaskSyncResponse instance using the specified properties.
|
|
9567
|
+
* @param [properties] Properties to set
|
|
9568
|
+
* @returns ExecuteTaskSyncResponse instance
|
|
9569
|
+
*/
|
|
9570
|
+
public static create(properties?: flyteidl.admin.IExecuteTaskSyncResponse): flyteidl.admin.ExecuteTaskSyncResponse;
|
|
9571
|
+
|
|
9572
|
+
/**
|
|
9573
|
+
* Encodes the specified ExecuteTaskSyncResponse message. Does not implicitly {@link flyteidl.admin.ExecuteTaskSyncResponse.verify|verify} messages.
|
|
9574
|
+
* @param message ExecuteTaskSyncResponse message or plain object to encode
|
|
9575
|
+
* @param [writer] Writer to encode to
|
|
9576
|
+
* @returns Writer
|
|
9577
|
+
*/
|
|
9578
|
+
public static encode(message: flyteidl.admin.IExecuteTaskSyncResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9579
|
+
|
|
9580
|
+
/**
|
|
9581
|
+
* Decodes an ExecuteTaskSyncResponse message from the specified reader or buffer.
|
|
9582
|
+
* @param reader Reader or buffer to decode from
|
|
9583
|
+
* @param [length] Message length if known beforehand
|
|
9584
|
+
* @returns ExecuteTaskSyncResponse
|
|
9585
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9586
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9587
|
+
*/
|
|
9588
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecuteTaskSyncResponse;
|
|
9589
|
+
|
|
9590
|
+
/**
|
|
9591
|
+
* Verifies an ExecuteTaskSyncResponse message.
|
|
9592
|
+
* @param message Plain object to verify
|
|
9593
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9594
|
+
*/
|
|
9595
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9596
|
+
}
|
|
9597
|
+
|
|
9196
9598
|
/** Properties of a GetTaskRequest. */
|
|
9197
9599
|
interface IGetTaskRequest {
|
|
9198
9600
|
|
|
@@ -9201,6 +9603,9 @@ export namespace flyteidl {
|
|
|
9201
9603
|
|
|
9202
9604
|
/** GetTaskRequest resourceMeta */
|
|
9203
9605
|
resourceMeta?: (Uint8Array|null);
|
|
9606
|
+
|
|
9607
|
+
/** GetTaskRequest taskCategory */
|
|
9608
|
+
taskCategory?: (flyteidl.admin.ITaskCategory|null);
|
|
9204
9609
|
}
|
|
9205
9610
|
|
|
9206
9611
|
/** Represents a GetTaskRequest. */
|
|
@@ -9218,6 +9623,9 @@ export namespace flyteidl {
|
|
|
9218
9623
|
/** GetTaskRequest resourceMeta. */
|
|
9219
9624
|
public resourceMeta: Uint8Array;
|
|
9220
9625
|
|
|
9626
|
+
/** GetTaskRequest taskCategory. */
|
|
9627
|
+
public taskCategory?: (flyteidl.admin.ITaskCategory|null);
|
|
9628
|
+
|
|
9221
9629
|
/**
|
|
9222
9630
|
* Creates a new GetTaskRequest instance using the specified properties.
|
|
9223
9631
|
* @param [properties] Properties to set
|
|
@@ -9256,9 +9664,6 @@ export namespace flyteidl {
|
|
|
9256
9664
|
|
|
9257
9665
|
/** GetTaskResponse resource */
|
|
9258
9666
|
resource?: (flyteidl.admin.IResource|null);
|
|
9259
|
-
|
|
9260
|
-
/** GetTaskResponse logLinks */
|
|
9261
|
-
logLinks?: (flyteidl.core.ITaskLog[]|null);
|
|
9262
9667
|
}
|
|
9263
9668
|
|
|
9264
9669
|
/** Represents a GetTaskResponse. */
|
|
@@ -9273,9 +9678,6 @@ export namespace flyteidl {
|
|
|
9273
9678
|
/** GetTaskResponse resource. */
|
|
9274
9679
|
public resource?: (flyteidl.admin.IResource|null);
|
|
9275
9680
|
|
|
9276
|
-
/** GetTaskResponse logLinks. */
|
|
9277
|
-
public logLinks: flyteidl.core.ITaskLog[];
|
|
9278
|
-
|
|
9279
9681
|
/**
|
|
9280
9682
|
* Creates a new GetTaskResponse instance using the specified properties.
|
|
9281
9683
|
* @param [properties] Properties to set
|
|
@@ -9326,6 +9728,9 @@ export namespace flyteidl {
|
|
|
9326
9728
|
|
|
9327
9729
|
/** Resource phase */
|
|
9328
9730
|
phase?: (flyteidl.core.TaskExecution.Phase|null);
|
|
9731
|
+
|
|
9732
|
+
/** Resource customInfo */
|
|
9733
|
+
customInfo?: (google.protobuf.IStruct|null);
|
|
9329
9734
|
}
|
|
9330
9735
|
|
|
9331
9736
|
/** Represents a Resource. */
|
|
@@ -9352,6 +9757,9 @@ export namespace flyteidl {
|
|
|
9352
9757
|
/** Resource phase. */
|
|
9353
9758
|
public phase: flyteidl.core.TaskExecution.Phase;
|
|
9354
9759
|
|
|
9760
|
+
/** Resource customInfo. */
|
|
9761
|
+
public customInfo?: (google.protobuf.IStruct|null);
|
|
9762
|
+
|
|
9355
9763
|
/**
|
|
9356
9764
|
* Creates a new Resource instance using the specified properties.
|
|
9357
9765
|
* @param [properties] Properties to set
|
|
@@ -9393,6 +9801,9 @@ export namespace flyteidl {
|
|
|
9393
9801
|
|
|
9394
9802
|
/** DeleteTaskRequest resourceMeta */
|
|
9395
9803
|
resourceMeta?: (Uint8Array|null);
|
|
9804
|
+
|
|
9805
|
+
/** DeleteTaskRequest taskCategory */
|
|
9806
|
+
taskCategory?: (flyteidl.admin.ITaskCategory|null);
|
|
9396
9807
|
}
|
|
9397
9808
|
|
|
9398
9809
|
/** Represents a DeleteTaskRequest. */
|
|
@@ -9410,6 +9821,9 @@ export namespace flyteidl {
|
|
|
9410
9821
|
/** DeleteTaskRequest resourceMeta. */
|
|
9411
9822
|
public resourceMeta: Uint8Array;
|
|
9412
9823
|
|
|
9824
|
+
/** DeleteTaskRequest taskCategory. */
|
|
9825
|
+
public taskCategory?: (flyteidl.admin.ITaskCategory|null);
|
|
9826
|
+
|
|
9413
9827
|
/**
|
|
9414
9828
|
* Creates a new DeleteTaskRequest instance using the specified properties.
|
|
9415
9829
|
* @param [properties] Properties to set
|
|
@@ -9497,6 +9911,12 @@ export namespace flyteidl {
|
|
|
9497
9911
|
|
|
9498
9912
|
/** Agent supportedTaskTypes */
|
|
9499
9913
|
supportedTaskTypes?: (string[]|null);
|
|
9914
|
+
|
|
9915
|
+
/** Agent isSync */
|
|
9916
|
+
isSync?: (boolean|null);
|
|
9917
|
+
|
|
9918
|
+
/** Agent supportedTaskCategories */
|
|
9919
|
+
supportedTaskCategories?: (flyteidl.admin.ITaskCategory[]|null);
|
|
9500
9920
|
}
|
|
9501
9921
|
|
|
9502
9922
|
/** Represents an Agent. */
|
|
@@ -9514,6 +9934,12 @@ export namespace flyteidl {
|
|
|
9514
9934
|
/** Agent supportedTaskTypes. */
|
|
9515
9935
|
public supportedTaskTypes: string[];
|
|
9516
9936
|
|
|
9937
|
+
/** Agent isSync. */
|
|
9938
|
+
public isSync: boolean;
|
|
9939
|
+
|
|
9940
|
+
/** Agent supportedTaskCategories. */
|
|
9941
|
+
public supportedTaskCategories: flyteidl.admin.ITaskCategory[];
|
|
9942
|
+
|
|
9517
9943
|
/**
|
|
9518
9944
|
* Creates a new Agent instance using the specified properties.
|
|
9519
9945
|
* @param [properties] Properties to set
|
|
@@ -9547,6 +9973,64 @@ export namespace flyteidl {
|
|
|
9547
9973
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
9548
9974
|
}
|
|
9549
9975
|
|
|
9976
|
+
/** Properties of a TaskCategory. */
|
|
9977
|
+
interface ITaskCategory {
|
|
9978
|
+
|
|
9979
|
+
/** TaskCategory name */
|
|
9980
|
+
name?: (string|null);
|
|
9981
|
+
|
|
9982
|
+
/** TaskCategory version */
|
|
9983
|
+
version?: (number|null);
|
|
9984
|
+
}
|
|
9985
|
+
|
|
9986
|
+
/** Represents a TaskCategory. */
|
|
9987
|
+
class TaskCategory implements ITaskCategory {
|
|
9988
|
+
|
|
9989
|
+
/**
|
|
9990
|
+
* Constructs a new TaskCategory.
|
|
9991
|
+
* @param [properties] Properties to set
|
|
9992
|
+
*/
|
|
9993
|
+
constructor(properties?: flyteidl.admin.ITaskCategory);
|
|
9994
|
+
|
|
9995
|
+
/** TaskCategory name. */
|
|
9996
|
+
public name: string;
|
|
9997
|
+
|
|
9998
|
+
/** TaskCategory version. */
|
|
9999
|
+
public version: number;
|
|
10000
|
+
|
|
10001
|
+
/**
|
|
10002
|
+
* Creates a new TaskCategory instance using the specified properties.
|
|
10003
|
+
* @param [properties] Properties to set
|
|
10004
|
+
* @returns TaskCategory instance
|
|
10005
|
+
*/
|
|
10006
|
+
public static create(properties?: flyteidl.admin.ITaskCategory): flyteidl.admin.TaskCategory;
|
|
10007
|
+
|
|
10008
|
+
/**
|
|
10009
|
+
* Encodes the specified TaskCategory message. Does not implicitly {@link flyteidl.admin.TaskCategory.verify|verify} messages.
|
|
10010
|
+
* @param message TaskCategory message or plain object to encode
|
|
10011
|
+
* @param [writer] Writer to encode to
|
|
10012
|
+
* @returns Writer
|
|
10013
|
+
*/
|
|
10014
|
+
public static encode(message: flyteidl.admin.ITaskCategory, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10015
|
+
|
|
10016
|
+
/**
|
|
10017
|
+
* Decodes a TaskCategory message from the specified reader or buffer.
|
|
10018
|
+
* @param reader Reader or buffer to decode from
|
|
10019
|
+
* @param [length] Message length if known beforehand
|
|
10020
|
+
* @returns TaskCategory
|
|
10021
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10022
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10023
|
+
*/
|
|
10024
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskCategory;
|
|
10025
|
+
|
|
10026
|
+
/**
|
|
10027
|
+
* Verifies a TaskCategory message.
|
|
10028
|
+
* @param message Plain object to verify
|
|
10029
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
10030
|
+
*/
|
|
10031
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
10032
|
+
}
|
|
10033
|
+
|
|
9550
10034
|
/** Properties of a GetAgentRequest. */
|
|
9551
10035
|
interface IGetAgentRequest {
|
|
9552
10036
|
|
|
@@ -9769,6 +10253,9 @@ export namespace flyteidl {
|
|
|
9769
10253
|
|
|
9770
10254
|
/** GetTaskMetricsRequest step */
|
|
9771
10255
|
step?: (google.protobuf.IDuration|null);
|
|
10256
|
+
|
|
10257
|
+
/** GetTaskMetricsRequest taskCategory */
|
|
10258
|
+
taskCategory?: (flyteidl.admin.ITaskCategory|null);
|
|
9772
10259
|
}
|
|
9773
10260
|
|
|
9774
10261
|
/** Represents a GetTaskMetricsRequest. */
|
|
@@ -9798,6 +10285,9 @@ export namespace flyteidl {
|
|
|
9798
10285
|
/** GetTaskMetricsRequest step. */
|
|
9799
10286
|
public step?: (google.protobuf.IDuration|null);
|
|
9800
10287
|
|
|
10288
|
+
/** GetTaskMetricsRequest taskCategory. */
|
|
10289
|
+
public taskCategory?: (flyteidl.admin.ITaskCategory|null);
|
|
10290
|
+
|
|
9801
10291
|
/**
|
|
9802
10292
|
* Creates a new GetTaskMetricsRequest instance using the specified properties.
|
|
9803
10293
|
* @param [properties] Properties to set
|
|
@@ -9897,6 +10387,9 @@ export namespace flyteidl {
|
|
|
9897
10387
|
|
|
9898
10388
|
/** GetTaskLogsRequest token */
|
|
9899
10389
|
token?: (string|null);
|
|
10390
|
+
|
|
10391
|
+
/** GetTaskLogsRequest taskCategory */
|
|
10392
|
+
taskCategory?: (flyteidl.admin.ITaskCategory|null);
|
|
9900
10393
|
}
|
|
9901
10394
|
|
|
9902
10395
|
/** Represents a GetTaskLogsRequest. */
|
|
@@ -9920,6 +10413,9 @@ export namespace flyteidl {
|
|
|
9920
10413
|
/** GetTaskLogsRequest token. */
|
|
9921
10414
|
public token: string;
|
|
9922
10415
|
|
|
10416
|
+
/** GetTaskLogsRequest taskCategory. */
|
|
10417
|
+
public taskCategory?: (flyteidl.admin.ITaskCategory|null);
|
|
10418
|
+
|
|
9923
10419
|
/**
|
|
9924
10420
|
* Creates a new GetTaskLogsRequest instance using the specified properties.
|
|
9925
10421
|
* @param [properties] Properties to set
|
|
@@ -9953,14 +10449,118 @@ export namespace flyteidl {
|
|
|
9953
10449
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
9954
10450
|
}
|
|
9955
10451
|
|
|
10452
|
+
/** Properties of a GetTaskLogsResponseHeader. */
|
|
10453
|
+
interface IGetTaskLogsResponseHeader {
|
|
10454
|
+
|
|
10455
|
+
/** GetTaskLogsResponseHeader token */
|
|
10456
|
+
token?: (string|null);
|
|
10457
|
+
}
|
|
10458
|
+
|
|
10459
|
+
/** Represents a GetTaskLogsResponseHeader. */
|
|
10460
|
+
class GetTaskLogsResponseHeader implements IGetTaskLogsResponseHeader {
|
|
10461
|
+
|
|
10462
|
+
/**
|
|
10463
|
+
* Constructs a new GetTaskLogsResponseHeader.
|
|
10464
|
+
* @param [properties] Properties to set
|
|
10465
|
+
*/
|
|
10466
|
+
constructor(properties?: flyteidl.admin.IGetTaskLogsResponseHeader);
|
|
10467
|
+
|
|
10468
|
+
/** GetTaskLogsResponseHeader token. */
|
|
10469
|
+
public token: string;
|
|
10470
|
+
|
|
10471
|
+
/**
|
|
10472
|
+
* Creates a new GetTaskLogsResponseHeader instance using the specified properties.
|
|
10473
|
+
* @param [properties] Properties to set
|
|
10474
|
+
* @returns GetTaskLogsResponseHeader instance
|
|
10475
|
+
*/
|
|
10476
|
+
public static create(properties?: flyteidl.admin.IGetTaskLogsResponseHeader): flyteidl.admin.GetTaskLogsResponseHeader;
|
|
10477
|
+
|
|
10478
|
+
/**
|
|
10479
|
+
* Encodes the specified GetTaskLogsResponseHeader message. Does not implicitly {@link flyteidl.admin.GetTaskLogsResponseHeader.verify|verify} messages.
|
|
10480
|
+
* @param message GetTaskLogsResponseHeader message or plain object to encode
|
|
10481
|
+
* @param [writer] Writer to encode to
|
|
10482
|
+
* @returns Writer
|
|
10483
|
+
*/
|
|
10484
|
+
public static encode(message: flyteidl.admin.IGetTaskLogsResponseHeader, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10485
|
+
|
|
10486
|
+
/**
|
|
10487
|
+
* Decodes a GetTaskLogsResponseHeader message from the specified reader or buffer.
|
|
10488
|
+
* @param reader Reader or buffer to decode from
|
|
10489
|
+
* @param [length] Message length if known beforehand
|
|
10490
|
+
* @returns GetTaskLogsResponseHeader
|
|
10491
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10492
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10493
|
+
*/
|
|
10494
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskLogsResponseHeader;
|
|
10495
|
+
|
|
10496
|
+
/**
|
|
10497
|
+
* Verifies a GetTaskLogsResponseHeader message.
|
|
10498
|
+
* @param message Plain object to verify
|
|
10499
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
10500
|
+
*/
|
|
10501
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
10502
|
+
}
|
|
10503
|
+
|
|
10504
|
+
/** Properties of a GetTaskLogsResponseBody. */
|
|
10505
|
+
interface IGetTaskLogsResponseBody {
|
|
10506
|
+
|
|
10507
|
+
/** GetTaskLogsResponseBody results */
|
|
10508
|
+
results?: (string[]|null);
|
|
10509
|
+
}
|
|
10510
|
+
|
|
10511
|
+
/** Represents a GetTaskLogsResponseBody. */
|
|
10512
|
+
class GetTaskLogsResponseBody implements IGetTaskLogsResponseBody {
|
|
10513
|
+
|
|
10514
|
+
/**
|
|
10515
|
+
* Constructs a new GetTaskLogsResponseBody.
|
|
10516
|
+
* @param [properties] Properties to set
|
|
10517
|
+
*/
|
|
10518
|
+
constructor(properties?: flyteidl.admin.IGetTaskLogsResponseBody);
|
|
10519
|
+
|
|
10520
|
+
/** GetTaskLogsResponseBody results. */
|
|
10521
|
+
public results: string[];
|
|
10522
|
+
|
|
10523
|
+
/**
|
|
10524
|
+
* Creates a new GetTaskLogsResponseBody instance using the specified properties.
|
|
10525
|
+
* @param [properties] Properties to set
|
|
10526
|
+
* @returns GetTaskLogsResponseBody instance
|
|
10527
|
+
*/
|
|
10528
|
+
public static create(properties?: flyteidl.admin.IGetTaskLogsResponseBody): flyteidl.admin.GetTaskLogsResponseBody;
|
|
10529
|
+
|
|
10530
|
+
/**
|
|
10531
|
+
* Encodes the specified GetTaskLogsResponseBody message. Does not implicitly {@link flyteidl.admin.GetTaskLogsResponseBody.verify|verify} messages.
|
|
10532
|
+
* @param message GetTaskLogsResponseBody message or plain object to encode
|
|
10533
|
+
* @param [writer] Writer to encode to
|
|
10534
|
+
* @returns Writer
|
|
10535
|
+
*/
|
|
10536
|
+
public static encode(message: flyteidl.admin.IGetTaskLogsResponseBody, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10537
|
+
|
|
10538
|
+
/**
|
|
10539
|
+
* Decodes a GetTaskLogsResponseBody message from the specified reader or buffer.
|
|
10540
|
+
* @param reader Reader or buffer to decode from
|
|
10541
|
+
* @param [length] Message length if known beforehand
|
|
10542
|
+
* @returns GetTaskLogsResponseBody
|
|
10543
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10544
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10545
|
+
*/
|
|
10546
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskLogsResponseBody;
|
|
10547
|
+
|
|
10548
|
+
/**
|
|
10549
|
+
* Verifies a GetTaskLogsResponseBody message.
|
|
10550
|
+
* @param message Plain object to verify
|
|
10551
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
10552
|
+
*/
|
|
10553
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
10554
|
+
}
|
|
10555
|
+
|
|
9956
10556
|
/** Properties of a GetTaskLogsResponse. */
|
|
9957
10557
|
interface IGetTaskLogsResponse {
|
|
9958
10558
|
|
|
9959
|
-
/** GetTaskLogsResponse
|
|
9960
|
-
|
|
10559
|
+
/** GetTaskLogsResponse header */
|
|
10560
|
+
header?: (flyteidl.admin.IGetTaskLogsResponseHeader|null);
|
|
9961
10561
|
|
|
9962
|
-
/** GetTaskLogsResponse
|
|
9963
|
-
|
|
10562
|
+
/** GetTaskLogsResponse body */
|
|
10563
|
+
body?: (flyteidl.admin.IGetTaskLogsResponseBody|null);
|
|
9964
10564
|
}
|
|
9965
10565
|
|
|
9966
10566
|
/** Represents a GetTaskLogsResponse. */
|
|
@@ -9972,11 +10572,14 @@ export namespace flyteidl {
|
|
|
9972
10572
|
*/
|
|
9973
10573
|
constructor(properties?: flyteidl.admin.IGetTaskLogsResponse);
|
|
9974
10574
|
|
|
9975
|
-
/** GetTaskLogsResponse
|
|
9976
|
-
public
|
|
10575
|
+
/** GetTaskLogsResponse header. */
|
|
10576
|
+
public header?: (flyteidl.admin.IGetTaskLogsResponseHeader|null);
|
|
9977
10577
|
|
|
9978
|
-
/** GetTaskLogsResponse
|
|
9979
|
-
public
|
|
10578
|
+
/** GetTaskLogsResponse body. */
|
|
10579
|
+
public body?: (flyteidl.admin.IGetTaskLogsResponseBody|null);
|
|
10580
|
+
|
|
10581
|
+
/** GetTaskLogsResponse part. */
|
|
10582
|
+
public part?: ("header"|"body");
|
|
9980
10583
|
|
|
9981
10584
|
/**
|
|
9982
10585
|
* Creates a new GetTaskLogsResponse instance using the specified properties.
|
|
@@ -13215,7 +13818,8 @@ export namespace flyteidl {
|
|
|
13215
13818
|
SYSTEM = 2,
|
|
13216
13819
|
RELAUNCH = 3,
|
|
13217
13820
|
CHILD_WORKFLOW = 4,
|
|
13218
|
-
RECOVERED = 5
|
|
13821
|
+
RECOVERED = 5,
|
|
13822
|
+
TRIGGER = 6
|
|
13219
13823
|
}
|
|
13220
13824
|
}
|
|
13221
13825
|
|
|
@@ -21546,6 +22150,51 @@ export namespace flyteidl {
|
|
|
21546
22150
|
type GetExecutionMetricsCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowExecutionGetMetricsResponse) => void;
|
|
21547
22151
|
}
|
|
21548
22152
|
|
|
22153
|
+
/** Represents a SyncAgentService */
|
|
22154
|
+
class SyncAgentService extends $protobuf.rpc.Service {
|
|
22155
|
+
|
|
22156
|
+
/**
|
|
22157
|
+
* Constructs a new SyncAgentService service.
|
|
22158
|
+
* @param rpcImpl RPC implementation
|
|
22159
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
22160
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
22161
|
+
*/
|
|
22162
|
+
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
|
|
22163
|
+
|
|
22164
|
+
/**
|
|
22165
|
+
* Creates new SyncAgentService service using the specified rpc implementation.
|
|
22166
|
+
* @param rpcImpl RPC implementation
|
|
22167
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
22168
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
22169
|
+
* @returns RPC service. Useful where requests and/or responses are streamed.
|
|
22170
|
+
*/
|
|
22171
|
+
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): SyncAgentService;
|
|
22172
|
+
|
|
22173
|
+
/**
|
|
22174
|
+
* Calls ExecuteTaskSync.
|
|
22175
|
+
* @param request ExecuteTaskSyncRequest message or plain object
|
|
22176
|
+
* @param callback Node-style callback called with the error, if any, and ExecuteTaskSyncResponse
|
|
22177
|
+
*/
|
|
22178
|
+
public executeTaskSync(request: flyteidl.admin.IExecuteTaskSyncRequest, callback: flyteidl.service.SyncAgentService.ExecuteTaskSyncCallback): void;
|
|
22179
|
+
|
|
22180
|
+
/**
|
|
22181
|
+
* Calls ExecuteTaskSync.
|
|
22182
|
+
* @param request ExecuteTaskSyncRequest message or plain object
|
|
22183
|
+
* @returns Promise
|
|
22184
|
+
*/
|
|
22185
|
+
public executeTaskSync(request: flyteidl.admin.IExecuteTaskSyncRequest): Promise<flyteidl.admin.ExecuteTaskSyncResponse>;
|
|
22186
|
+
}
|
|
22187
|
+
|
|
22188
|
+
namespace SyncAgentService {
|
|
22189
|
+
|
|
22190
|
+
/**
|
|
22191
|
+
* Callback as used by {@link flyteidl.service.SyncAgentService#executeTaskSync}.
|
|
22192
|
+
* @param error Error, if any
|
|
22193
|
+
* @param [response] ExecuteTaskSyncResponse
|
|
22194
|
+
*/
|
|
22195
|
+
type ExecuteTaskSyncCallback = (error: (Error|null), response?: flyteidl.admin.ExecuteTaskSyncResponse) => void;
|
|
22196
|
+
}
|
|
22197
|
+
|
|
21549
22198
|
/** Represents an AsyncAgentService */
|
|
21550
22199
|
class AsyncAgentService extends $protobuf.rpc.Service {
|
|
21551
22200
|
|