UNPKG

@kubernetes/client-node

Version:
56 lines 1.91 kB
/** * 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. */ /** * ResourcePolicyRule is a predicate that matches some resource requests, testing the request\'s verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==\"\"`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request\'s namespace. */ export class V1ResourcePolicyRule { static getAttributeTypeMap() { return V1ResourcePolicyRule.attributeTypeMap; } constructor() { } } V1ResourcePolicyRule.discriminator = undefined; V1ResourcePolicyRule.mapping = undefined; V1ResourcePolicyRule.attributeTypeMap = [ { "name": "apiGroups", "baseName": "apiGroups", "type": "Array<string>", "format": "" }, { "name": "clusterScope", "baseName": "clusterScope", "type": "boolean", "format": "" }, { "name": "namespaces", "baseName": "namespaces", "type": "Array<string>", "format": "" }, { "name": "resources", "baseName": "resources", "type": "Array<string>", "format": "" }, { "name": "verbs", "baseName": "verbs", "type": "Array<string>", "format": "" } ]; //# sourceMappingURL=V1ResourcePolicyRule.js.map