Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/kubernetes_apis/builtin/networking.k8s.io@v1/structs.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.1/builtin/networking.k8s.io@v1/structs.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