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

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

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

Constructors

new
NetworkingV1NamespacedApi(client: c.RestClient, namespace: string)

Methods

createIngress(body: NetworkingV1.Ingress, opts?: operations.PutOpts)
createNetworkPolicy(body: NetworkingV1.NetworkPolicy, opts?: operations.PutOpts)
deleteIngress(name: string, opts?: operations.DeleteOpts)
deleteIngressList(opts?: operations.DeleteListOpts)
deleteNetworkPolicy(name: string, opts?: operations.DeleteOpts)
deleteNetworkPolicyList(opts?: operations.DeleteListOpts)
getIngress(name: string, opts?: operations.NoOpts)
getIngressList(opts?: operations.GetListOpts)
getIngressStatus(name: string, opts?: operations.NoOpts)
getNetworkPolicy(name: string, opts?: operations.NoOpts)
getNetworkPolicyList(opts?: operations.GetListOpts)
patchIngress(
name: string,
type: c.PatchType,
body: NetworkingV1.Ingress | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchIngressStatus(
name: string,
type: c.PatchType,
body: NetworkingV1.Ingress | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchNetworkPolicy(
name: string,
type: c.PatchType,
body: NetworkingV1.NetworkPolicy | c.JsonPatch,
opts?: operations.PatchOpts,
)
replaceIngress(
name: string,
body: NetworkingV1.Ingress,
opts?: operations.PutOpts,
)
replaceIngressStatus(
name: string,
body: NetworkingV1.Ingress,
opts?: operations.PutOpts,
)
replaceNetworkPolicy(
name: string,
body: NetworkingV1.NetworkPolicy,
opts?: operations.PutOpts,
)
watchIngressList(opts?: operations.WatchListOpts)
watchNetworkPolicyList(opts?: operations.WatchListOpts)