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

x/kubernetes_apis/builtin/discovery.k8s.io@v1/mod.ts>DiscoveryV1NamespacedApi

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

Constructors

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

Methods

createEndpointSlice(body: DiscoveryV1.EndpointSlice, opts?: operations.PutOpts): Promise<DiscoveryV1.EndpointSlice>
deleteEndpointSlice(name: string, opts?: operations.DeleteOpts): Promise<DiscoveryV1.EndpointSlice | MetaV1.Status>
deleteEndpointSliceList(opts?: operations.DeleteListOpts): Promise<DiscoveryV1.EndpointSliceList>
getEndpointSlice(name: string, opts?: operations.NoOpts): Promise<DiscoveryV1.EndpointSlice>
getEndpointSliceList(opts?: operations.GetListOpts): Promise<DiscoveryV1.EndpointSliceList>
patchEndpointSlice(
name: string,
type: c.PatchType,
body: DiscoveryV1.EndpointSlice | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<DiscoveryV1.EndpointSlice>
replaceEndpointSlice(
name: string,
body: DiscoveryV1.EndpointSlice,
opts?: operations.PutOpts,
): Promise<DiscoveryV1.EndpointSlice>
watchEndpointSliceList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<DiscoveryV1.EndpointSlice>>