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

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

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

Interfaces

Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.

EventList is a list of Event objects.

EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in "k8s.io/client-go/tools/events/event_broadcaster.go" shows how this struct is updated on heartbeats and can guide customized reporter implementations.