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

x/kubernetes_apis/builtin/events.k8s.io@v1/mod.ts>EventsV1NamespacedApi

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

Constructors

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

Methods

createEvent(body: EventsV1.Event, opts?: operations.PutOpts): Promise<EventsV1.Event>
deleteEvent(name: string, opts?: operations.DeleteOpts): Promise<EventsV1.Event | MetaV1.Status>
deleteEventList(opts?: operations.DeleteListOpts): Promise<EventsV1.EventList>
getEvent(name: string, opts?: operations.NoOpts): Promise<EventsV1.Event>
getEventList(opts?: operations.GetListOpts): Promise<EventsV1.EventList>
patchEvent(
name: string,
type: c.PatchType,
body: EventsV1.Event | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<EventsV1.Event>
replaceEvent(
name: string,
body: EventsV1.Event,
opts?: operations.PutOpts,
): Promise<EventsV1.Event>
watchEventList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<EventsV1.Event>>