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

x/kubernetes_apis/builtin/apiextensions.k8s.io@v1/mod.ts>ApiextensionsV1Api

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

Constructors

new
ApiextensionsV1Api(client: c.RestClient)

Methods

createCustomResourceDefinition(body: ApiextensionsV1.CustomResourceDefinition, opts?: operations.PutOpts): Promise<ApiextensionsV1.CustomResourceDefinition>
deleteCustomResourceDefinition(name: string, opts?: operations.DeleteOpts): Promise<ApiextensionsV1.CustomResourceDefinition | MetaV1.Status>
deleteCustomResourceDefinitionList(opts?: operations.DeleteListOpts): Promise<ApiextensionsV1.CustomResourceDefinitionList>
getCustomResourceDefinition(name: string, opts?: operations.NoOpts): Promise<ApiextensionsV1.CustomResourceDefinition>
getCustomResourceDefinitionList(opts?: operations.GetListOpts): Promise<ApiextensionsV1.CustomResourceDefinitionList>
getCustomResourceDefinitionStatus(name: string, opts?: operations.NoOpts): Promise<ApiextensionsV1.CustomResourceDefinition>
patchCustomResourceDefinition(
name: string,
type: c.PatchType,
body: ApiextensionsV1.CustomResourceDefinition | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<ApiextensionsV1.CustomResourceDefinition>
patchCustomResourceDefinitionStatus(
name: string,
type: c.PatchType,
body: ApiextensionsV1.CustomResourceDefinition | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<ApiextensionsV1.CustomResourceDefinition>
replaceCustomResourceDefinition(
name: string,
body: ApiextensionsV1.CustomResourceDefinition,
opts?: operations.PutOpts,
): Promise<ApiextensionsV1.CustomResourceDefinition>
replaceCustomResourceDefinitionStatus(
name: string,
body: ApiextensionsV1.CustomResourceDefinition,
opts?: operations.PutOpts,
): Promise<ApiextensionsV1.CustomResourceDefinition>
watchCustomResourceDefinitionList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<ApiextensionsV1.CustomResourceDefinition>>