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

x/kubernetes_apis/builtin/coordination.k8s.io@v1/mod.ts>CoordinationV1NamespacedApi

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

Constructors

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

Methods

createLease(body: CoordinationV1.Lease, opts?: operations.PutOpts): Promise<CoordinationV1.Lease>
deleteLease(name: string, opts?: operations.DeleteOpts): Promise<CoordinationV1.Lease | MetaV1.Status>
deleteLeaseList(opts?: operations.DeleteListOpts): Promise<CoordinationV1.LeaseList>
getLease(name: string, opts?: operations.NoOpts): Promise<CoordinationV1.Lease>
getLeaseList(opts?: operations.GetListOpts): Promise<CoordinationV1.LeaseList>
patchLease(
name: string,
type: c.PatchType,
body: CoordinationV1.Lease | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<CoordinationV1.Lease>
replaceLease(
name: string,
body: CoordinationV1.Lease,
opts?: operations.PutOpts,
): Promise<CoordinationV1.Lease>
watchLeaseList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<CoordinationV1.Lease>>