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>CoreV1NamespacedApi

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

Constructors

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

Methods

createBinding(body: CoreV1.Binding, opts?: operations.PutOpts)
createConfigMap(body: CoreV1.ConfigMap, opts?: operations.PutOpts)
createEndpoints(body: CoreV1.Endpoints, opts?: operations.PutOpts)
createEvent(body: CoreV1.Event, opts?: operations.PutOpts)
createLimitRange(body: CoreV1.LimitRange, opts?: operations.PutOpts)
createPersistentVolumeClaim(body: CoreV1.PersistentVolumeClaim, opts?: operations.PutOpts)
createPod(body: CoreV1.Pod, opts?: operations.PutOpts)
createPodBinding(
name: string,
body: CoreV1.Binding,
opts?: operations.PutOpts,
)
createPodEviction(
name: string,
body: PolicyV1.Eviction,
opts?: operations.PutOpts,
)
createPodTemplate(body: CoreV1.PodTemplate, opts?: operations.PutOpts)
createReplicationController(body: CoreV1.ReplicationController, opts?: operations.PutOpts)
createResourceQuota(body: CoreV1.ResourceQuota, opts?: operations.PutOpts)
createSecret(body: CoreV1.Secret, opts?: operations.PutOpts)
createService(body: CoreV1.Service, opts?: operations.PutOpts)
createServiceAccount(body: CoreV1.ServiceAccount, opts?: operations.PutOpts)
createServiceAccountToken(
name: string,
body: AuthenticationV1.TokenRequest,
opts?: operations.PutOpts,
)
deleteConfigMap(name: string, opts?: operations.DeleteOpts)
deleteConfigMapList(opts?: operations.DeleteListOpts)
deleteEndpoints(name: string, opts?: operations.DeleteOpts)
deleteEndpointsList(opts?: operations.DeleteListOpts)
deleteEvent(name: string, opts?: operations.DeleteOpts)
deleteEventList(opts?: operations.DeleteListOpts)
deleteLimitRange(name: string, opts?: operations.DeleteOpts)
deleteLimitRangeList(opts?: operations.DeleteListOpts)
deletePersistentVolumeClaim(name: string, opts?: operations.DeleteOpts)
deletePersistentVolumeClaimList(opts?: operations.DeleteListOpts)
deletePod(name: string, opts?: operations.DeleteOpts)
deletePodList(opts?: operations.DeleteListOpts)
deletePodTemplate(name: string, opts?: operations.DeleteOpts)
deletePodTemplateList(opts?: operations.DeleteListOpts)
deleteReplicationController(name: string, opts?: operations.DeleteOpts)
deleteReplicationControllerList(opts?: operations.DeleteListOpts)
deleteResourceQuota(name: string, opts?: operations.DeleteOpts)
deleteResourceQuotaList(opts?: operations.DeleteListOpts)
deleteSecret(name: string, opts?: operations.DeleteOpts)
deleteSecretList(opts?: operations.DeleteListOpts)
deleteService(name: string, opts?: operations.DeleteOpts)
deleteServiceAccount(name: string, opts?: operations.DeleteOpts)
deleteServiceAccountList(opts?: operations.DeleteListOpts)
deleteServiceList(opts?: operations.DeleteListOpts)
getConfigMap(name: string, opts?: operations.NoOpts)
getConfigMapList(opts?: operations.GetListOpts)
getEndpoints(name: string, opts?: operations.NoOpts)
getEndpointsList(opts?: operations.GetListOpts)
getEvent(name: string, opts?: operations.NoOpts)
getEventList(opts?: operations.GetListOpts)
getLimitRange(name: string, opts?: operations.NoOpts)
getLimitRangeList(opts?: operations.GetListOpts)
getPersistentVolumeClaim(name: string, opts?: operations.NoOpts)
getPersistentVolumeClaimList(opts?: operations.GetListOpts)
getPersistentVolumeClaimStatus(name: string, opts?: operations.NoOpts)
getPod(name: string, opts?: operations.NoOpts)
getPodEphemeralcontainers(name: string, opts?: operations.NoOpts)
getPodList(opts?: operations.GetListOpts)
getPodLog(name: string, opts?: { container?: string; insecureSkipTLSVerifyBackend?: boolean; limitBytes?: number; previous?: boolean; sinceSeconds?: number; tailLines?: number; timestamps?: boolean; abortSignal?: AbortSignal; })
getPodStatus(name: string, opts?: operations.NoOpts)
getPodTemplate(name: string, opts?: operations.NoOpts)
getPodTemplateList(opts?: operations.GetListOpts)
getReplicationController(name: string, opts?: operations.NoOpts)
getReplicationControllerList(opts?: operations.GetListOpts)
getReplicationControllerScale(name: string, opts?: operations.NoOpts)
getReplicationControllerStatus(name: string, opts?: operations.NoOpts)
getResourceQuota(name: string, opts?: operations.NoOpts)
getResourceQuotaList(opts?: operations.GetListOpts)
getResourceQuotaStatus(name: string, opts?: operations.NoOpts)
getSecret(name: string, opts?: operations.NoOpts)
getSecretList(opts?: operations.GetListOpts)
getService(name: string, opts?: operations.NoOpts)
getServiceAccount(name: string, opts?: operations.NoOpts)
getServiceAccountList(opts?: operations.GetListOpts)
getServiceList(opts?: operations.GetListOpts)
getServiceStatus(name: string, opts?: operations.NoOpts)
patchConfigMap(
name: string,
type: c.PatchType,
body: CoreV1.ConfigMap | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchEndpoints(
name: string,
type: c.PatchType,
body: CoreV1.Endpoints | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchEvent(
name: string,
type: c.PatchType,
body: CoreV1.Event | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchLimitRange(
name: string,
type: c.PatchType,
body: CoreV1.LimitRange | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchPersistentVolumeClaim(
name: string,
type: c.PatchType,
body: CoreV1.PersistentVolumeClaim | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchPersistentVolumeClaimStatus(
name: string,
type: c.PatchType,
body: CoreV1.PersistentVolumeClaim | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchPod(
name: string,
type: c.PatchType,
body: CoreV1.Pod | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchPodEphemeralcontainers(
name: string,
type: c.PatchType,
body: CoreV1.Pod | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchPodStatus(
name: string,
type: c.PatchType,
body: CoreV1.Pod | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchPodTemplate(
name: string,
type: c.PatchType,
body: CoreV1.PodTemplate | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchReplicationController(
name: string,
type: c.PatchType,
body: CoreV1.ReplicationController | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchReplicationControllerScale(
name: string,
type: c.PatchType,
body: AutoscalingV1.Scale | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchReplicationControllerStatus(
name: string,
type: c.PatchType,
body: CoreV1.ReplicationController | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchResourceQuota(
name: string,
type: c.PatchType,
body: CoreV1.ResourceQuota | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchResourceQuotaStatus(
name: string,
type: c.PatchType,
body: CoreV1.ResourceQuota | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchSecret(
name: string,
type: c.PatchType,
body: CoreV1.Secret | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchService(
name: string,
type: c.PatchType,
body: CoreV1.Service | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchServiceAccount(
name: string,
type: c.PatchType,
body: CoreV1.ServiceAccount | c.JsonPatch,
opts?: operations.PatchOpts,
)
patchServiceStatus(
name: string,
type: c.PatchType,
body: CoreV1.Service | c.JsonPatch,
opts?: operations.PatchOpts,
)
proxyPodRequest(podName: string, opts: c.ProxyOptions & { expectStream: true; expectJson: true; }): Promise<ReadableStream<c.JSONValue>>
proxyPodRequest(podName: string, opts: c.ProxyOptions & { expectStream: true; }): Promise<ReadableStream<Uint8Array>>
proxyPodRequest(podName: string, opts: c.ProxyOptions & { expectJson: true; }): Promise<c.JSONValue>
proxyPodRequest(podName: string, opts: c.ProxyOptions): Promise<Uint8Array>
proxyServiceRequest(serviceName: string, opts: c.ProxyOptions & { expectStream: true; expectJson: true; }): Promise<ReadableStream<c.JSONValue>>
proxyServiceRequest(serviceName: string, opts: c.ProxyOptions & { expectStream: true; }): Promise<ReadableStream<Uint8Array>>
proxyServiceRequest(serviceName: string, opts: c.ProxyOptions & { expectJson: true; }): Promise<c.JSONValue>
proxyServiceRequest(serviceName: string, opts: c.ProxyOptions): Promise<Uint8Array>
replaceConfigMap(
name: string,
body: CoreV1.ConfigMap,
opts?: operations.PutOpts,
)
replaceEndpoints(
name: string,
body: CoreV1.Endpoints,
opts?: operations.PutOpts,
)
replaceEvent(
name: string,
body: CoreV1.Event,
opts?: operations.PutOpts,
)
replaceLimitRange(
name: string,
body: CoreV1.LimitRange,
opts?: operations.PutOpts,
)
replacePersistentVolumeClaim(
name: string,
body: CoreV1.PersistentVolumeClaim,
opts?: operations.PutOpts,
)
replacePersistentVolumeClaimStatus(
name: string,
body: CoreV1.PersistentVolumeClaim,
opts?: operations.PutOpts,
)
replacePod(
name: string,
body: CoreV1.Pod,
opts?: operations.PutOpts,
)
replacePodEphemeralcontainers(
name: string,
body: CoreV1.Pod,
opts?: operations.PutOpts,
)
replacePodStatus(
name: string,
body: CoreV1.Pod,
opts?: operations.PutOpts,
)
replacePodTemplate(
name: string,
body: CoreV1.PodTemplate,
opts?: operations.PutOpts,
)
replaceReplicationController(
name: string,
body: CoreV1.ReplicationController,
opts?: operations.PutOpts,
)
replaceReplicationControllerScale(
name: string,
body: AutoscalingV1.Scale,
opts?: operations.PutOpts,
)
replaceReplicationControllerStatus(
name: string,
body: CoreV1.ReplicationController,
opts?: operations.PutOpts,
)
replaceResourceQuota(
name: string,
body: CoreV1.ResourceQuota,
opts?: operations.PutOpts,
)
replaceResourceQuotaStatus(
name: string,
body: CoreV1.ResourceQuota,
opts?: operations.PutOpts,
)
replaceSecret(
name: string,
body: CoreV1.Secret,
opts?: operations.PutOpts,
)
replaceService(
name: string,
body: CoreV1.Service,
opts?: operations.PutOpts,
)
replaceServiceAccount(
name: string,
body: CoreV1.ServiceAccount,
opts?: operations.PutOpts,
)
replaceServiceStatus(
name: string,
body: CoreV1.Service,
opts?: operations.PutOpts,
)
streamPodLog(name: string, opts?: { container?: string; follow?: boolean; insecureSkipTLSVerifyBackend?: boolean; limitBytes?: number; previous?: boolean; sinceSeconds?: number; tailLines?: number; timestamps?: boolean; abortSignal?: AbortSignal; })
tunnelPodAttach(name: string, opts: { container?: string; stderr?: boolean; stdin?: boolean; stdout: boolean; tty?: boolean; abortSignal?: AbortSignal; })
tunnelPodExec(name: string, opts: { command: Array<string>; container?: string; stderr?: boolean; stdin?: boolean; stdout: boolean; tty?: boolean; abortSignal?: AbortSignal; })
tunnelPodPortforward(name: string, opts?: { ports?: Array<number>; abortSignal?: AbortSignal; })
watchConfigMapList(opts?: operations.WatchListOpts)
watchEndpointsList(opts?: operations.WatchListOpts)
watchEventList(opts?: operations.WatchListOpts)
watchLimitRangeList(opts?: operations.WatchListOpts)
watchPersistentVolumeClaimList(opts?: operations.WatchListOpts)
watchPodList(opts?: operations.WatchListOpts)
watchPodTemplateList(opts?: operations.WatchListOpts)
watchReplicationControllerList(opts?: operations.WatchListOpts)
watchResourceQuotaList(opts?: operations.WatchListOpts)
watchSecretList(opts?: operations.WatchListOpts)
watchServiceAccountList(opts?: operations.WatchListOpts)
watchServiceList(opts?: operations.WatchListOpts)