UNPKG

kubernetes-models

Version:
14 lines (13 loc) 1.16 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IoK8sApiFlowcontrolV1beta2PolicyRulesWithSubjects = exports.PolicyRulesWithSubjects = void 0; const base_1 = require("@kubernetes-models/base"); const IoK8sApiFlowcontrolV1beta2PolicyRulesWithSubjects_1 = require("../../_schemas/IoK8sApiFlowcontrolV1beta2PolicyRulesWithSubjects.js"); /** * 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 PolicyRulesWithSubjects extends base_1.Model { } exports.PolicyRulesWithSubjects = PolicyRulesWithSubjects; exports.IoK8sApiFlowcontrolV1beta2PolicyRulesWithSubjects = PolicyRulesWithSubjects; (0, base_1.setSchema)(PolicyRulesWithSubjects, "io.k8s.api.flowcontrol.v1beta2.PolicyRulesWithSubjects", IoK8sApiFlowcontrolV1beta2PolicyRulesWithSubjects_1.addSchema);