Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kubernetes_apis/builtin/core@v1/mod.ts>CoreV1Api

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

Constructors

new
CoreV1Api(client: c.RestClient)

Methods

createNamespace(body: CoreV1.Namespace, opts?: operations.PutOpts)
createNode(body: CoreV1.Node, opts?: operations.PutOpts)
createPersistentVolume(body: CoreV1.PersistentVolume, opts?: operations.PutOpts)
deleteNamespace(name: string, opts?: operations.DeleteOpts)
deleteNode(name: string, opts?: operations.DeleteOpts)
deleteNodeList(opts?: operations.DeleteListOpts)
deletePersistentVolume(name: string, opts?: operations.DeleteOpts)
deletePersistentVolumeList(opts?: operations.DeleteListOpts)
getComponentStatus(name: string, opts?: operations.NoOpts)
getComponentStatusList(opts?: operations.GetListOpts)
getConfigMapListForAllNamespaces(opts?: operations.GetListOpts)
getEndpointsListForAllNamespaces(opts?: operations.GetListOpts)
getEventListForAllNamespaces(opts?: operations.GetListOpts)
getLimitRangeListForAllNamespaces(opts?: operations.GetListOpts)
getNamespace(name: string, opts?: operations.NoOpts)
getNamespaceList(opts?: operations.GetListOpts)
getNamespaceStatus(name: string, opts?: operations.NoOpts)
getNode(name: string, opts?: operations.NoOpts)
getNodeList(opts?: operations.GetListOpts)
getNodeStatus(name: string, opts?: operations.NoOpts)
getPersistentVolume(name: string, opts?: operations.NoOpts)
getPersistentVolumeClaimListForAllNamespaces(opts?: operations.GetListOpts)
getPersistentVolumeList(opts?: operations.GetListOpts)
getPersistentVolumeStatus(name: string, opts?: operations.NoOpts)
getPodListForAllNamespaces(opts?: operations.GetListOpts)
getPodTemplateListForAllNamespaces(opts?: operations.GetListOpts)
getReplicationControllerListForAllNamespaces(opts?: operations.GetListOpts)
getResourceQuotaListForAllNamespaces(opts?: operations.GetListOpts)
getSecretListForAllNamespaces(opts?: operations.GetListOpts)
getServiceAccountListForAllNamespaces(opts?: operations.GetListOpts)
getServiceListForAllNamespaces(opts?: operations.GetListOpts)
namespace(name: string)
patchNamespace(
name: string,
type: c.PatchType,
body: CoreV1.Namespace | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchNamespaceStatus(
name: string,
type: c.PatchType,
body: CoreV1.Namespace | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchNode(
name: string,
type: c.PatchType,
body: CoreV1.Node | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchNodeStatus(
name: string,
type: c.PatchType,
body: CoreV1.Node | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchPersistentVolume(
name: string,
type: c.PatchType,
body: CoreV1.PersistentVolume | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchPersistentVolumeStatus(
name: string,
type: c.PatchType,
body: CoreV1.PersistentVolume | c.JsonPatch,
opts?: operations.PatchOpts,
)
proxyNodeRequest(nodeName: string, opts: c.ProxyOptions & { expectStream: true; expectJson: true; }): Promise<ReadableStream<c.JSONValue>>
proxyNodeRequest(nodeName: string, opts: c.ProxyOptions & { expectStream: true; }): Promise<ReadableStream<Uint8Array>>
proxyNodeRequest(nodeName: string, opts: c.ProxyOptions & { expectJson: true; }): Promise<c.JSONValue>
proxyNodeRequest(nodeName: string, opts: c.ProxyOptions): Promise<Uint8Array>
replaceNamespace(
name: string,
body: CoreV1.Namespace,
opts?: operations.PutOpts,
)
replaceNamespaceFinalize(
name: string,
body: CoreV1.Namespace,
opts?: operations.PutOpts,
)
replaceNamespaceStatus(
name: string,
body: CoreV1.Namespace,
opts?: operations.PutOpts,
)
replaceNode(
name: string,
body: CoreV1.Node,
opts?: operations.PutOpts,
)
replaceNodeStatus(
name: string,
body: CoreV1.Node,
opts?: operations.PutOpts,
)
replacePersistentVolume(
name: string,
body: CoreV1.PersistentVolume,
opts?: operations.PutOpts,
)
replacePersistentVolumeStatus(
name: string,
body: CoreV1.PersistentVolume,
opts?: operations.PutOpts,
)
watchConfigMapListForAllNamespaces(opts?: operations.WatchListOpts)
watchEndpointsListForAllNamespaces(opts?: operations.WatchListOpts)
watchEventListForAllNamespaces(opts?: operations.WatchListOpts)
watchLimitRangeListForAllNamespaces(opts?: operations.WatchListOpts)
watchNamespaceList(opts?: operations.WatchListOpts)
watchNodeList(opts?: operations.WatchListOpts)
watchPersistentVolumeClaimListForAllNamespaces(opts?: operations.WatchListOpts)
watchPersistentVolumeList(opts?: operations.WatchListOpts)
watchPodListForAllNamespaces(opts?: operations.WatchListOpts)
watchPodTemplateListForAllNamespaces(opts?: operations.WatchListOpts)
watchReplicationControllerListForAllNamespaces(opts?: operations.WatchListOpts)
watchResourceQuotaListForAllNamespaces(opts?: operations.WatchListOpts)
watchSecretListForAllNamespaces(opts?: operations.WatchListOpts)
watchServiceAccountListForAllNamespaces(opts?: operations.WatchListOpts)
watchServiceListForAllNamespaces(opts?: operations.WatchListOpts)