Skip to main content
The Deno 2 Release Candidate is 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
Latest
class ResourceV1alpha2NamespacedApi
import { ResourceV1alpha2NamespacedApi } from "https://deno.land/x/kubernetes_apis@v0.5.2/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>
createResourceClaimParameters(body: ResourceV1alpha2.ResourceClaimParameters, opts?: operations.PutOpts): Promise<ResourceV1alpha2.ResourceClaimParameters>
createResourceClaimTemplate(body: ResourceV1alpha2.ResourceClaimTemplate, opts?: operations.PutOpts): Promise<ResourceV1alpha2.ResourceClaimTemplate>
createResourceClassParameters(body: ResourceV1alpha2.ResourceClassParameters, opts?: operations.PutOpts): Promise<ResourceV1alpha2.ResourceClassParameters>
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>
deleteResourceClaimParameters(name: string, opts?: operations.DeleteOpts): Promise<ResourceV1alpha2.ResourceClaimParameters | MetaV1.Status>
deleteResourceClaimParametersList(opts?: operations.DeleteListOpts): Promise<ResourceV1alpha2.ResourceClaimParametersList>
deleteResourceClaimTemplate(name: string, opts?: operations.DeleteOpts): Promise<ResourceV1alpha2.ResourceClaimTemplate | MetaV1.Status>
deleteResourceClaimTemplateList(opts?: operations.DeleteListOpts): Promise<ResourceV1alpha2.ResourceClaimTemplateList>
deleteResourceClassParameters(name: string, opts?: operations.DeleteOpts): Promise<ResourceV1alpha2.ResourceClassParameters | MetaV1.Status>
deleteResourceClassParametersList(opts?: operations.DeleteListOpts): Promise<ResourceV1alpha2.ResourceClassParametersList>
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>
getResourceClaimParameters(name: string, opts?: operations.NoOpts): Promise<ResourceV1alpha2.ResourceClaimParameters>
getResourceClaimParametersList(opts?: operations.GetListOpts): Promise<ResourceV1alpha2.ResourceClaimParametersList>
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>
getResourceClassParameters(name: string, opts?: operations.NoOpts): Promise<ResourceV1alpha2.ResourceClassParameters>
getResourceClassParametersList(opts?: operations.GetListOpts): Promise<ResourceV1alpha2.ResourceClassParametersList>
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>
patchResourceClaimParameters(
name: string,
type: c.PatchType,
body: ResourceV1alpha2.ResourceClaimParameters | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<ResourceV1alpha2.ResourceClaimParameters>
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>
patchResourceClassParameters(
name: string,
type: c.PatchType,
body: ResourceV1alpha2.ResourceClassParameters | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<ResourceV1alpha2.ResourceClassParameters>
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>
replaceResourceClaimParameters(
name: string,
body: ResourceV1alpha2.ResourceClaimParameters,
opts?: operations.PutOpts,
): Promise<ResourceV1alpha2.ResourceClaimParameters>
replaceResourceClaimStatus(
name: string,
body: ResourceV1alpha2.ResourceClaim,
opts?: operations.PutOpts,
): Promise<ResourceV1alpha2.ResourceClaim>
replaceResourceClaimTemplate(
name: string,
body: ResourceV1alpha2.ResourceClaimTemplate,
opts?: operations.PutOpts,
): Promise<ResourceV1alpha2.ResourceClaimTemplate>
replaceResourceClassParameters(
name: string,
body: ResourceV1alpha2.ResourceClassParameters,
opts?: operations.PutOpts,
): Promise<ResourceV1alpha2.ResourceClassParameters>
watchPodSchedulingContextList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<ResourceV1alpha2.PodSchedulingContext>>
watchResourceClaimList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<ResourceV1alpha2.ResourceClaim>>
watchResourceClaimParametersList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<ResourceV1alpha2.ResourceClaimParameters>>
watchResourceClaimTemplateList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<ResourceV1alpha2.ResourceClaimTemplate>>
watchResourceClassParametersList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<ResourceV1alpha2.ResourceClassParameters>>