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

x/kubernetes_apis/builtin/autoscaling@v2/mod.ts>AutoscalingV2NamespacedApi

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

Constructors

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

Methods

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