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

x/kubernetes_apis/builtin/policy@v1/mod.ts>PolicyV1NamespacedApi

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

Constructors

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

Methods

createPodDisruptionBudget(body: PolicyV1.PodDisruptionBudget, opts?: operations.PutOpts)
deletePodDisruptionBudget(name: string, opts?: operations.DeleteOpts)
deletePodDisruptionBudgetList(opts?: operations.DeleteListOpts)
getPodDisruptionBudget(name: string, opts?: operations.NoOpts)
getPodDisruptionBudgetList(opts?: operations.GetListOpts)
getPodDisruptionBudgetStatus(name: string, opts?: operations.NoOpts)
patchPodDisruptionBudget(
name: string,
type: c.PatchType,
body: PolicyV1.PodDisruptionBudget | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchPodDisruptionBudgetStatus(
name: string,
type: c.PatchType,
body: PolicyV1.PodDisruptionBudget | c.JsonPatch,
opts?: operations.PatchOpts,
)
replacePodDisruptionBudget(
name: string,
body: PolicyV1.PodDisruptionBudget,
opts?: operations.PutOpts,
)
replacePodDisruptionBudgetStatus(
name: string,
body: PolicyV1.PodDisruptionBudget,
opts?: operations.PutOpts,
)
watchPodDisruptionBudgetList(opts?: operations.WatchListOpts)