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

x/kubernetes_apis/builtin/resource.k8s.io@v1alpha2/mod.ts>ResourceV1alpha2Api

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

Constructors

new
ResourceV1alpha2Api(client: c.RestClient)

Methods

createResourceClass(body: ResourceV1alpha2.ResourceClass, opts?: operations.PutOpts)
deleteResourceClass(name: string, opts?: operations.DeleteOpts)
deleteResourceClassList(opts?: operations.DeleteListOpts)
getPodSchedulingContextListForAllNamespaces(opts?: operations.GetListOpts)
getResourceClaimListForAllNamespaces(opts?: operations.GetListOpts)
getResourceClaimTemplateListForAllNamespaces(opts?: operations.GetListOpts)
getResourceClass(name: string, opts?: operations.NoOpts)
getResourceClassList(opts?: operations.GetListOpts)
namespace(name: string)
patchResourceClass(
name: string,
type: c.PatchType,
body: ResourceV1alpha2.ResourceClass | c.JsonPatch,
opts?: operations.PatchOpts,
)
replaceResourceClass(
name: string,
body: ResourceV1alpha2.ResourceClass,
opts?: operations.PutOpts,
)
watchPodSchedulingContextListForAllNamespaces(opts?: operations.WatchListOpts)
watchResourceClaimListForAllNamespaces(opts?: operations.WatchListOpts)
watchResourceClaimTemplateListForAllNamespaces(opts?: operations.WatchListOpts)
watchResourceClassList(opts?: operations.WatchListOpts)