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

x/kubernetes_apis/builtin/autoscaling@v1/mod.ts>AutoscalingV1NamespacedApi

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

Constructors

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

Methods

createHorizontalPodAutoscaler(body: AutoscalingV1.HorizontalPodAutoscaler, opts?: operations.PutOpts): Promise<AutoscalingV1.HorizontalPodAutoscaler>
deleteHorizontalPodAutoscaler(name: string, opts?: operations.DeleteOpts): Promise<AutoscalingV1.HorizontalPodAutoscaler | MetaV1.Status>
deleteHorizontalPodAutoscalerList(opts?: operations.DeleteListOpts): Promise<AutoscalingV1.HorizontalPodAutoscalerList>
getHorizontalPodAutoscaler(name: string, opts?: operations.NoOpts): Promise<AutoscalingV1.HorizontalPodAutoscaler>
getHorizontalPodAutoscalerList(opts?: operations.GetListOpts): Promise<AutoscalingV1.HorizontalPodAutoscalerList>
getHorizontalPodAutoscalerStatus(name: string, opts?: operations.NoOpts): Promise<AutoscalingV1.HorizontalPodAutoscaler>
patchHorizontalPodAutoscaler(
name: string,
type: c.PatchType,
body: AutoscalingV1.HorizontalPodAutoscaler | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<AutoscalingV1.HorizontalPodAutoscaler>
patchHorizontalPodAutoscalerStatus(
name: string,
type: c.PatchType,
body: AutoscalingV1.HorizontalPodAutoscaler | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<AutoscalingV1.HorizontalPodAutoscaler>
replaceHorizontalPodAutoscaler(
name: string,
body: AutoscalingV1.HorizontalPodAutoscaler,
opts?: operations.PutOpts,
): Promise<AutoscalingV1.HorizontalPodAutoscaler>
replaceHorizontalPodAutoscalerStatus(
name: string,
body: AutoscalingV1.HorizontalPodAutoscaler,
opts?: operations.PutOpts,
): Promise<AutoscalingV1.HorizontalPodAutoscaler>
watchHorizontalPodAutoscalerList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<AutoscalingV1.HorizontalPodAutoscaler>>