final case class Event(involvedObject: ObjectReference, series: Option[EventSeries] = None, count: Option[Int] = None, source: Option[EventSource] = None, reportingComponent: Option[String] = None, reason: Option[String] = None, related: Option[ObjectReference] = None, eventTime: Option[MicroTime] = None, lastTimestamp: Option[Time] = None, metadata: ObjectMeta, message: Option[String] = None, firstTimestamp: Option[Time] = None, type: Option[String] = 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. 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.
- Source
- Event.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Event
- KObject
- Product
- Equals
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Event(involvedObject: ObjectReference, series: Option[EventSeries] = None, count: Option[Int] = None, source: Option[EventSource] = None, reportingComponent: Option[String] = None, reason: Option[String] = None, related: Option[ObjectReference] = None, eventTime: Option[MicroTime] = None, lastTimestamp: Option[Time] = None, metadata: ObjectMeta, message: Option[String] = None, firstTimestamp: Option[Time] = None, type: Option[String] = None, reportingInstance: Option[String] = None, action: Option[String] = None)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val _resourceKind: ResourceKind
- val action: Option[String]
-
final
lazy val
apiVersion: String
- Definition Classes
- KObject
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val count: Option[Int]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val eventTime: Option[MicroTime]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val firstTimestamp: Option[Time]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
group: String
- Definition Classes
- KObject
- val involvedObject: ObjectReference
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
lazy val
kind: String
- Definition Classes
- KObject
- val lastTimestamp: Option[Time]
- val message: Option[String]
- val metadata: ObjectMeta
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val reason: Option[String]
- val related: Option[ObjectReference]
- val reportingComponent: Option[String]
- val reportingInstance: Option[String]
- val series: Option[EventSeries]
- val source: Option[EventSource]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val type: Option[String]
-
final
lazy val
version: String
- Definition Classes
- KObject
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withAction(value: String): Event
- def withCount(value: Int): Event
- def withEventTime(value: MicroTime): Event
- def withFirstTimestamp(value: Time): Event
- def withInvolvedObject(value: ObjectReference): Event
- def withLastTimestamp(value: Time): Event
- def withMessage(value: String): Event
- def withMetadata(value: ObjectMeta): Event
- def withReason(value: String): Event
- def withRelated(value: ObjectReference): Event
- def withReportingComponent(value: String): Event
- def withReportingInstance(value: String): Event
- def withSeries(value: EventSeries): Event
- def withSource(value: EventSource): Event
- def withType(value: String): Event