package v1
Type Members
-
final
case class
Event(regarding: Option[ObjectReference] = None, series: Option[EventSeries] = None, reason: Option[String] = None, deprecatedCount: Option[Int] = None, related: Option[ObjectReference] = None, deprecatedFirstTimestamp: Option[Time] = None, note: Option[String] = None, reportingController: Option[String] = None, eventTime: MicroTime, metadata: Option[ObjectMeta] = None, deprecatedSource: Option[EventSource] = None, type: Option[String] = None, deprecatedLastTimestamp: Option[Time] = None, reportingInstance: Option[String] = None, action: Option[String] = None) extends KObject with Product with Serializable
Event is a report of an event somewhere in the cluster.
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.
-
final
case class
EventList(items: Seq[Event], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
EventList is a list of Event objects.
-
final
case class
EventSeries(count: Int, lastObservedTime: MicroTime) extends Product with Serializable
EventSeries contain information on series of events, i.e.
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.