UNPKG

kubernetes-models

Version:
15 lines (14 loc) 865 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IoK8sApiExtensionsV1beta1IPBlock = exports.IPBlock = void 0; const base_1 = require("@kubernetes-models/base"); const IoK8sApiExtensionsV1beta1IPBlock_1 = require("../../_schemas/IoK8sApiExtensionsV1beta1IPBlock.js"); /** * DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. "192.168.1.1/24") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule. * @deprecated */ class IPBlock extends base_1.Model { } exports.IPBlock = IPBlock; exports.IoK8sApiExtensionsV1beta1IPBlock = IPBlock; (0, base_1.setSchema)(IPBlock, "io.k8s.api.extensions.v1beta1.IPBlock", IoK8sApiExtensionsV1beta1IPBlock_1.addSchema);