UNPKG

@kubernetes/client-node

Version:
47 lines 2.13 kB
"use strict"; /** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: release-1.28 * * * 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.V1alpha1ValidatingAdmissionPolicyBinding = void 0; /** * ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters. For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don\'t use params, otherwise N is the number of parameters selected by the binding. The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget. */ class V1alpha1ValidatingAdmissionPolicyBinding { static getAttributeTypeMap() { return V1alpha1ValidatingAdmissionPolicyBinding.attributeTypeMap; } } exports.V1alpha1ValidatingAdmissionPolicyBinding = V1alpha1ValidatingAdmissionPolicyBinding; V1alpha1ValidatingAdmissionPolicyBinding.discriminator = undefined; V1alpha1ValidatingAdmissionPolicyBinding.attributeTypeMap = [ { "name": "apiVersion", "baseName": "apiVersion", "type": "string" }, { "name": "kind", "baseName": "kind", "type": "string" }, { "name": "metadata", "baseName": "metadata", "type": "V1ObjectMeta" }, { "name": "spec", "baseName": "spec", "type": "V1alpha1ValidatingAdmissionPolicyBindingSpec" } ]; //# sourceMappingURL=v1alpha1ValidatingAdmissionPolicyBinding.js.map