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

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

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

NetworkPolicy describes what network traffic is allowed for a set of Pods

Properties

optional
apiVersion: "networking.k8s.io/v1"
optional
kind: "NetworkPolicy"
optional
metadata: MetaV1.ObjectMeta | null
optional
spec: NetworkPolicySpec | null