UNPKG

kubernetes-models

Version:
14 lines (13 loc) 749 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IoK8sApiNetworkingV1IPBlock = exports.IPBlock = void 0; const base_1 = require("@kubernetes-models/base"); const IoK8sApiNetworkingV1IPBlock_1 = require("../../_schemas/IoK8sApiNetworkingV1IPBlock.js"); /** * IPBlock describes a particular CIDR (Ex. "192.168.1.1/24","2001:db9::/64") 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. */ class IPBlock extends base_1.Model { } exports.IPBlock = IPBlock; exports.IoK8sApiNetworkingV1IPBlock = IPBlock; (0, base_1.setSchema)(IPBlock, "io.k8s.api.networking.v1.IPBlock", IoK8sApiNetworkingV1IPBlock_1.addSchema);