@kubernetes/client-node
Version:
NodeJS client for kubernetes
42 lines • 1.68 kB
JavaScript
;
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: release-1.27
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.V1beta3PolicyRulesWithSubjects = void 0;
/**
* PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.
*/
class V1beta3PolicyRulesWithSubjects {
static getAttributeTypeMap() {
return V1beta3PolicyRulesWithSubjects.attributeTypeMap;
}
}
exports.V1beta3PolicyRulesWithSubjects = V1beta3PolicyRulesWithSubjects;
V1beta3PolicyRulesWithSubjects.discriminator = undefined;
V1beta3PolicyRulesWithSubjects.attributeTypeMap = [
{
"name": "nonResourceRules",
"baseName": "nonResourceRules",
"type": "Array<V1beta3NonResourcePolicyRule>"
},
{
"name": "resourceRules",
"baseName": "resourceRules",
"type": "Array<V1beta3ResourcePolicyRule>"
},
{
"name": "subjects",
"baseName": "subjects",
"type": "Array<V1beta3Subject>"
}
];
//# sourceMappingURL=v1beta3PolicyRulesWithSubjects.js.map