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

x/kubernetes_apis/builtin/scheduling.k8s.io@v1/mod.ts>SchedulingV1Api

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

Constructors

new
SchedulingV1Api(client: c.RestClient)

Methods

createPriorityClass(body: SchedulingV1.PriorityClass, opts?: operations.PutOpts): Promise<SchedulingV1.PriorityClass>
deletePriorityClass(name: string, opts?: operations.DeleteOpts): Promise<SchedulingV1.PriorityClass | MetaV1.Status>
deletePriorityClassList(opts?: operations.DeleteListOpts): Promise<SchedulingV1.PriorityClassList>
getPriorityClass(name: string, opts?: operations.NoOpts): Promise<SchedulingV1.PriorityClass>
getPriorityClassList(opts?: operations.GetListOpts): Promise<SchedulingV1.PriorityClassList>
patchPriorityClass(
name: string,
type: c.PatchType,
body: SchedulingV1.PriorityClass | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<SchedulingV1.PriorityClass>
replacePriorityClass(
name: string,
body: SchedulingV1.PriorityClass,
opts?: operations.PutOpts,
): Promise<SchedulingV1.PriorityClass>
watchPriorityClassList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<SchedulingV1.PriorityClass>>