Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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
Latest
interface NetworkPolicyIngressRule
import { type NetworkPolicyIngressRule } from "https://deno.land/x/kubernetes_apis@v0.5.0/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