kubernetes-models
Version:
14 lines (13 loc) • 1.04 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.IoK8sApiFlowcontrolV1beta2NonResourcePolicyRule = exports.NonResourcePolicyRule = void 0;
const base_1 = require("@kubernetes-models/base");
const IoK8sApiFlowcontrolV1beta2NonResourcePolicyRule_1 = require("../../_schemas/IoK8sApiFlowcontrolV1beta2NonResourcePolicyRule.js");
/**
* NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.
*/
class NonResourcePolicyRule extends base_1.Model {
}
exports.NonResourcePolicyRule = NonResourcePolicyRule;
exports.IoK8sApiFlowcontrolV1beta2NonResourcePolicyRule = NonResourcePolicyRule;
(0, base_1.setSchema)(NonResourcePolicyRule, "io.k8s.api.flowcontrol.v1beta2.NonResourcePolicyRule", IoK8sApiFlowcontrolV1beta2NonResourcePolicyRule_1.addSchema);