Skip to main content
Deno 2 is finally 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.1/builtin/networking.k8s.io@v1/mod.ts";

Constructors

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

Methods

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