Skip to main content
The Deno 2 Release Candidate is 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
Latest
class ResourceV1alpha2Api
import { ResourceV1alpha2Api } from "https://deno.land/x/kubernetes_apis@v0.5.2/builtin/resource.k8s.io@v1alpha2/mod.ts";

Constructors

new
ResourceV1alpha2Api(client: c.RestClient)

Methods

createResourceClass(body: ResourceV1alpha2.ResourceClass, opts?: operations.PutOpts): Promise<ResourceV1alpha2.ResourceClass>
createResourceSlice(body: ResourceV1alpha2.ResourceSlice, opts?: operations.PutOpts): Promise<ResourceV1alpha2.ResourceSlice>
deleteResourceClass(name: string, opts?: operations.DeleteOpts): Promise<ResourceV1alpha2.ResourceClass | MetaV1.Status>
deleteResourceClassList(opts?: operations.DeleteListOpts): Promise<ResourceV1alpha2.ResourceClassList>
deleteResourceSlice(name: string, opts?: operations.DeleteOpts): Promise<ResourceV1alpha2.ResourceSlice | MetaV1.Status>
deleteResourceSliceList(opts?: operations.DeleteListOpts): Promise<ResourceV1alpha2.ResourceSliceList>
getPodSchedulingContextListForAllNamespaces(opts?: operations.GetListOpts): Promise<ResourceV1alpha2.PodSchedulingContextList>
getResourceClaimListForAllNamespaces(opts?: operations.GetListOpts): Promise<ResourceV1alpha2.ResourceClaimList>
getResourceClaimParametersListForAllNamespaces(opts?: operations.GetListOpts): Promise<ResourceV1alpha2.ResourceClaimParametersList>
getResourceClaimTemplateListForAllNamespaces(opts?: operations.GetListOpts): Promise<ResourceV1alpha2.ResourceClaimTemplateList>
getResourceClass(name: string, opts?: operations.NoOpts): Promise<ResourceV1alpha2.ResourceClass>
getResourceClassList(opts?: operations.GetListOpts): Promise<ResourceV1alpha2.ResourceClassList>
getResourceClassParametersListForAllNamespaces(opts?: operations.GetListOpts): Promise<ResourceV1alpha2.ResourceClassParametersList>
getResourceSlice(name: string, opts?: operations.NoOpts): Promise<ResourceV1alpha2.ResourceSlice>
getResourceSliceList(opts?: operations.GetListOpts): Promise<ResourceV1alpha2.ResourceSliceList>
patchResourceClass(
name: string,
type: c.PatchType,
body: ResourceV1alpha2.ResourceClass | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<ResourceV1alpha2.ResourceClass>
patchResourceSlice(
name: string,
type: c.PatchType,
body: ResourceV1alpha2.ResourceSlice | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<ResourceV1alpha2.ResourceSlice>
replaceResourceClass(
name: string,
body: ResourceV1alpha2.ResourceClass,
opts?: operations.PutOpts,
): Promise<ResourceV1alpha2.ResourceClass>
replaceResourceSlice(
name: string,
body: ResourceV1alpha2.ResourceSlice,
opts?: operations.PutOpts,
): Promise<ResourceV1alpha2.ResourceSlice>
watchPodSchedulingContextListForAllNamespaces(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<ResourceV1alpha2.PodSchedulingContext>>
watchResourceClaimListForAllNamespaces(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<ResourceV1alpha2.ResourceClaim>>
watchResourceClaimParametersListForAllNamespaces(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<ResourceV1alpha2.ResourceClaimParameters>>
watchResourceClaimTemplateListForAllNamespaces(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<ResourceV1alpha2.ResourceClaimTemplate>>
watchResourceClassList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<ResourceV1alpha2.ResourceClass>>
watchResourceClassParametersListForAllNamespaces(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<ResourceV1alpha2.ResourceClassParameters>>
watchResourceSliceList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<ResourceV1alpha2.ResourceSlice>>