Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/kubernetes_apis/builtin/storage.k8s.io@v1/mod.ts>StorageV1Api

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

Constructors

new
StorageV1Api(client: c.RestClient)

Methods

createCSIDriver(body: StorageV1.CSIDriver, opts?: operations.PutOpts): Promise<StorageV1.CSIDriver>
createCSINode(body: StorageV1.CSINode, opts?: operations.PutOpts): Promise<StorageV1.CSINode>
createStorageClass(body: StorageV1.StorageClass, opts?: operations.PutOpts): Promise<StorageV1.StorageClass>
createVolumeAttachment(body: StorageV1.VolumeAttachment, opts?: operations.PutOpts): Promise<StorageV1.VolumeAttachment>
deleteCSIDriver(name: string, opts?: operations.DeleteOpts): Promise<StorageV1.CSIDriver | MetaV1.Status>
deleteCSIDriverList(opts?: operations.DeleteListOpts): Promise<StorageV1.CSIDriverList>
deleteCSINode(name: string, opts?: operations.DeleteOpts): Promise<StorageV1.CSINode | MetaV1.Status>
deleteCSINodeList(opts?: operations.DeleteListOpts): Promise<StorageV1.CSINodeList>
deleteStorageClass(name: string, opts?: operations.DeleteOpts): Promise<StorageV1.StorageClass | MetaV1.Status>
deleteStorageClassList(opts?: operations.DeleteListOpts): Promise<StorageV1.StorageClassList>
deleteVolumeAttachment(name: string, opts?: operations.DeleteOpts): Promise<StorageV1.VolumeAttachment | MetaV1.Status>
deleteVolumeAttachmentList(opts?: operations.DeleteListOpts): Promise<StorageV1.VolumeAttachmentList>
getCSIDriver(name: string, opts?: operations.NoOpts): Promise<StorageV1.CSIDriver>
getCSIDriverList(opts?: operations.GetListOpts): Promise<StorageV1.CSIDriverList>
getCSINode(name: string, opts?: operations.NoOpts): Promise<StorageV1.CSINode>
getCSINodeList(opts?: operations.GetListOpts): Promise<StorageV1.CSINodeList>
getCSIStorageCapacityListForAllNamespaces(opts?: operations.GetListOpts): Promise<StorageV1.CSIStorageCapacityList>
getStorageClass(name: string, opts?: operations.NoOpts): Promise<StorageV1.StorageClass>
getStorageClassList(opts?: operations.GetListOpts): Promise<StorageV1.StorageClassList>
getVolumeAttachment(name: string, opts?: operations.NoOpts): Promise<StorageV1.VolumeAttachment>
getVolumeAttachmentList(opts?: operations.GetListOpts): Promise<StorageV1.VolumeAttachmentList>
getVolumeAttachmentStatus(name: string, opts?: operations.NoOpts): Promise<StorageV1.VolumeAttachment>
patchCSIDriver(
name: string,
type: c.PatchType,
body: StorageV1.CSIDriver | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<StorageV1.CSIDriver>
patchCSINode(
name: string,
type: c.PatchType,
body: StorageV1.CSINode | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<StorageV1.CSINode>
patchStorageClass(
name: string,
type: c.PatchType,
body: StorageV1.StorageClass | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<StorageV1.StorageClass>
patchVolumeAttachment(
name: string,
type: c.PatchType,
body: StorageV1.VolumeAttachment | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<StorageV1.VolumeAttachment>
patchVolumeAttachmentStatus(
name: string,
type: c.PatchType,
body: StorageV1.VolumeAttachment | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<StorageV1.VolumeAttachment>
replaceCSIDriver(
name: string,
body: StorageV1.CSIDriver,
opts?: operations.PutOpts,
): Promise<StorageV1.CSIDriver>
replaceCSINode(
name: string,
body: StorageV1.CSINode,
opts?: operations.PutOpts,
): Promise<StorageV1.CSINode>
replaceStorageClass(
name: string,
body: StorageV1.StorageClass,
opts?: operations.PutOpts,
): Promise<StorageV1.StorageClass>
replaceVolumeAttachment(
name: string,
body: StorageV1.VolumeAttachment,
opts?: operations.PutOpts,
): Promise<StorageV1.VolumeAttachment>
replaceVolumeAttachmentStatus(
name: string,
body: StorageV1.VolumeAttachment,
opts?: operations.PutOpts,
): Promise<StorageV1.VolumeAttachment>
watchCSIDriverList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<StorageV1.CSIDriver>>
watchCSINodeList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<StorageV1.CSINode>>
watchCSIStorageCapacityListForAllNamespaces(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<StorageV1.CSIStorageCapacity>>
watchStorageClassList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<StorageV1.StorageClass>>
watchVolumeAttachmentList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<StorageV1.VolumeAttachment>>