@kubernetes/client-node
Version:
NodeJS client for kubernetes
56 lines • 1.99 kB
JavaScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: v1.32.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server\'s authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.
*/
export class V1SelfSubjectRulesReview {
static getAttributeTypeMap() {
return V1SelfSubjectRulesReview.attributeTypeMap;
}
constructor() {
}
}
V1SelfSubjectRulesReview.discriminator = undefined;
V1SelfSubjectRulesReview.mapping = undefined;
V1SelfSubjectRulesReview.attributeTypeMap = [
{
"name": "apiVersion",
"baseName": "apiVersion",
"type": "string",
"format": ""
},
{
"name": "kind",
"baseName": "kind",
"type": "string",
"format": ""
},
{
"name": "metadata",
"baseName": "metadata",
"type": "V1ObjectMeta",
"format": ""
},
{
"name": "spec",
"baseName": "spec",
"type": "V1SelfSubjectRulesReviewSpec",
"format": ""
},
{
"name": "status",
"baseName": "status",
"type": "V1SubjectRulesReviewStatus",
"format": ""
}
];
//# sourceMappingURL=V1SelfSubjectRulesReview.js.map