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

x/kubernetes_apis/builtin/apps@v1/mod.ts>AppsV1NamespacedApi

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

Constructors

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

Methods

createControllerRevision(body: AppsV1.ControllerRevision, opts?: operations.PutOpts): Promise<AppsV1.ControllerRevision>
createDaemonSet(body: AppsV1.DaemonSet, opts?: operations.PutOpts): Promise<AppsV1.DaemonSet>
createDeployment(body: AppsV1.Deployment, opts?: operations.PutOpts): Promise<AppsV1.Deployment>
createReplicaSet(body: AppsV1.ReplicaSet, opts?: operations.PutOpts): Promise<AppsV1.ReplicaSet>
createStatefulSet(body: AppsV1.StatefulSet, opts?: operations.PutOpts): Promise<AppsV1.StatefulSet>
deleteControllerRevision(name: string, opts?: operations.DeleteOpts): Promise<AppsV1.ControllerRevision | MetaV1.Status>
deleteControllerRevisionList(opts?: operations.DeleteListOpts): Promise<AppsV1.ControllerRevisionList>
deleteDaemonSet(name: string, opts?: operations.DeleteOpts): Promise<AppsV1.DaemonSet | MetaV1.Status>
deleteDaemonSetList(opts?: operations.DeleteListOpts): Promise<AppsV1.DaemonSetList>
deleteDeployment(name: string, opts?: operations.DeleteOpts): Promise<AppsV1.Deployment | MetaV1.Status>
deleteDeploymentList(opts?: operations.DeleteListOpts): Promise<AppsV1.DeploymentList>
deleteReplicaSet(name: string, opts?: operations.DeleteOpts): Promise<AppsV1.ReplicaSet | MetaV1.Status>
deleteReplicaSetList(opts?: operations.DeleteListOpts): Promise<AppsV1.ReplicaSetList>
deleteStatefulSet(name: string, opts?: operations.DeleteOpts): Promise<AppsV1.StatefulSet | MetaV1.Status>
deleteStatefulSetList(opts?: operations.DeleteListOpts): Promise<AppsV1.StatefulSetList>
getControllerRevision(name: string, opts?: operations.NoOpts): Promise<AppsV1.ControllerRevision>
getControllerRevisionList(opts?: operations.GetListOpts): Promise<AppsV1.ControllerRevisionList>
getDaemonSet(name: string, opts?: operations.NoOpts): Promise<AppsV1.DaemonSet>
getDaemonSetList(opts?: operations.GetListOpts): Promise<AppsV1.DaemonSetList>
getDaemonSetStatus(name: string, opts?: operations.NoOpts): Promise<AppsV1.DaemonSet>
getDeployment(name: string, opts?: operations.NoOpts): Promise<AppsV1.Deployment>
getDeploymentList(opts?: operations.GetListOpts): Promise<AppsV1.DeploymentList>
getDeploymentScale(name: string, opts?: operations.NoOpts): Promise<AutoscalingV1.Scale>
getDeploymentStatus(name: string, opts?: operations.NoOpts): Promise<AppsV1.Deployment>
getReplicaSet(name: string, opts?: operations.NoOpts): Promise<AppsV1.ReplicaSet>
getReplicaSetList(opts?: operations.GetListOpts): Promise<AppsV1.ReplicaSetList>
getReplicaSetScale(name: string, opts?: operations.NoOpts): Promise<AutoscalingV1.Scale>
getReplicaSetStatus(name: string, opts?: operations.NoOpts): Promise<AppsV1.ReplicaSet>
getStatefulSet(name: string, opts?: operations.NoOpts): Promise<AppsV1.StatefulSet>
getStatefulSetList(opts?: operations.GetListOpts): Promise<AppsV1.StatefulSetList>
getStatefulSetScale(name: string, opts?: operations.NoOpts): Promise<AutoscalingV1.Scale>
getStatefulSetStatus(name: string, opts?: operations.NoOpts): Promise<AppsV1.StatefulSet>
patchControllerRevision(
name: string,
type: c.PatchType,
body: AppsV1.ControllerRevision | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<AppsV1.ControllerRevision>
patchDaemonSet(
name: string,
type: c.PatchType,
body: AppsV1.DaemonSet | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<AppsV1.DaemonSet>
patchDaemonSetStatus(
name: string,
type: c.PatchType,
body: AppsV1.DaemonSet | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<AppsV1.DaemonSet>
patchDeployment(
name: string,
type: c.PatchType,
body: AppsV1.Deployment | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<AppsV1.Deployment>
patchDeploymentScale(
name: string,
type: c.PatchType,
body: AutoscalingV1.Scale | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<AutoscalingV1.Scale>
patchDeploymentStatus(
name: string,
type: c.PatchType,
body: AppsV1.Deployment | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<AppsV1.Deployment>
patchReplicaSet(
name: string,
type: c.PatchType,
body: AppsV1.ReplicaSet | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<AppsV1.ReplicaSet>
patchReplicaSetScale(
name: string,
type: c.PatchType,
body: AutoscalingV1.Scale | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<AutoscalingV1.Scale>
patchReplicaSetStatus(
name: string,
type: c.PatchType,
body: AppsV1.ReplicaSet | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<AppsV1.ReplicaSet>
patchStatefulSet(
name: string,
type: c.PatchType,
body: AppsV1.StatefulSet | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<AppsV1.StatefulSet>
patchStatefulSetScale(
name: string,
type: c.PatchType,
body: AutoscalingV1.Scale | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<AutoscalingV1.Scale>
patchStatefulSetStatus(
name: string,
type: c.PatchType,
body: AppsV1.StatefulSet | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<AppsV1.StatefulSet>
replaceControllerRevision(
name: string,
body: AppsV1.ControllerRevision,
opts?: operations.PutOpts,
): Promise<AppsV1.ControllerRevision>
replaceDaemonSet(
name: string,
body: AppsV1.DaemonSet,
opts?: operations.PutOpts,
): Promise<AppsV1.DaemonSet>
replaceDaemonSetStatus(
name: string,
body: AppsV1.DaemonSet,
opts?: operations.PutOpts,
): Promise<AppsV1.DaemonSet>
replaceDeployment(
name: string,
body: AppsV1.Deployment,
opts?: operations.PutOpts,
): Promise<AppsV1.Deployment>
replaceDeploymentScale(
name: string,
body: AutoscalingV1.Scale,
opts?: operations.PutOpts,
): Promise<AutoscalingV1.Scale>
replaceDeploymentStatus(
name: string,
body: AppsV1.Deployment,
opts?: operations.PutOpts,
): Promise<AppsV1.Deployment>
replaceReplicaSet(
name: string,
body: AppsV1.ReplicaSet,
opts?: operations.PutOpts,
): Promise<AppsV1.ReplicaSet>
replaceReplicaSetScale(
name: string,
body: AutoscalingV1.Scale,
opts?: operations.PutOpts,
): Promise<AutoscalingV1.Scale>
replaceReplicaSetStatus(
name: string,
body: AppsV1.ReplicaSet,
opts?: operations.PutOpts,
): Promise<AppsV1.ReplicaSet>
replaceStatefulSet(
name: string,
body: AppsV1.StatefulSet,
opts?: operations.PutOpts,
): Promise<AppsV1.StatefulSet>
replaceStatefulSetScale(
name: string,
body: AutoscalingV1.Scale,
opts?: operations.PutOpts,
): Promise<AutoscalingV1.Scale>
replaceStatefulSetStatus(
name: string,
body: AppsV1.StatefulSet,
opts?: operations.PutOpts,
): Promise<AppsV1.StatefulSet>
watchControllerRevisionList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<AppsV1.ControllerRevision>>
watchDaemonSetList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<AppsV1.DaemonSet>>
watchDeploymentList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<AppsV1.Deployment>>
watchReplicaSetList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<AppsV1.ReplicaSet>>
watchStatefulSetList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<AppsV1.StatefulSet>>