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

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

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Go to Latest
interface NetworkPolicyPeer
import { type NetworkPolicyPeer } from "https://deno.land/x/kubernetes_apis@v0.5.1/builtin/networking.k8s.io@v1/mod.ts";

NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed

Properties

optional
ipBlock: IPBlock | null
optional
namespaceSelector: MetaV1.LabelSelector | null
optional
podSelector: MetaV1.LabelSelector | null