Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kubernetes_apis/builtin/networking.k8s.io@v1/mod.ts>NetworkPolicyIngressRule

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Go to Latest
interface NetworkPolicyIngressRule
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> | null
optional
ports: Array<NetworkPolicyPort> | null