import { type NetworkPolicyIngressRule } from "https://deno.land/x/kubernetes_apis@v0.3.2/builtin/networking.k8s.io@v1/mod.ts";
NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.
Properties
optional
from: Array<NetworkPolicyPeer> | nulloptional
ports: Array<NetworkPolicyPort> | null