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>NetworkPolicySpec

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Latest
interface NetworkPolicySpec
import { type NetworkPolicySpec } from "https://deno.land/x/kubernetes_apis@v0.5.0/builtin/networking.k8s.io@v1/mod.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