kubernetes-models
Version:
10 lines (9 loc) • 532 B
JavaScript
import { Model, setSchema } from "@kubernetes-models/base";
import { addSchema } from "../../_schemas/IoK8sApiNetworkingV1IPBlock.mjs";
/**
* 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.
*/
export class IPBlock extends Model {
}
setSchema(IPBlock, "io.k8s.api.networking.v1.IPBlock", addSchema);
export { IPBlock as IoK8sApiNetworkingV1IPBlock };