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

x/kubernetes_apis/builtin/networking.k8s.io@v1/structs.ts>NetworkPolicySpec

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

NetworkPolicySpec provides the specification of a NetworkPolicy

Properties

optional
egress: Array<NetworkPolicyEgressRule> | null
optional
ingress: Array<NetworkPolicyIngressRule> | null
podSelector: MetaV1.LabelSelector
optional
policyTypes: Array<string> | null