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

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

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

Constructors

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

Methods

createPodSchedulingContext(body: ResourceV1alpha2.PodSchedulingContext, opts?: operations.PutOpts): Promise<ResourceV1alpha2.PodSchedulingContext>
createResourceClaim(body: ResourceV1alpha2.ResourceClaim, opts?: operations.PutOpts): Promise<ResourceV1alpha2.ResourceClaim>
createResourceClaimTemplate(body: ResourceV1alpha2.ResourceClaimTemplate, opts?: operations.PutOpts): Promise<ResourceV1alpha2.ResourceClaimTemplate>
deletePodSchedulingContext(name: string, opts?: operations.DeleteOpts): Promise<ResourceV1alpha2.PodSchedulingContext | MetaV1.Status>
deletePodSchedulingContextList(opts?: operations.DeleteListOpts): Promise<ResourceV1alpha2.PodSchedulingContextList>
deleteResourceClaim(name: string, opts?: operations.DeleteOpts): Promise<ResourceV1alpha2.ResourceClaim | MetaV1.Status>
deleteResourceClaimList(opts?: operations.DeleteListOpts): Promise<ResourceV1alpha2.ResourceClaimList>
deleteResourceClaimTemplate(name: string, opts?: operations.DeleteOpts): Promise<ResourceV1alpha2.ResourceClaimTemplate | MetaV1.Status>
deleteResourceClaimTemplateList(opts?: operations.DeleteListOpts): Promise<ResourceV1alpha2.ResourceClaimTemplateList>
getPodSchedulingContext(name: string, opts?: operations.NoOpts): Promise<ResourceV1alpha2.PodSchedulingContext>
getPodSchedulingContextList(opts?: operations.GetListOpts): Promise<ResourceV1alpha2.PodSchedulingContextList>
getPodSchedulingContextStatus(name: string, opts?: operations.NoOpts): Promise<ResourceV1alpha2.PodSchedulingContext>
getResourceClaim(name: string, opts?: operations.NoOpts): Promise<ResourceV1alpha2.ResourceClaim>
getResourceClaimList(opts?: operations.GetListOpts): Promise<ResourceV1alpha2.ResourceClaimList>
getResourceClaimStatus(name: string, opts?: operations.NoOpts): Promise<ResourceV1alpha2.ResourceClaim>
getResourceClaimTemplate(name: string, opts?: operations.NoOpts): Promise<ResourceV1alpha2.ResourceClaimTemplate>
getResourceClaimTemplateList(opts?: operations.GetListOpts): Promise<ResourceV1alpha2.ResourceClaimTemplateList>
patchPodSchedulingContext(
name: string,
type: c.PatchType,
body: ResourceV1alpha2.PodSchedulingContext | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<ResourceV1alpha2.PodSchedulingContext>
patchPodSchedulingContextStatus(
name: string,
type: c.PatchType,
body: ResourceV1alpha2.PodSchedulingContext | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<ResourceV1alpha2.PodSchedulingContext>
patchResourceClaim(
name: string,
type: c.PatchType,
body: ResourceV1alpha2.ResourceClaim | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<ResourceV1alpha2.ResourceClaim>
patchResourceClaimStatus(
name: string,
type: c.PatchType,
body: ResourceV1alpha2.ResourceClaim | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<ResourceV1alpha2.ResourceClaim>
patchResourceClaimTemplate(
name: string,
type: c.PatchType,
body: ResourceV1alpha2.ResourceClaimTemplate | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<ResourceV1alpha2.ResourceClaimTemplate>
replacePodSchedulingContext(
name: string,
body: ResourceV1alpha2.PodSchedulingContext,
opts?: operations.PutOpts,
): Promise<ResourceV1alpha2.PodSchedulingContext>
replacePodSchedulingContextStatus(
name: string,
body: ResourceV1alpha2.PodSchedulingContext,
opts?: operations.PutOpts,
): Promise<ResourceV1alpha2.PodSchedulingContext>
replaceResourceClaim(
name: string,
body: ResourceV1alpha2.ResourceClaim,
opts?: operations.PutOpts,
): Promise<ResourceV1alpha2.ResourceClaim>
replaceResourceClaimStatus(
name: string,
body: ResourceV1alpha2.ResourceClaim,
opts?: operations.PutOpts,
): Promise<ResourceV1alpha2.ResourceClaim>
replaceResourceClaimTemplate(
name: string,
body: ResourceV1alpha2.ResourceClaimTemplate,
opts?: operations.PutOpts,
): Promise<ResourceV1alpha2.ResourceClaimTemplate>
watchPodSchedulingContextList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<ResourceV1alpha2.PodSchedulingContext>>
watchResourceClaimList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<ResourceV1alpha2.ResourceClaim>>
watchResourceClaimTemplateList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<ResourceV1alpha2.ResourceClaimTemplate>>