@flyteorg/flyteidl 1.15.3 → 1.16.0-b0
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 +277 -0
- package/gen/pb-js/flyteidl.js +671 -0
- package/package.json +1 -1
- package/protos/flyteidl/admin/task_execution.proto +3 -0
- package/protos/flyteidl/core/execution.proto +32 -0
- package/protos/flyteidl/core/tasks.proto +10 -0
- package/protos/flyteidl/event/event.proto +6 -0
package/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -5960,6 +5960,259 @@ export namespace flyteidl {
|
|
|
5960
5960
|
}
|
|
5961
5961
|
}
|
|
5962
5962
|
|
|
5963
|
+
/** Properties of a LogContext. */
|
|
5964
|
+
interface ILogContext {
|
|
5965
|
+
|
|
5966
|
+
/** LogContext pods */
|
|
5967
|
+
pods?: (flyteidl.core.IPodLogContext[]|null);
|
|
5968
|
+
|
|
5969
|
+
/** LogContext primaryPodName */
|
|
5970
|
+
primaryPodName?: (string|null);
|
|
5971
|
+
}
|
|
5972
|
+
|
|
5973
|
+
/** Represents a LogContext. */
|
|
5974
|
+
class LogContext implements ILogContext {
|
|
5975
|
+
|
|
5976
|
+
/**
|
|
5977
|
+
* Constructs a new LogContext.
|
|
5978
|
+
* @param [properties] Properties to set
|
|
5979
|
+
*/
|
|
5980
|
+
constructor(properties?: flyteidl.core.ILogContext);
|
|
5981
|
+
|
|
5982
|
+
/** LogContext pods. */
|
|
5983
|
+
public pods: flyteidl.core.IPodLogContext[];
|
|
5984
|
+
|
|
5985
|
+
/** LogContext primaryPodName. */
|
|
5986
|
+
public primaryPodName: string;
|
|
5987
|
+
|
|
5988
|
+
/**
|
|
5989
|
+
* Creates a new LogContext instance using the specified properties.
|
|
5990
|
+
* @param [properties] Properties to set
|
|
5991
|
+
* @returns LogContext instance
|
|
5992
|
+
*/
|
|
5993
|
+
public static create(properties?: flyteidl.core.ILogContext): flyteidl.core.LogContext;
|
|
5994
|
+
|
|
5995
|
+
/**
|
|
5996
|
+
* Encodes the specified LogContext message. Does not implicitly {@link flyteidl.core.LogContext.verify|verify} messages.
|
|
5997
|
+
* @param message LogContext message or plain object to encode
|
|
5998
|
+
* @param [writer] Writer to encode to
|
|
5999
|
+
* @returns Writer
|
|
6000
|
+
*/
|
|
6001
|
+
public static encode(message: flyteidl.core.ILogContext, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6002
|
+
|
|
6003
|
+
/**
|
|
6004
|
+
* Decodes a LogContext message from the specified reader or buffer.
|
|
6005
|
+
* @param reader Reader or buffer to decode from
|
|
6006
|
+
* @param [length] Message length if known beforehand
|
|
6007
|
+
* @returns LogContext
|
|
6008
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6009
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6010
|
+
*/
|
|
6011
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.LogContext;
|
|
6012
|
+
|
|
6013
|
+
/**
|
|
6014
|
+
* Verifies a LogContext message.
|
|
6015
|
+
* @param message Plain object to verify
|
|
6016
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6017
|
+
*/
|
|
6018
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6019
|
+
}
|
|
6020
|
+
|
|
6021
|
+
/** Properties of a PodLogContext. */
|
|
6022
|
+
interface IPodLogContext {
|
|
6023
|
+
|
|
6024
|
+
/** PodLogContext namespace */
|
|
6025
|
+
namespace?: (string|null);
|
|
6026
|
+
|
|
6027
|
+
/** PodLogContext podName */
|
|
6028
|
+
podName?: (string|null);
|
|
6029
|
+
|
|
6030
|
+
/** PodLogContext containers */
|
|
6031
|
+
containers?: (flyteidl.core.IContainerContext[]|null);
|
|
6032
|
+
|
|
6033
|
+
/** PodLogContext primaryContainerName */
|
|
6034
|
+
primaryContainerName?: (string|null);
|
|
6035
|
+
|
|
6036
|
+
/** PodLogContext initContainers */
|
|
6037
|
+
initContainers?: (flyteidl.core.IContainerContext[]|null);
|
|
6038
|
+
}
|
|
6039
|
+
|
|
6040
|
+
/** Represents a PodLogContext. */
|
|
6041
|
+
class PodLogContext implements IPodLogContext {
|
|
6042
|
+
|
|
6043
|
+
/**
|
|
6044
|
+
* Constructs a new PodLogContext.
|
|
6045
|
+
* @param [properties] Properties to set
|
|
6046
|
+
*/
|
|
6047
|
+
constructor(properties?: flyteidl.core.IPodLogContext);
|
|
6048
|
+
|
|
6049
|
+
/** PodLogContext namespace. */
|
|
6050
|
+
public namespace: string;
|
|
6051
|
+
|
|
6052
|
+
/** PodLogContext podName. */
|
|
6053
|
+
public podName: string;
|
|
6054
|
+
|
|
6055
|
+
/** PodLogContext containers. */
|
|
6056
|
+
public containers: flyteidl.core.IContainerContext[];
|
|
6057
|
+
|
|
6058
|
+
/** PodLogContext primaryContainerName. */
|
|
6059
|
+
public primaryContainerName: string;
|
|
6060
|
+
|
|
6061
|
+
/** PodLogContext initContainers. */
|
|
6062
|
+
public initContainers: flyteidl.core.IContainerContext[];
|
|
6063
|
+
|
|
6064
|
+
/**
|
|
6065
|
+
* Creates a new PodLogContext instance using the specified properties.
|
|
6066
|
+
* @param [properties] Properties to set
|
|
6067
|
+
* @returns PodLogContext instance
|
|
6068
|
+
*/
|
|
6069
|
+
public static create(properties?: flyteidl.core.IPodLogContext): flyteidl.core.PodLogContext;
|
|
6070
|
+
|
|
6071
|
+
/**
|
|
6072
|
+
* Encodes the specified PodLogContext message. Does not implicitly {@link flyteidl.core.PodLogContext.verify|verify} messages.
|
|
6073
|
+
* @param message PodLogContext message or plain object to encode
|
|
6074
|
+
* @param [writer] Writer to encode to
|
|
6075
|
+
* @returns Writer
|
|
6076
|
+
*/
|
|
6077
|
+
public static encode(message: flyteidl.core.IPodLogContext, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6078
|
+
|
|
6079
|
+
/**
|
|
6080
|
+
* Decodes a PodLogContext message from the specified reader or buffer.
|
|
6081
|
+
* @param reader Reader or buffer to decode from
|
|
6082
|
+
* @param [length] Message length if known beforehand
|
|
6083
|
+
* @returns PodLogContext
|
|
6084
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6085
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6086
|
+
*/
|
|
6087
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.PodLogContext;
|
|
6088
|
+
|
|
6089
|
+
/**
|
|
6090
|
+
* Verifies a PodLogContext message.
|
|
6091
|
+
* @param message Plain object to verify
|
|
6092
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6093
|
+
*/
|
|
6094
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6095
|
+
}
|
|
6096
|
+
|
|
6097
|
+
/** Properties of a ContainerContext. */
|
|
6098
|
+
interface IContainerContext {
|
|
6099
|
+
|
|
6100
|
+
/** ContainerContext containerName */
|
|
6101
|
+
containerName?: (string|null);
|
|
6102
|
+
|
|
6103
|
+
/** ContainerContext process */
|
|
6104
|
+
process?: (flyteidl.core.ContainerContext.IProcessContext|null);
|
|
6105
|
+
}
|
|
6106
|
+
|
|
6107
|
+
/** Represents a ContainerContext. */
|
|
6108
|
+
class ContainerContext implements IContainerContext {
|
|
6109
|
+
|
|
6110
|
+
/**
|
|
6111
|
+
* Constructs a new ContainerContext.
|
|
6112
|
+
* @param [properties] Properties to set
|
|
6113
|
+
*/
|
|
6114
|
+
constructor(properties?: flyteidl.core.IContainerContext);
|
|
6115
|
+
|
|
6116
|
+
/** ContainerContext containerName. */
|
|
6117
|
+
public containerName: string;
|
|
6118
|
+
|
|
6119
|
+
/** ContainerContext process. */
|
|
6120
|
+
public process?: (flyteidl.core.ContainerContext.IProcessContext|null);
|
|
6121
|
+
|
|
6122
|
+
/**
|
|
6123
|
+
* Creates a new ContainerContext instance using the specified properties.
|
|
6124
|
+
* @param [properties] Properties to set
|
|
6125
|
+
* @returns ContainerContext instance
|
|
6126
|
+
*/
|
|
6127
|
+
public static create(properties?: flyteidl.core.IContainerContext): flyteidl.core.ContainerContext;
|
|
6128
|
+
|
|
6129
|
+
/**
|
|
6130
|
+
* Encodes the specified ContainerContext message. Does not implicitly {@link flyteidl.core.ContainerContext.verify|verify} messages.
|
|
6131
|
+
* @param message ContainerContext message or plain object to encode
|
|
6132
|
+
* @param [writer] Writer to encode to
|
|
6133
|
+
* @returns Writer
|
|
6134
|
+
*/
|
|
6135
|
+
public static encode(message: flyteidl.core.IContainerContext, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6136
|
+
|
|
6137
|
+
/**
|
|
6138
|
+
* Decodes a ContainerContext message from the specified reader or buffer.
|
|
6139
|
+
* @param reader Reader or buffer to decode from
|
|
6140
|
+
* @param [length] Message length if known beforehand
|
|
6141
|
+
* @returns ContainerContext
|
|
6142
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6143
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6144
|
+
*/
|
|
6145
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ContainerContext;
|
|
6146
|
+
|
|
6147
|
+
/**
|
|
6148
|
+
* Verifies a ContainerContext message.
|
|
6149
|
+
* @param message Plain object to verify
|
|
6150
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6151
|
+
*/
|
|
6152
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6153
|
+
}
|
|
6154
|
+
|
|
6155
|
+
namespace ContainerContext {
|
|
6156
|
+
|
|
6157
|
+
/** Properties of a ProcessContext. */
|
|
6158
|
+
interface IProcessContext {
|
|
6159
|
+
|
|
6160
|
+
/** ProcessContext containerStartTime */
|
|
6161
|
+
containerStartTime?: (google.protobuf.ITimestamp|null);
|
|
6162
|
+
|
|
6163
|
+
/** ProcessContext containerEndTime */
|
|
6164
|
+
containerEndTime?: (google.protobuf.ITimestamp|null);
|
|
6165
|
+
}
|
|
6166
|
+
|
|
6167
|
+
/** Represents a ProcessContext. */
|
|
6168
|
+
class ProcessContext implements IProcessContext {
|
|
6169
|
+
|
|
6170
|
+
/**
|
|
6171
|
+
* Constructs a new ProcessContext.
|
|
6172
|
+
* @param [properties] Properties to set
|
|
6173
|
+
*/
|
|
6174
|
+
constructor(properties?: flyteidl.core.ContainerContext.IProcessContext);
|
|
6175
|
+
|
|
6176
|
+
/** ProcessContext containerStartTime. */
|
|
6177
|
+
public containerStartTime?: (google.protobuf.ITimestamp|null);
|
|
6178
|
+
|
|
6179
|
+
/** ProcessContext containerEndTime. */
|
|
6180
|
+
public containerEndTime?: (google.protobuf.ITimestamp|null);
|
|
6181
|
+
|
|
6182
|
+
/**
|
|
6183
|
+
* Creates a new ProcessContext instance using the specified properties.
|
|
6184
|
+
* @param [properties] Properties to set
|
|
6185
|
+
* @returns ProcessContext instance
|
|
6186
|
+
*/
|
|
6187
|
+
public static create(properties?: flyteidl.core.ContainerContext.IProcessContext): flyteidl.core.ContainerContext.ProcessContext;
|
|
6188
|
+
|
|
6189
|
+
/**
|
|
6190
|
+
* Encodes the specified ProcessContext message. Does not implicitly {@link flyteidl.core.ContainerContext.ProcessContext.verify|verify} messages.
|
|
6191
|
+
* @param message ProcessContext message or plain object to encode
|
|
6192
|
+
* @param [writer] Writer to encode to
|
|
6193
|
+
* @returns Writer
|
|
6194
|
+
*/
|
|
6195
|
+
public static encode(message: flyteidl.core.ContainerContext.IProcessContext, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6196
|
+
|
|
6197
|
+
/**
|
|
6198
|
+
* Decodes a ProcessContext message from the specified reader or buffer.
|
|
6199
|
+
* @param reader Reader or buffer to decode from
|
|
6200
|
+
* @param [length] Message length if known beforehand
|
|
6201
|
+
* @returns ProcessContext
|
|
6202
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6203
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6204
|
+
*/
|
|
6205
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ContainerContext.ProcessContext;
|
|
6206
|
+
|
|
6207
|
+
/**
|
|
6208
|
+
* Verifies a ProcessContext message.
|
|
6209
|
+
* @param message Plain object to verify
|
|
6210
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6211
|
+
*/
|
|
6212
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6213
|
+
}
|
|
6214
|
+
}
|
|
6215
|
+
|
|
5963
6216
|
/** Properties of a QualityOfServiceSpec. */
|
|
5964
6217
|
interface IQualityOfServiceSpec {
|
|
5965
6218
|
|
|
@@ -6516,6 +6769,9 @@ export namespace flyteidl {
|
|
|
6516
6769
|
|
|
6517
6770
|
/** TaskMetadata generatesDeck */
|
|
6518
6771
|
generatesDeck?: (google.protobuf.IBoolValue|null);
|
|
6772
|
+
|
|
6773
|
+
/** TaskMetadata metadata */
|
|
6774
|
+
metadata?: (flyteidl.core.IK8sObjectMetadata|null);
|
|
6519
6775
|
}
|
|
6520
6776
|
|
|
6521
6777
|
/** Represents a TaskMetadata. */
|
|
@@ -6566,6 +6822,9 @@ export namespace flyteidl {
|
|
|
6566
6822
|
/** TaskMetadata generatesDeck. */
|
|
6567
6823
|
public generatesDeck?: (google.protobuf.IBoolValue|null);
|
|
6568
6824
|
|
|
6825
|
+
/** TaskMetadata metadata. */
|
|
6826
|
+
public metadata?: (flyteidl.core.IK8sObjectMetadata|null);
|
|
6827
|
+
|
|
6569
6828
|
/** TaskMetadata interruptibleValue. */
|
|
6570
6829
|
public interruptibleValue?: "interruptible";
|
|
6571
6830
|
|
|
@@ -9214,6 +9473,9 @@ export namespace flyteidl {
|
|
|
9214
9473
|
|
|
9215
9474
|
/** TaskExecutionEvent reportedAt */
|
|
9216
9475
|
reportedAt?: (google.protobuf.ITimestamp|null);
|
|
9476
|
+
|
|
9477
|
+
/** TaskExecutionEvent logContext */
|
|
9478
|
+
logContext?: (flyteidl.core.ILogContext|null);
|
|
9217
9479
|
}
|
|
9218
9480
|
|
|
9219
9481
|
/** Represents a TaskExecutionEvent. */
|
|
@@ -9285,6 +9547,9 @@ export namespace flyteidl {
|
|
|
9285
9547
|
/** TaskExecutionEvent reportedAt. */
|
|
9286
9548
|
public reportedAt?: (google.protobuf.ITimestamp|null);
|
|
9287
9549
|
|
|
9550
|
+
/** TaskExecutionEvent logContext. */
|
|
9551
|
+
public logContext?: (flyteidl.core.ILogContext|null);
|
|
9552
|
+
|
|
9288
9553
|
/** TaskExecutionEvent inputValue. */
|
|
9289
9554
|
public inputValue?: ("inputUri"|"inputData");
|
|
9290
9555
|
|
|
@@ -9350,6 +9615,9 @@ export namespace flyteidl {
|
|
|
9350
9615
|
|
|
9351
9616
|
/** ExternalResourceInfo customInfo */
|
|
9352
9617
|
customInfo?: (google.protobuf.IStruct|null);
|
|
9618
|
+
|
|
9619
|
+
/** ExternalResourceInfo logContext */
|
|
9620
|
+
logContext?: (flyteidl.core.ILogContext|null);
|
|
9353
9621
|
}
|
|
9354
9622
|
|
|
9355
9623
|
/** Represents an ExternalResourceInfo. */
|
|
@@ -9385,6 +9653,9 @@ export namespace flyteidl {
|
|
|
9385
9653
|
/** ExternalResourceInfo customInfo. */
|
|
9386
9654
|
public customInfo?: (google.protobuf.IStruct|null);
|
|
9387
9655
|
|
|
9656
|
+
/** ExternalResourceInfo logContext. */
|
|
9657
|
+
public logContext?: (flyteidl.core.ILogContext|null);
|
|
9658
|
+
|
|
9388
9659
|
/** ExternalResourceInfo targetMetadata. */
|
|
9389
9660
|
public targetMetadata?: "workflowNodeMetadata";
|
|
9390
9661
|
|
|
@@ -20502,6 +20773,9 @@ export namespace flyteidl {
|
|
|
20502
20773
|
|
|
20503
20774
|
/** TaskExecutionClosure reasons */
|
|
20504
20775
|
reasons?: (flyteidl.admin.IReason[]|null);
|
|
20776
|
+
|
|
20777
|
+
/** TaskExecutionClosure logContext */
|
|
20778
|
+
logContext?: (flyteidl.core.ILogContext|null);
|
|
20505
20779
|
}
|
|
20506
20780
|
|
|
20507
20781
|
/** Represents a TaskExecutionClosure. */
|
|
@@ -20558,6 +20832,9 @@ export namespace flyteidl {
|
|
|
20558
20832
|
/** TaskExecutionClosure reasons. */
|
|
20559
20833
|
public reasons: flyteidl.admin.IReason[];
|
|
20560
20834
|
|
|
20835
|
+
/** TaskExecutionClosure logContext. */
|
|
20836
|
+
public logContext?: (flyteidl.core.ILogContext|null);
|
|
20837
|
+
|
|
20561
20838
|
/** TaskExecutionClosure outputResult. */
|
|
20562
20839
|
public outputResult?: ("outputUri"|"error"|"outputData");
|
|
20563
20840
|
|
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -14403,6 +14403,601 @@
|
|
|
14403
14403
|
return TaskLog;
|
|
14404
14404
|
})();
|
|
14405
14405
|
|
|
14406
|
+
core.LogContext = (function() {
|
|
14407
|
+
|
|
14408
|
+
/**
|
|
14409
|
+
* Properties of a LogContext.
|
|
14410
|
+
* @memberof flyteidl.core
|
|
14411
|
+
* @interface ILogContext
|
|
14412
|
+
* @property {Array.<flyteidl.core.IPodLogContext>|null} [pods] LogContext pods
|
|
14413
|
+
* @property {string|null} [primaryPodName] LogContext primaryPodName
|
|
14414
|
+
*/
|
|
14415
|
+
|
|
14416
|
+
/**
|
|
14417
|
+
* Constructs a new LogContext.
|
|
14418
|
+
* @memberof flyteidl.core
|
|
14419
|
+
* @classdesc Represents a LogContext.
|
|
14420
|
+
* @implements ILogContext
|
|
14421
|
+
* @constructor
|
|
14422
|
+
* @param {flyteidl.core.ILogContext=} [properties] Properties to set
|
|
14423
|
+
*/
|
|
14424
|
+
function LogContext(properties) {
|
|
14425
|
+
this.pods = [];
|
|
14426
|
+
if (properties)
|
|
14427
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14428
|
+
if (properties[keys[i]] != null)
|
|
14429
|
+
this[keys[i]] = properties[keys[i]];
|
|
14430
|
+
}
|
|
14431
|
+
|
|
14432
|
+
/**
|
|
14433
|
+
* LogContext pods.
|
|
14434
|
+
* @member {Array.<flyteidl.core.IPodLogContext>} pods
|
|
14435
|
+
* @memberof flyteidl.core.LogContext
|
|
14436
|
+
* @instance
|
|
14437
|
+
*/
|
|
14438
|
+
LogContext.prototype.pods = $util.emptyArray;
|
|
14439
|
+
|
|
14440
|
+
/**
|
|
14441
|
+
* LogContext primaryPodName.
|
|
14442
|
+
* @member {string} primaryPodName
|
|
14443
|
+
* @memberof flyteidl.core.LogContext
|
|
14444
|
+
* @instance
|
|
14445
|
+
*/
|
|
14446
|
+
LogContext.prototype.primaryPodName = "";
|
|
14447
|
+
|
|
14448
|
+
/**
|
|
14449
|
+
* Creates a new LogContext instance using the specified properties.
|
|
14450
|
+
* @function create
|
|
14451
|
+
* @memberof flyteidl.core.LogContext
|
|
14452
|
+
* @static
|
|
14453
|
+
* @param {flyteidl.core.ILogContext=} [properties] Properties to set
|
|
14454
|
+
* @returns {flyteidl.core.LogContext} LogContext instance
|
|
14455
|
+
*/
|
|
14456
|
+
LogContext.create = function create(properties) {
|
|
14457
|
+
return new LogContext(properties);
|
|
14458
|
+
};
|
|
14459
|
+
|
|
14460
|
+
/**
|
|
14461
|
+
* Encodes the specified LogContext message. Does not implicitly {@link flyteidl.core.LogContext.verify|verify} messages.
|
|
14462
|
+
* @function encode
|
|
14463
|
+
* @memberof flyteidl.core.LogContext
|
|
14464
|
+
* @static
|
|
14465
|
+
* @param {flyteidl.core.ILogContext} message LogContext message or plain object to encode
|
|
14466
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14467
|
+
* @returns {$protobuf.Writer} Writer
|
|
14468
|
+
*/
|
|
14469
|
+
LogContext.encode = function encode(message, writer) {
|
|
14470
|
+
if (!writer)
|
|
14471
|
+
writer = $Writer.create();
|
|
14472
|
+
if (message.pods != null && message.pods.length)
|
|
14473
|
+
for (var i = 0; i < message.pods.length; ++i)
|
|
14474
|
+
$root.flyteidl.core.PodLogContext.encode(message.pods[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
14475
|
+
if (message.primaryPodName != null && message.hasOwnProperty("primaryPodName"))
|
|
14476
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.primaryPodName);
|
|
14477
|
+
return writer;
|
|
14478
|
+
};
|
|
14479
|
+
|
|
14480
|
+
/**
|
|
14481
|
+
* Decodes a LogContext message from the specified reader or buffer.
|
|
14482
|
+
* @function decode
|
|
14483
|
+
* @memberof flyteidl.core.LogContext
|
|
14484
|
+
* @static
|
|
14485
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14486
|
+
* @param {number} [length] Message length if known beforehand
|
|
14487
|
+
* @returns {flyteidl.core.LogContext} LogContext
|
|
14488
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14489
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14490
|
+
*/
|
|
14491
|
+
LogContext.decode = function decode(reader, length) {
|
|
14492
|
+
if (!(reader instanceof $Reader))
|
|
14493
|
+
reader = $Reader.create(reader);
|
|
14494
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.LogContext();
|
|
14495
|
+
while (reader.pos < end) {
|
|
14496
|
+
var tag = reader.uint32();
|
|
14497
|
+
switch (tag >>> 3) {
|
|
14498
|
+
case 1:
|
|
14499
|
+
if (!(message.pods && message.pods.length))
|
|
14500
|
+
message.pods = [];
|
|
14501
|
+
message.pods.push($root.flyteidl.core.PodLogContext.decode(reader, reader.uint32()));
|
|
14502
|
+
break;
|
|
14503
|
+
case 2:
|
|
14504
|
+
message.primaryPodName = reader.string();
|
|
14505
|
+
break;
|
|
14506
|
+
default:
|
|
14507
|
+
reader.skipType(tag & 7);
|
|
14508
|
+
break;
|
|
14509
|
+
}
|
|
14510
|
+
}
|
|
14511
|
+
return message;
|
|
14512
|
+
};
|
|
14513
|
+
|
|
14514
|
+
/**
|
|
14515
|
+
* Verifies a LogContext message.
|
|
14516
|
+
* @function verify
|
|
14517
|
+
* @memberof flyteidl.core.LogContext
|
|
14518
|
+
* @static
|
|
14519
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
14520
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14521
|
+
*/
|
|
14522
|
+
LogContext.verify = function verify(message) {
|
|
14523
|
+
if (typeof message !== "object" || message === null)
|
|
14524
|
+
return "object expected";
|
|
14525
|
+
if (message.pods != null && message.hasOwnProperty("pods")) {
|
|
14526
|
+
if (!Array.isArray(message.pods))
|
|
14527
|
+
return "pods: array expected";
|
|
14528
|
+
for (var i = 0; i < message.pods.length; ++i) {
|
|
14529
|
+
var error = $root.flyteidl.core.PodLogContext.verify(message.pods[i]);
|
|
14530
|
+
if (error)
|
|
14531
|
+
return "pods." + error;
|
|
14532
|
+
}
|
|
14533
|
+
}
|
|
14534
|
+
if (message.primaryPodName != null && message.hasOwnProperty("primaryPodName"))
|
|
14535
|
+
if (!$util.isString(message.primaryPodName))
|
|
14536
|
+
return "primaryPodName: string expected";
|
|
14537
|
+
return null;
|
|
14538
|
+
};
|
|
14539
|
+
|
|
14540
|
+
return LogContext;
|
|
14541
|
+
})();
|
|
14542
|
+
|
|
14543
|
+
core.PodLogContext = (function() {
|
|
14544
|
+
|
|
14545
|
+
/**
|
|
14546
|
+
* Properties of a PodLogContext.
|
|
14547
|
+
* @memberof flyteidl.core
|
|
14548
|
+
* @interface IPodLogContext
|
|
14549
|
+
* @property {string|null} [namespace] PodLogContext namespace
|
|
14550
|
+
* @property {string|null} [podName] PodLogContext podName
|
|
14551
|
+
* @property {Array.<flyteidl.core.IContainerContext>|null} [containers] PodLogContext containers
|
|
14552
|
+
* @property {string|null} [primaryContainerName] PodLogContext primaryContainerName
|
|
14553
|
+
* @property {Array.<flyteidl.core.IContainerContext>|null} [initContainers] PodLogContext initContainers
|
|
14554
|
+
*/
|
|
14555
|
+
|
|
14556
|
+
/**
|
|
14557
|
+
* Constructs a new PodLogContext.
|
|
14558
|
+
* @memberof flyteidl.core
|
|
14559
|
+
* @classdesc Represents a PodLogContext.
|
|
14560
|
+
* @implements IPodLogContext
|
|
14561
|
+
* @constructor
|
|
14562
|
+
* @param {flyteidl.core.IPodLogContext=} [properties] Properties to set
|
|
14563
|
+
*/
|
|
14564
|
+
function PodLogContext(properties) {
|
|
14565
|
+
this.containers = [];
|
|
14566
|
+
this.initContainers = [];
|
|
14567
|
+
if (properties)
|
|
14568
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14569
|
+
if (properties[keys[i]] != null)
|
|
14570
|
+
this[keys[i]] = properties[keys[i]];
|
|
14571
|
+
}
|
|
14572
|
+
|
|
14573
|
+
/**
|
|
14574
|
+
* PodLogContext namespace.
|
|
14575
|
+
* @member {string} namespace
|
|
14576
|
+
* @memberof flyteidl.core.PodLogContext
|
|
14577
|
+
* @instance
|
|
14578
|
+
*/
|
|
14579
|
+
PodLogContext.prototype.namespace = "";
|
|
14580
|
+
|
|
14581
|
+
/**
|
|
14582
|
+
* PodLogContext podName.
|
|
14583
|
+
* @member {string} podName
|
|
14584
|
+
* @memberof flyteidl.core.PodLogContext
|
|
14585
|
+
* @instance
|
|
14586
|
+
*/
|
|
14587
|
+
PodLogContext.prototype.podName = "";
|
|
14588
|
+
|
|
14589
|
+
/**
|
|
14590
|
+
* PodLogContext containers.
|
|
14591
|
+
* @member {Array.<flyteidl.core.IContainerContext>} containers
|
|
14592
|
+
* @memberof flyteidl.core.PodLogContext
|
|
14593
|
+
* @instance
|
|
14594
|
+
*/
|
|
14595
|
+
PodLogContext.prototype.containers = $util.emptyArray;
|
|
14596
|
+
|
|
14597
|
+
/**
|
|
14598
|
+
* PodLogContext primaryContainerName.
|
|
14599
|
+
* @member {string} primaryContainerName
|
|
14600
|
+
* @memberof flyteidl.core.PodLogContext
|
|
14601
|
+
* @instance
|
|
14602
|
+
*/
|
|
14603
|
+
PodLogContext.prototype.primaryContainerName = "";
|
|
14604
|
+
|
|
14605
|
+
/**
|
|
14606
|
+
* PodLogContext initContainers.
|
|
14607
|
+
* @member {Array.<flyteidl.core.IContainerContext>} initContainers
|
|
14608
|
+
* @memberof flyteidl.core.PodLogContext
|
|
14609
|
+
* @instance
|
|
14610
|
+
*/
|
|
14611
|
+
PodLogContext.prototype.initContainers = $util.emptyArray;
|
|
14612
|
+
|
|
14613
|
+
/**
|
|
14614
|
+
* Creates a new PodLogContext instance using the specified properties.
|
|
14615
|
+
* @function create
|
|
14616
|
+
* @memberof flyteidl.core.PodLogContext
|
|
14617
|
+
* @static
|
|
14618
|
+
* @param {flyteidl.core.IPodLogContext=} [properties] Properties to set
|
|
14619
|
+
* @returns {flyteidl.core.PodLogContext} PodLogContext instance
|
|
14620
|
+
*/
|
|
14621
|
+
PodLogContext.create = function create(properties) {
|
|
14622
|
+
return new PodLogContext(properties);
|
|
14623
|
+
};
|
|
14624
|
+
|
|
14625
|
+
/**
|
|
14626
|
+
* Encodes the specified PodLogContext message. Does not implicitly {@link flyteidl.core.PodLogContext.verify|verify} messages.
|
|
14627
|
+
* @function encode
|
|
14628
|
+
* @memberof flyteidl.core.PodLogContext
|
|
14629
|
+
* @static
|
|
14630
|
+
* @param {flyteidl.core.IPodLogContext} message PodLogContext message or plain object to encode
|
|
14631
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14632
|
+
* @returns {$protobuf.Writer} Writer
|
|
14633
|
+
*/
|
|
14634
|
+
PodLogContext.encode = function encode(message, writer) {
|
|
14635
|
+
if (!writer)
|
|
14636
|
+
writer = $Writer.create();
|
|
14637
|
+
if (message.namespace != null && message.hasOwnProperty("namespace"))
|
|
14638
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.namespace);
|
|
14639
|
+
if (message.podName != null && message.hasOwnProperty("podName"))
|
|
14640
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.podName);
|
|
14641
|
+
if (message.containers != null && message.containers.length)
|
|
14642
|
+
for (var i = 0; i < message.containers.length; ++i)
|
|
14643
|
+
$root.flyteidl.core.ContainerContext.encode(message.containers[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
14644
|
+
if (message.primaryContainerName != null && message.hasOwnProperty("primaryContainerName"))
|
|
14645
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.primaryContainerName);
|
|
14646
|
+
if (message.initContainers != null && message.initContainers.length)
|
|
14647
|
+
for (var i = 0; i < message.initContainers.length; ++i)
|
|
14648
|
+
$root.flyteidl.core.ContainerContext.encode(message.initContainers[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
14649
|
+
return writer;
|
|
14650
|
+
};
|
|
14651
|
+
|
|
14652
|
+
/**
|
|
14653
|
+
* Decodes a PodLogContext message from the specified reader or buffer.
|
|
14654
|
+
* @function decode
|
|
14655
|
+
* @memberof flyteidl.core.PodLogContext
|
|
14656
|
+
* @static
|
|
14657
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14658
|
+
* @param {number} [length] Message length if known beforehand
|
|
14659
|
+
* @returns {flyteidl.core.PodLogContext} PodLogContext
|
|
14660
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14661
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14662
|
+
*/
|
|
14663
|
+
PodLogContext.decode = function decode(reader, length) {
|
|
14664
|
+
if (!(reader instanceof $Reader))
|
|
14665
|
+
reader = $Reader.create(reader);
|
|
14666
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.PodLogContext();
|
|
14667
|
+
while (reader.pos < end) {
|
|
14668
|
+
var tag = reader.uint32();
|
|
14669
|
+
switch (tag >>> 3) {
|
|
14670
|
+
case 1:
|
|
14671
|
+
message.namespace = reader.string();
|
|
14672
|
+
break;
|
|
14673
|
+
case 2:
|
|
14674
|
+
message.podName = reader.string();
|
|
14675
|
+
break;
|
|
14676
|
+
case 3:
|
|
14677
|
+
if (!(message.containers && message.containers.length))
|
|
14678
|
+
message.containers = [];
|
|
14679
|
+
message.containers.push($root.flyteidl.core.ContainerContext.decode(reader, reader.uint32()));
|
|
14680
|
+
break;
|
|
14681
|
+
case 4:
|
|
14682
|
+
message.primaryContainerName = reader.string();
|
|
14683
|
+
break;
|
|
14684
|
+
case 5:
|
|
14685
|
+
if (!(message.initContainers && message.initContainers.length))
|
|
14686
|
+
message.initContainers = [];
|
|
14687
|
+
message.initContainers.push($root.flyteidl.core.ContainerContext.decode(reader, reader.uint32()));
|
|
14688
|
+
break;
|
|
14689
|
+
default:
|
|
14690
|
+
reader.skipType(tag & 7);
|
|
14691
|
+
break;
|
|
14692
|
+
}
|
|
14693
|
+
}
|
|
14694
|
+
return message;
|
|
14695
|
+
};
|
|
14696
|
+
|
|
14697
|
+
/**
|
|
14698
|
+
* Verifies a PodLogContext message.
|
|
14699
|
+
* @function verify
|
|
14700
|
+
* @memberof flyteidl.core.PodLogContext
|
|
14701
|
+
* @static
|
|
14702
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
14703
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14704
|
+
*/
|
|
14705
|
+
PodLogContext.verify = function verify(message) {
|
|
14706
|
+
if (typeof message !== "object" || message === null)
|
|
14707
|
+
return "object expected";
|
|
14708
|
+
if (message.namespace != null && message.hasOwnProperty("namespace"))
|
|
14709
|
+
if (!$util.isString(message.namespace))
|
|
14710
|
+
return "namespace: string expected";
|
|
14711
|
+
if (message.podName != null && message.hasOwnProperty("podName"))
|
|
14712
|
+
if (!$util.isString(message.podName))
|
|
14713
|
+
return "podName: string expected";
|
|
14714
|
+
if (message.containers != null && message.hasOwnProperty("containers")) {
|
|
14715
|
+
if (!Array.isArray(message.containers))
|
|
14716
|
+
return "containers: array expected";
|
|
14717
|
+
for (var i = 0; i < message.containers.length; ++i) {
|
|
14718
|
+
var error = $root.flyteidl.core.ContainerContext.verify(message.containers[i]);
|
|
14719
|
+
if (error)
|
|
14720
|
+
return "containers." + error;
|
|
14721
|
+
}
|
|
14722
|
+
}
|
|
14723
|
+
if (message.primaryContainerName != null && message.hasOwnProperty("primaryContainerName"))
|
|
14724
|
+
if (!$util.isString(message.primaryContainerName))
|
|
14725
|
+
return "primaryContainerName: string expected";
|
|
14726
|
+
if (message.initContainers != null && message.hasOwnProperty("initContainers")) {
|
|
14727
|
+
if (!Array.isArray(message.initContainers))
|
|
14728
|
+
return "initContainers: array expected";
|
|
14729
|
+
for (var i = 0; i < message.initContainers.length; ++i) {
|
|
14730
|
+
var error = $root.flyteidl.core.ContainerContext.verify(message.initContainers[i]);
|
|
14731
|
+
if (error)
|
|
14732
|
+
return "initContainers." + error;
|
|
14733
|
+
}
|
|
14734
|
+
}
|
|
14735
|
+
return null;
|
|
14736
|
+
};
|
|
14737
|
+
|
|
14738
|
+
return PodLogContext;
|
|
14739
|
+
})();
|
|
14740
|
+
|
|
14741
|
+
core.ContainerContext = (function() {
|
|
14742
|
+
|
|
14743
|
+
/**
|
|
14744
|
+
* Properties of a ContainerContext.
|
|
14745
|
+
* @memberof flyteidl.core
|
|
14746
|
+
* @interface IContainerContext
|
|
14747
|
+
* @property {string|null} [containerName] ContainerContext containerName
|
|
14748
|
+
* @property {flyteidl.core.ContainerContext.IProcessContext|null} [process] ContainerContext process
|
|
14749
|
+
*/
|
|
14750
|
+
|
|
14751
|
+
/**
|
|
14752
|
+
* Constructs a new ContainerContext.
|
|
14753
|
+
* @memberof flyteidl.core
|
|
14754
|
+
* @classdesc Represents a ContainerContext.
|
|
14755
|
+
* @implements IContainerContext
|
|
14756
|
+
* @constructor
|
|
14757
|
+
* @param {flyteidl.core.IContainerContext=} [properties] Properties to set
|
|
14758
|
+
*/
|
|
14759
|
+
function ContainerContext(properties) {
|
|
14760
|
+
if (properties)
|
|
14761
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14762
|
+
if (properties[keys[i]] != null)
|
|
14763
|
+
this[keys[i]] = properties[keys[i]];
|
|
14764
|
+
}
|
|
14765
|
+
|
|
14766
|
+
/**
|
|
14767
|
+
* ContainerContext containerName.
|
|
14768
|
+
* @member {string} containerName
|
|
14769
|
+
* @memberof flyteidl.core.ContainerContext
|
|
14770
|
+
* @instance
|
|
14771
|
+
*/
|
|
14772
|
+
ContainerContext.prototype.containerName = "";
|
|
14773
|
+
|
|
14774
|
+
/**
|
|
14775
|
+
* ContainerContext process.
|
|
14776
|
+
* @member {flyteidl.core.ContainerContext.IProcessContext|null|undefined} process
|
|
14777
|
+
* @memberof flyteidl.core.ContainerContext
|
|
14778
|
+
* @instance
|
|
14779
|
+
*/
|
|
14780
|
+
ContainerContext.prototype.process = null;
|
|
14781
|
+
|
|
14782
|
+
/**
|
|
14783
|
+
* Creates a new ContainerContext instance using the specified properties.
|
|
14784
|
+
* @function create
|
|
14785
|
+
* @memberof flyteidl.core.ContainerContext
|
|
14786
|
+
* @static
|
|
14787
|
+
* @param {flyteidl.core.IContainerContext=} [properties] Properties to set
|
|
14788
|
+
* @returns {flyteidl.core.ContainerContext} ContainerContext instance
|
|
14789
|
+
*/
|
|
14790
|
+
ContainerContext.create = function create(properties) {
|
|
14791
|
+
return new ContainerContext(properties);
|
|
14792
|
+
};
|
|
14793
|
+
|
|
14794
|
+
/**
|
|
14795
|
+
* Encodes the specified ContainerContext message. Does not implicitly {@link flyteidl.core.ContainerContext.verify|verify} messages.
|
|
14796
|
+
* @function encode
|
|
14797
|
+
* @memberof flyteidl.core.ContainerContext
|
|
14798
|
+
* @static
|
|
14799
|
+
* @param {flyteidl.core.IContainerContext} message ContainerContext message or plain object to encode
|
|
14800
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14801
|
+
* @returns {$protobuf.Writer} Writer
|
|
14802
|
+
*/
|
|
14803
|
+
ContainerContext.encode = function encode(message, writer) {
|
|
14804
|
+
if (!writer)
|
|
14805
|
+
writer = $Writer.create();
|
|
14806
|
+
if (message.containerName != null && message.hasOwnProperty("containerName"))
|
|
14807
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.containerName);
|
|
14808
|
+
if (message.process != null && message.hasOwnProperty("process"))
|
|
14809
|
+
$root.flyteidl.core.ContainerContext.ProcessContext.encode(message.process, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
14810
|
+
return writer;
|
|
14811
|
+
};
|
|
14812
|
+
|
|
14813
|
+
/**
|
|
14814
|
+
* Decodes a ContainerContext message from the specified reader or buffer.
|
|
14815
|
+
* @function decode
|
|
14816
|
+
* @memberof flyteidl.core.ContainerContext
|
|
14817
|
+
* @static
|
|
14818
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14819
|
+
* @param {number} [length] Message length if known beforehand
|
|
14820
|
+
* @returns {flyteidl.core.ContainerContext} ContainerContext
|
|
14821
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14822
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14823
|
+
*/
|
|
14824
|
+
ContainerContext.decode = function decode(reader, length) {
|
|
14825
|
+
if (!(reader instanceof $Reader))
|
|
14826
|
+
reader = $Reader.create(reader);
|
|
14827
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ContainerContext();
|
|
14828
|
+
while (reader.pos < end) {
|
|
14829
|
+
var tag = reader.uint32();
|
|
14830
|
+
switch (tag >>> 3) {
|
|
14831
|
+
case 1:
|
|
14832
|
+
message.containerName = reader.string();
|
|
14833
|
+
break;
|
|
14834
|
+
case 2:
|
|
14835
|
+
message.process = $root.flyteidl.core.ContainerContext.ProcessContext.decode(reader, reader.uint32());
|
|
14836
|
+
break;
|
|
14837
|
+
default:
|
|
14838
|
+
reader.skipType(tag & 7);
|
|
14839
|
+
break;
|
|
14840
|
+
}
|
|
14841
|
+
}
|
|
14842
|
+
return message;
|
|
14843
|
+
};
|
|
14844
|
+
|
|
14845
|
+
/**
|
|
14846
|
+
* Verifies a ContainerContext message.
|
|
14847
|
+
* @function verify
|
|
14848
|
+
* @memberof flyteidl.core.ContainerContext
|
|
14849
|
+
* @static
|
|
14850
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
14851
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14852
|
+
*/
|
|
14853
|
+
ContainerContext.verify = function verify(message) {
|
|
14854
|
+
if (typeof message !== "object" || message === null)
|
|
14855
|
+
return "object expected";
|
|
14856
|
+
if (message.containerName != null && message.hasOwnProperty("containerName"))
|
|
14857
|
+
if (!$util.isString(message.containerName))
|
|
14858
|
+
return "containerName: string expected";
|
|
14859
|
+
if (message.process != null && message.hasOwnProperty("process")) {
|
|
14860
|
+
var error = $root.flyteidl.core.ContainerContext.ProcessContext.verify(message.process);
|
|
14861
|
+
if (error)
|
|
14862
|
+
return "process." + error;
|
|
14863
|
+
}
|
|
14864
|
+
return null;
|
|
14865
|
+
};
|
|
14866
|
+
|
|
14867
|
+
ContainerContext.ProcessContext = (function() {
|
|
14868
|
+
|
|
14869
|
+
/**
|
|
14870
|
+
* Properties of a ProcessContext.
|
|
14871
|
+
* @memberof flyteidl.core.ContainerContext
|
|
14872
|
+
* @interface IProcessContext
|
|
14873
|
+
* @property {google.protobuf.ITimestamp|null} [containerStartTime] ProcessContext containerStartTime
|
|
14874
|
+
* @property {google.protobuf.ITimestamp|null} [containerEndTime] ProcessContext containerEndTime
|
|
14875
|
+
*/
|
|
14876
|
+
|
|
14877
|
+
/**
|
|
14878
|
+
* Constructs a new ProcessContext.
|
|
14879
|
+
* @memberof flyteidl.core.ContainerContext
|
|
14880
|
+
* @classdesc Represents a ProcessContext.
|
|
14881
|
+
* @implements IProcessContext
|
|
14882
|
+
* @constructor
|
|
14883
|
+
* @param {flyteidl.core.ContainerContext.IProcessContext=} [properties] Properties to set
|
|
14884
|
+
*/
|
|
14885
|
+
function ProcessContext(properties) {
|
|
14886
|
+
if (properties)
|
|
14887
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14888
|
+
if (properties[keys[i]] != null)
|
|
14889
|
+
this[keys[i]] = properties[keys[i]];
|
|
14890
|
+
}
|
|
14891
|
+
|
|
14892
|
+
/**
|
|
14893
|
+
* ProcessContext containerStartTime.
|
|
14894
|
+
* @member {google.protobuf.ITimestamp|null|undefined} containerStartTime
|
|
14895
|
+
* @memberof flyteidl.core.ContainerContext.ProcessContext
|
|
14896
|
+
* @instance
|
|
14897
|
+
*/
|
|
14898
|
+
ProcessContext.prototype.containerStartTime = null;
|
|
14899
|
+
|
|
14900
|
+
/**
|
|
14901
|
+
* ProcessContext containerEndTime.
|
|
14902
|
+
* @member {google.protobuf.ITimestamp|null|undefined} containerEndTime
|
|
14903
|
+
* @memberof flyteidl.core.ContainerContext.ProcessContext
|
|
14904
|
+
* @instance
|
|
14905
|
+
*/
|
|
14906
|
+
ProcessContext.prototype.containerEndTime = null;
|
|
14907
|
+
|
|
14908
|
+
/**
|
|
14909
|
+
* Creates a new ProcessContext instance using the specified properties.
|
|
14910
|
+
* @function create
|
|
14911
|
+
* @memberof flyteidl.core.ContainerContext.ProcessContext
|
|
14912
|
+
* @static
|
|
14913
|
+
* @param {flyteidl.core.ContainerContext.IProcessContext=} [properties] Properties to set
|
|
14914
|
+
* @returns {flyteidl.core.ContainerContext.ProcessContext} ProcessContext instance
|
|
14915
|
+
*/
|
|
14916
|
+
ProcessContext.create = function create(properties) {
|
|
14917
|
+
return new ProcessContext(properties);
|
|
14918
|
+
};
|
|
14919
|
+
|
|
14920
|
+
/**
|
|
14921
|
+
* Encodes the specified ProcessContext message. Does not implicitly {@link flyteidl.core.ContainerContext.ProcessContext.verify|verify} messages.
|
|
14922
|
+
* @function encode
|
|
14923
|
+
* @memberof flyteidl.core.ContainerContext.ProcessContext
|
|
14924
|
+
* @static
|
|
14925
|
+
* @param {flyteidl.core.ContainerContext.IProcessContext} message ProcessContext message or plain object to encode
|
|
14926
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14927
|
+
* @returns {$protobuf.Writer} Writer
|
|
14928
|
+
*/
|
|
14929
|
+
ProcessContext.encode = function encode(message, writer) {
|
|
14930
|
+
if (!writer)
|
|
14931
|
+
writer = $Writer.create();
|
|
14932
|
+
if (message.containerStartTime != null && message.hasOwnProperty("containerStartTime"))
|
|
14933
|
+
$root.google.protobuf.Timestamp.encode(message.containerStartTime, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
14934
|
+
if (message.containerEndTime != null && message.hasOwnProperty("containerEndTime"))
|
|
14935
|
+
$root.google.protobuf.Timestamp.encode(message.containerEndTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
14936
|
+
return writer;
|
|
14937
|
+
};
|
|
14938
|
+
|
|
14939
|
+
/**
|
|
14940
|
+
* Decodes a ProcessContext message from the specified reader or buffer.
|
|
14941
|
+
* @function decode
|
|
14942
|
+
* @memberof flyteidl.core.ContainerContext.ProcessContext
|
|
14943
|
+
* @static
|
|
14944
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14945
|
+
* @param {number} [length] Message length if known beforehand
|
|
14946
|
+
* @returns {flyteidl.core.ContainerContext.ProcessContext} ProcessContext
|
|
14947
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14948
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14949
|
+
*/
|
|
14950
|
+
ProcessContext.decode = function decode(reader, length) {
|
|
14951
|
+
if (!(reader instanceof $Reader))
|
|
14952
|
+
reader = $Reader.create(reader);
|
|
14953
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ContainerContext.ProcessContext();
|
|
14954
|
+
while (reader.pos < end) {
|
|
14955
|
+
var tag = reader.uint32();
|
|
14956
|
+
switch (tag >>> 3) {
|
|
14957
|
+
case 1:
|
|
14958
|
+
message.containerStartTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
|
|
14959
|
+
break;
|
|
14960
|
+
case 2:
|
|
14961
|
+
message.containerEndTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
|
|
14962
|
+
break;
|
|
14963
|
+
default:
|
|
14964
|
+
reader.skipType(tag & 7);
|
|
14965
|
+
break;
|
|
14966
|
+
}
|
|
14967
|
+
}
|
|
14968
|
+
return message;
|
|
14969
|
+
};
|
|
14970
|
+
|
|
14971
|
+
/**
|
|
14972
|
+
* Verifies a ProcessContext message.
|
|
14973
|
+
* @function verify
|
|
14974
|
+
* @memberof flyteidl.core.ContainerContext.ProcessContext
|
|
14975
|
+
* @static
|
|
14976
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
14977
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14978
|
+
*/
|
|
14979
|
+
ProcessContext.verify = function verify(message) {
|
|
14980
|
+
if (typeof message !== "object" || message === null)
|
|
14981
|
+
return "object expected";
|
|
14982
|
+
if (message.containerStartTime != null && message.hasOwnProperty("containerStartTime")) {
|
|
14983
|
+
var error = $root.google.protobuf.Timestamp.verify(message.containerStartTime);
|
|
14984
|
+
if (error)
|
|
14985
|
+
return "containerStartTime." + error;
|
|
14986
|
+
}
|
|
14987
|
+
if (message.containerEndTime != null && message.hasOwnProperty("containerEndTime")) {
|
|
14988
|
+
var error = $root.google.protobuf.Timestamp.verify(message.containerEndTime);
|
|
14989
|
+
if (error)
|
|
14990
|
+
return "containerEndTime." + error;
|
|
14991
|
+
}
|
|
14992
|
+
return null;
|
|
14993
|
+
};
|
|
14994
|
+
|
|
14995
|
+
return ProcessContext;
|
|
14996
|
+
})();
|
|
14997
|
+
|
|
14998
|
+
return ContainerContext;
|
|
14999
|
+
})();
|
|
15000
|
+
|
|
14406
15001
|
core.QualityOfServiceSpec = (function() {
|
|
14407
15002
|
|
|
14408
15003
|
/**
|
|
@@ -15618,6 +16213,7 @@
|
|
|
15618
16213
|
* @property {Array.<string>|null} [cacheIgnoreInputVars] TaskMetadata cacheIgnoreInputVars
|
|
15619
16214
|
* @property {boolean|null} [isEager] TaskMetadata isEager
|
|
15620
16215
|
* @property {google.protobuf.IBoolValue|null} [generatesDeck] TaskMetadata generatesDeck
|
|
16216
|
+
* @property {flyteidl.core.IK8sObjectMetadata|null} [metadata] TaskMetadata metadata
|
|
15621
16217
|
*/
|
|
15622
16218
|
|
|
15623
16219
|
/**
|
|
@@ -15741,6 +16337,14 @@
|
|
|
15741
16337
|
*/
|
|
15742
16338
|
TaskMetadata.prototype.generatesDeck = null;
|
|
15743
16339
|
|
|
16340
|
+
/**
|
|
16341
|
+
* TaskMetadata metadata.
|
|
16342
|
+
* @member {flyteidl.core.IK8sObjectMetadata|null|undefined} metadata
|
|
16343
|
+
* @memberof flyteidl.core.TaskMetadata
|
|
16344
|
+
* @instance
|
|
16345
|
+
*/
|
|
16346
|
+
TaskMetadata.prototype.metadata = null;
|
|
16347
|
+
|
|
15744
16348
|
// OneOf field names bound to virtual getters and setters
|
|
15745
16349
|
var $oneOfFields;
|
|
15746
16350
|
|
|
@@ -15807,6 +16411,8 @@
|
|
|
15807
16411
|
writer.uint32(/* id 14, wireType 0 =*/112).bool(message.isEager);
|
|
15808
16412
|
if (message.generatesDeck != null && message.hasOwnProperty("generatesDeck"))
|
|
15809
16413
|
$root.google.protobuf.BoolValue.encode(message.generatesDeck, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
|
|
16414
|
+
if (message.metadata != null && message.hasOwnProperty("metadata"))
|
|
16415
|
+
$root.flyteidl.core.K8sObjectMetadata.encode(message.metadata, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
|
|
15810
16416
|
return writer;
|
|
15811
16417
|
};
|
|
15812
16418
|
|
|
@@ -15874,6 +16480,9 @@
|
|
|
15874
16480
|
case 15:
|
|
15875
16481
|
message.generatesDeck = $root.google.protobuf.BoolValue.decode(reader, reader.uint32());
|
|
15876
16482
|
break;
|
|
16483
|
+
case 16:
|
|
16484
|
+
message.metadata = $root.flyteidl.core.K8sObjectMetadata.decode(reader, reader.uint32());
|
|
16485
|
+
break;
|
|
15877
16486
|
default:
|
|
15878
16487
|
reader.skipType(tag & 7);
|
|
15879
16488
|
break;
|
|
@@ -15952,6 +16561,11 @@
|
|
|
15952
16561
|
if (error)
|
|
15953
16562
|
return "generatesDeck." + error;
|
|
15954
16563
|
}
|
|
16564
|
+
if (message.metadata != null && message.hasOwnProperty("metadata")) {
|
|
16565
|
+
var error = $root.flyteidl.core.K8sObjectMetadata.verify(message.metadata);
|
|
16566
|
+
if (error)
|
|
16567
|
+
return "metadata." + error;
|
|
16568
|
+
}
|
|
15955
16569
|
return null;
|
|
15956
16570
|
};
|
|
15957
16571
|
|
|
@@ -22476,6 +23090,7 @@
|
|
|
22476
23090
|
* @property {flyteidl.event.ITaskExecutionMetadata|null} [metadata] TaskExecutionEvent metadata
|
|
22477
23091
|
* @property {number|null} [eventVersion] TaskExecutionEvent eventVersion
|
|
22478
23092
|
* @property {google.protobuf.ITimestamp|null} [reportedAt] TaskExecutionEvent reportedAt
|
|
23093
|
+
* @property {flyteidl.core.ILogContext|null} [logContext] TaskExecutionEvent logContext
|
|
22479
23094
|
*/
|
|
22480
23095
|
|
|
22481
23096
|
/**
|
|
@@ -22655,6 +23270,14 @@
|
|
|
22655
23270
|
*/
|
|
22656
23271
|
TaskExecutionEvent.prototype.reportedAt = null;
|
|
22657
23272
|
|
|
23273
|
+
/**
|
|
23274
|
+
* TaskExecutionEvent logContext.
|
|
23275
|
+
* @member {flyteidl.core.ILogContext|null|undefined} logContext
|
|
23276
|
+
* @memberof flyteidl.event.TaskExecutionEvent
|
|
23277
|
+
* @instance
|
|
23278
|
+
*/
|
|
23279
|
+
TaskExecutionEvent.prototype.logContext = null;
|
|
23280
|
+
|
|
22658
23281
|
// OneOf field names bound to virtual getters and setters
|
|
22659
23282
|
var $oneOfFields;
|
|
22660
23283
|
|
|
@@ -22746,6 +23369,8 @@
|
|
|
22746
23369
|
if (message.reasons != null && message.reasons.length)
|
|
22747
23370
|
for (var i = 0; i < message.reasons.length; ++i)
|
|
22748
23371
|
$root.flyteidl.event.EventReason.encode(message.reasons[i], writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
23372
|
+
if (message.logContext != null && message.hasOwnProperty("logContext"))
|
|
23373
|
+
$root.flyteidl.core.LogContext.encode(message.logContext, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
|
|
22749
23374
|
return writer;
|
|
22750
23375
|
};
|
|
22751
23376
|
|
|
@@ -22831,6 +23456,9 @@
|
|
|
22831
23456
|
case 20:
|
|
22832
23457
|
message.reportedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
|
|
22833
23458
|
break;
|
|
23459
|
+
case 22:
|
|
23460
|
+
message.logContext = $root.flyteidl.core.LogContext.decode(reader, reader.uint32());
|
|
23461
|
+
break;
|
|
22834
23462
|
default:
|
|
22835
23463
|
reader.skipType(tag & 7);
|
|
22836
23464
|
break;
|
|
@@ -22971,6 +23599,11 @@
|
|
|
22971
23599
|
if (error)
|
|
22972
23600
|
return "reportedAt." + error;
|
|
22973
23601
|
}
|
|
23602
|
+
if (message.logContext != null && message.hasOwnProperty("logContext")) {
|
|
23603
|
+
var error = $root.flyteidl.core.LogContext.verify(message.logContext);
|
|
23604
|
+
if (error)
|
|
23605
|
+
return "logContext." + error;
|
|
23606
|
+
}
|
|
22974
23607
|
return null;
|
|
22975
23608
|
};
|
|
22976
23609
|
|
|
@@ -22991,6 +23624,7 @@
|
|
|
22991
23624
|
* @property {Array.<flyteidl.core.ITaskLog>|null} [logs] ExternalResourceInfo logs
|
|
22992
23625
|
* @property {flyteidl.event.IWorkflowNodeMetadata|null} [workflowNodeMetadata] ExternalResourceInfo workflowNodeMetadata
|
|
22993
23626
|
* @property {google.protobuf.IStruct|null} [customInfo] ExternalResourceInfo customInfo
|
|
23627
|
+
* @property {flyteidl.core.ILogContext|null} [logContext] ExternalResourceInfo logContext
|
|
22994
23628
|
*/
|
|
22995
23629
|
|
|
22996
23630
|
/**
|
|
@@ -23073,6 +23707,14 @@
|
|
|
23073
23707
|
*/
|
|
23074
23708
|
ExternalResourceInfo.prototype.customInfo = null;
|
|
23075
23709
|
|
|
23710
|
+
/**
|
|
23711
|
+
* ExternalResourceInfo logContext.
|
|
23712
|
+
* @member {flyteidl.core.ILogContext|null|undefined} logContext
|
|
23713
|
+
* @memberof flyteidl.event.ExternalResourceInfo
|
|
23714
|
+
* @instance
|
|
23715
|
+
*/
|
|
23716
|
+
ExternalResourceInfo.prototype.logContext = null;
|
|
23717
|
+
|
|
23076
23718
|
// OneOf field names bound to virtual getters and setters
|
|
23077
23719
|
var $oneOfFields;
|
|
23078
23720
|
|
|
@@ -23128,6 +23770,8 @@
|
|
|
23128
23770
|
$root.flyteidl.event.WorkflowNodeMetadata.encode(message.workflowNodeMetadata, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
23129
23771
|
if (message.customInfo != null && message.hasOwnProperty("customInfo"))
|
|
23130
23772
|
$root.google.protobuf.Struct.encode(message.customInfo, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
23773
|
+
if (message.logContext != null && message.hasOwnProperty("logContext"))
|
|
23774
|
+
$root.flyteidl.core.LogContext.encode(message.logContext, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
|
|
23131
23775
|
return writer;
|
|
23132
23776
|
};
|
|
23133
23777
|
|
|
@@ -23175,6 +23819,9 @@
|
|
|
23175
23819
|
case 8:
|
|
23176
23820
|
message.customInfo = $root.google.protobuf.Struct.decode(reader, reader.uint32());
|
|
23177
23821
|
break;
|
|
23822
|
+
case 9:
|
|
23823
|
+
message.logContext = $root.flyteidl.core.LogContext.decode(reader, reader.uint32());
|
|
23824
|
+
break;
|
|
23178
23825
|
default:
|
|
23179
23826
|
reader.skipType(tag & 7);
|
|
23180
23827
|
break;
|
|
@@ -23254,6 +23901,11 @@
|
|
|
23254
23901
|
if (error)
|
|
23255
23902
|
return "customInfo." + error;
|
|
23256
23903
|
}
|
|
23904
|
+
if (message.logContext != null && message.hasOwnProperty("logContext")) {
|
|
23905
|
+
var error = $root.flyteidl.core.LogContext.verify(message.logContext);
|
|
23906
|
+
if (error)
|
|
23907
|
+
return "logContext." + error;
|
|
23908
|
+
}
|
|
23257
23909
|
return null;
|
|
23258
23910
|
};
|
|
23259
23911
|
|
|
@@ -49348,6 +50000,7 @@
|
|
|
49348
50000
|
* @property {flyteidl.event.ITaskExecutionMetadata|null} [metadata] TaskExecutionClosure metadata
|
|
49349
50001
|
* @property {number|null} [eventVersion] TaskExecutionClosure eventVersion
|
|
49350
50002
|
* @property {Array.<flyteidl.admin.IReason>|null} [reasons] TaskExecutionClosure reasons
|
|
50003
|
+
* @property {flyteidl.core.ILogContext|null} [logContext] TaskExecutionClosure logContext
|
|
49351
50004
|
*/
|
|
49352
50005
|
|
|
49353
50006
|
/**
|
|
@@ -49487,6 +50140,14 @@
|
|
|
49487
50140
|
*/
|
|
49488
50141
|
TaskExecutionClosure.prototype.reasons = $util.emptyArray;
|
|
49489
50142
|
|
|
50143
|
+
/**
|
|
50144
|
+
* TaskExecutionClosure logContext.
|
|
50145
|
+
* @member {flyteidl.core.ILogContext|null|undefined} logContext
|
|
50146
|
+
* @memberof flyteidl.admin.TaskExecutionClosure
|
|
50147
|
+
* @instance
|
|
50148
|
+
*/
|
|
50149
|
+
TaskExecutionClosure.prototype.logContext = null;
|
|
50150
|
+
|
|
49490
50151
|
// OneOf field names bound to virtual getters and setters
|
|
49491
50152
|
var $oneOfFields;
|
|
49492
50153
|
|
|
@@ -49557,6 +50218,8 @@
|
|
|
49557
50218
|
if (message.reasons != null && message.reasons.length)
|
|
49558
50219
|
for (var i = 0; i < message.reasons.length; ++i)
|
|
49559
50220
|
$root.flyteidl.admin.Reason.encode(message.reasons[i], writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
|
|
50221
|
+
if (message.logContext != null && message.hasOwnProperty("logContext"))
|
|
50222
|
+
$root.flyteidl.core.LogContext.encode(message.logContext, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
49560
50223
|
return writer;
|
|
49561
50224
|
};
|
|
49562
50225
|
|
|
@@ -49627,6 +50290,9 @@
|
|
|
49627
50290
|
message.reasons = [];
|
|
49628
50291
|
message.reasons.push($root.flyteidl.admin.Reason.decode(reader, reader.uint32()));
|
|
49629
50292
|
break;
|
|
50293
|
+
case 19:
|
|
50294
|
+
message.logContext = $root.flyteidl.core.LogContext.decode(reader, reader.uint32());
|
|
50295
|
+
break;
|
|
49630
50296
|
default:
|
|
49631
50297
|
reader.skipType(tag & 7);
|
|
49632
50298
|
break;
|
|
@@ -49743,6 +50409,11 @@
|
|
|
49743
50409
|
return "reasons." + error;
|
|
49744
50410
|
}
|
|
49745
50411
|
}
|
|
50412
|
+
if (message.logContext != null && message.hasOwnProperty("logContext")) {
|
|
50413
|
+
var error = $root.flyteidl.core.LogContext.verify(message.logContext);
|
|
50414
|
+
if (error)
|
|
50415
|
+
return "logContext." + error;
|
|
50416
|
+
}
|
|
49746
50417
|
return null;
|
|
49747
50418
|
};
|
|
49748
50419
|
|
package/package.json
CHANGED
|
@@ -127,6 +127,9 @@ message TaskExecutionClosure {
|
|
|
127
127
|
// A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
|
|
128
128
|
// as previously done, is much more valuable in visualizing and understanding historical evaluations.
|
|
129
129
|
repeated Reason reasons = 18;
|
|
130
|
+
|
|
131
|
+
// Contains metadata required to identify logs related to this task execution
|
|
132
|
+
core.LogContext log_context = 19;
|
|
130
133
|
}
|
|
131
134
|
|
|
132
135
|
// Reason is a single message annotated with a timestamp to indicate the instant the reason occurred.
|
|
@@ -98,6 +98,38 @@ message TaskLog {
|
|
|
98
98
|
bool HideOnceFinished = 6;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
+
// Contains metadata required to identify logs produces by a set of pods
|
|
102
|
+
message LogContext {
|
|
103
|
+
repeated PodLogContext pods = 1;
|
|
104
|
+
string primary_pod_name = 2;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// Contains metadata required to identify logs produces by a single pod
|
|
108
|
+
message PodLogContext {
|
|
109
|
+
string namespace = 1;
|
|
110
|
+
|
|
111
|
+
string pod_name = 2;
|
|
112
|
+
|
|
113
|
+
repeated ContainerContext containers = 3;
|
|
114
|
+
|
|
115
|
+
string primary_container_name = 4;
|
|
116
|
+
|
|
117
|
+
repeated ContainerContext init_containers = 5;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// Contains metadata required to identify logs produces by a single container
|
|
121
|
+
message ContainerContext {
|
|
122
|
+
string container_name = 1;
|
|
123
|
+
|
|
124
|
+
// Contains metadata required to identify logs produces by a single light-weight process that was run inside a container
|
|
125
|
+
message ProcessContext {
|
|
126
|
+
google.protobuf.Timestamp container_start_time = 1;
|
|
127
|
+
google.protobuf.Timestamp container_end_time = 2;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
ProcessContext process = 2;
|
|
131
|
+
}
|
|
132
|
+
|
|
101
133
|
// Represents customized execution run-time attributes.
|
|
102
134
|
message QualityOfServiceSpec {
|
|
103
135
|
// Indicates how much queueing delay an execution can tolerate.
|
|
@@ -159,6 +159,16 @@ message TaskMetadata {
|
|
|
159
159
|
// - true: The task will generate a deck.
|
|
160
160
|
// - false: The task will not generate a deck.
|
|
161
161
|
google.protobuf.BoolValue generates_deck = 15;
|
|
162
|
+
|
|
163
|
+
// Metadata applied to task pods or task CR objects.
|
|
164
|
+
// In flytekit, labels and annotations resulting in this metadata field
|
|
165
|
+
// are provided via `@task(labels=..., annotations=...)`.
|
|
166
|
+
// For tasks backed by pods like PythonFunctionTask, these take precedence
|
|
167
|
+
// over the metadata provided via `@task(pod_template=PodTemplate(labels=...))` which are transported
|
|
168
|
+
// in the K8sPod message. For tasks backed by CRDs, this metadata is applied to
|
|
169
|
+
// the CR object itself while the metadata in the pod template/K8sPod is applied
|
|
170
|
+
// to the pod template spec of the CR object.
|
|
171
|
+
K8sObjectMetadata metadata = 16;
|
|
162
172
|
}
|
|
163
173
|
|
|
164
174
|
// A Task structure that uniquely identifies a task in the system
|
|
@@ -263,6 +263,9 @@ message TaskExecutionEvent {
|
|
|
263
263
|
// but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
|
|
264
264
|
// facilitates a more accurate portrayal of the evaluation time-series.
|
|
265
265
|
google.protobuf.Timestamp reported_at = 20;
|
|
266
|
+
|
|
267
|
+
// Contains metadata required to identify logs related to this task execution
|
|
268
|
+
core.LogContext log_context = 22;
|
|
266
269
|
}
|
|
267
270
|
|
|
268
271
|
// This message contains metadata about external resources produced or used by a specific task execution.
|
|
@@ -297,6 +300,9 @@ message ExternalResourceInfo {
|
|
|
297
300
|
|
|
298
301
|
// Extensible field for custom, plugin-specific info
|
|
299
302
|
google.protobuf.Struct custom_info = 8;
|
|
303
|
+
|
|
304
|
+
// Contains metadata required to identify logs related to this task execution
|
|
305
|
+
core.LogContext log_context = 9;
|
|
300
306
|
}
|
|
301
307
|
|
|
302
308
|
|