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

x/kubernetes_apis/builtin/node.k8s.io@v1/mod.ts>NodeV1Api

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

Constructors

new
NodeV1Api(client: c.RestClient)

Methods

createRuntimeClass(body: NodeV1.RuntimeClass, opts?: operations.PutOpts): Promise<NodeV1.RuntimeClass>
deleteRuntimeClass(name: string, opts?: operations.DeleteOpts): Promise<NodeV1.RuntimeClass | MetaV1.Status>
deleteRuntimeClassList(opts?: operations.DeleteListOpts): Promise<NodeV1.RuntimeClassList>
getRuntimeClass(name: string, opts?: operations.NoOpts): Promise<NodeV1.RuntimeClass>
getRuntimeClassList(opts?: operations.GetListOpts): Promise<NodeV1.RuntimeClassList>
patchRuntimeClass(
name: string,
type: c.PatchType,
body: NodeV1.RuntimeClass | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<NodeV1.RuntimeClass>
replaceRuntimeClass(
name: string,
body: NodeV1.RuntimeClass,
opts?: operations.PutOpts,
): Promise<NodeV1.RuntimeClass>
watchRuntimeClassList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<NodeV1.RuntimeClass>>