Package-level declarations

Types

Link copied to clipboard
data class Event(val action: String? = null, val apiVersion: String? = null, val deprecatedCount: Int? = null, val deprecatedFirstTimestamp: String? = null, val deprecatedLastTimestamp: String? = null, val deprecatedSource: EventSource? = null, val eventTime: String, val kind: String? = null, val metadata: ObjectMeta? = null, val note: String? = null, val reason: String? = null, val regarding: ObjectReference? = null, val related: ObjectReference? = null, val reportingController: String? = null, val reportingInstance: String? = null, val series: EventSeries? = null, val type: String? = null)

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.

Link copied to clipboard
data class EventSeries(val count: Int, val lastObservedTime: String)

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.

Link copied to clipboard
data class EventSeriesPatch(val count: Int? = null, val lastObservedTime: String? = null)

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.