@flyteorg/flyteidl 1.5.1 → 1.5.2
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
CHANGED
|
@@ -5967,6 +5967,9 @@ export namespace flyteidl {
|
|
|
5967
5967
|
|
|
5968
5968
|
/** Identity oauth2Client */
|
|
5969
5969
|
oauth2Client?: (flyteidl.core.IOAuth2Client|null);
|
|
5970
|
+
|
|
5971
|
+
/** Identity userIdentifier */
|
|
5972
|
+
userIdentifier?: (string|null);
|
|
5970
5973
|
}
|
|
5971
5974
|
|
|
5972
5975
|
/** Represents an Identity. */
|
|
@@ -5987,6 +5990,9 @@ export namespace flyteidl {
|
|
|
5987
5990
|
/** Identity oauth2Client. */
|
|
5988
5991
|
public oauth2Client?: (flyteidl.core.IOAuth2Client|null);
|
|
5989
5992
|
|
|
5993
|
+
/** Identity userIdentifier. */
|
|
5994
|
+
public userIdentifier: string;
|
|
5995
|
+
|
|
5990
5996
|
/**
|
|
5991
5997
|
* Creates a new Identity instance using the specified properties.
|
|
5992
5998
|
* @param [properties] Properties to set
|
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -14264,6 +14264,7 @@
|
|
|
14264
14264
|
* @property {string|null} [iamRole] Identity iamRole
|
|
14265
14265
|
* @property {string|null} [k8sServiceAccount] Identity k8sServiceAccount
|
|
14266
14266
|
* @property {flyteidl.core.IOAuth2Client|null} [oauth2Client] Identity oauth2Client
|
|
14267
|
+
* @property {string|null} [userIdentifier] Identity userIdentifier
|
|
14267
14268
|
*/
|
|
14268
14269
|
|
|
14269
14270
|
/**
|
|
@@ -14305,6 +14306,14 @@
|
|
|
14305
14306
|
*/
|
|
14306
14307
|
Identity.prototype.oauth2Client = null;
|
|
14307
14308
|
|
|
14309
|
+
/**
|
|
14310
|
+
* Identity userIdentifier.
|
|
14311
|
+
* @member {string} userIdentifier
|
|
14312
|
+
* @memberof flyteidl.core.Identity
|
|
14313
|
+
* @instance
|
|
14314
|
+
*/
|
|
14315
|
+
Identity.prototype.userIdentifier = "";
|
|
14316
|
+
|
|
14308
14317
|
/**
|
|
14309
14318
|
* Creates a new Identity instance using the specified properties.
|
|
14310
14319
|
* @function create
|
|
@@ -14335,6 +14344,8 @@
|
|
|
14335
14344
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.k8sServiceAccount);
|
|
14336
14345
|
if (message.oauth2Client != null && message.hasOwnProperty("oauth2Client"))
|
|
14337
14346
|
$root.flyteidl.core.OAuth2Client.encode(message.oauth2Client, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
14347
|
+
if (message.userIdentifier != null && message.hasOwnProperty("userIdentifier"))
|
|
14348
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.userIdentifier);
|
|
14338
14349
|
return writer;
|
|
14339
14350
|
};
|
|
14340
14351
|
|
|
@@ -14365,6 +14376,9 @@
|
|
|
14365
14376
|
case 3:
|
|
14366
14377
|
message.oauth2Client = $root.flyteidl.core.OAuth2Client.decode(reader, reader.uint32());
|
|
14367
14378
|
break;
|
|
14379
|
+
case 4:
|
|
14380
|
+
message.userIdentifier = reader.string();
|
|
14381
|
+
break;
|
|
14368
14382
|
default:
|
|
14369
14383
|
reader.skipType(tag & 7);
|
|
14370
14384
|
break;
|
|
@@ -14395,6 +14409,9 @@
|
|
|
14395
14409
|
if (error)
|
|
14396
14410
|
return "oauth2Client." + error;
|
|
14397
14411
|
}
|
|
14412
|
+
if (message.userIdentifier != null && message.hasOwnProperty("userIdentifier"))
|
|
14413
|
+
if (!$util.isString(message.userIdentifier))
|
|
14414
|
+
return "userIdentifier: string expected";
|
|
14398
14415
|
return null;
|
|
14399
14416
|
};
|
|
14400
14417
|
|
package/package.json
CHANGED
|
@@ -69,6 +69,9 @@ message Identity {
|
|
|
69
69
|
// oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when
|
|
70
70
|
// making external calls.
|
|
71
71
|
OAuth2Client oauth2_client = 3;
|
|
72
|
+
|
|
73
|
+
// user_identifier references the id of the user who executes the task.
|
|
74
|
+
string user_identifier = 4;
|
|
72
75
|
}
|
|
73
76
|
|
|
74
77
|
// OAuth2TokenRequest encapsulates information needed to request an OAuth2 token.
|