Packages

final case class Event(involvedObject: ObjectReference, metadata: ObjectMeta, 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, 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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Event
  2. KObject
  3. Product
  4. Equals
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Event(involvedObject: ObjectReference, metadata: ObjectMeta, 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, message: Option[String] = None, firstTimestamp: Option[Time] = None, type: Option[String] = None, reportingInstance: Option[String] = None, action: Option[String] = None)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val _resourceKind: ResourceKind
    Attributes
    protected
    Definition Classes
    EventKObject
  5. val action: Option[String]
  6. final lazy val apiVersion: String
    Definition Classes
    KObject
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. val count: Option[Int]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. val eventTime: Option[MicroTime]
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. val firstTimestamp: Option[Time]
  14. def foldTo[T](implicit arg0: Builder[T]): T
    Definition Classes
    EventKObject
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def group: String
    Definition Classes
    KObject
  17. val involvedObject: ObjectReference
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final lazy val kind: String
    Definition Classes
    KObject
  20. val lastTimestamp: Option[Time]
  21. def mapAction(f: (String) => String): Event

    if action has a value, transforms to the result of function

  22. def mapCount(f: (Int) => Int): Event

    if count has a value, transforms to the result of function

  23. def mapEventTime(f: (MicroTime) => MicroTime): Event

    if eventTime has a value, transforms to the result of function

  24. def mapFirstTimestamp(f: (Time) => Time): Event

    if firstTimestamp has a value, transforms to the result of function

  25. def mapInvolvedObject(f: (ObjectReference) => ObjectReference): Event

    transforms involvedObject to result of function

  26. def mapLastTimestamp(f: (Time) => Time): Event

    if lastTimestamp has a value, transforms to the result of function

  27. def mapMessage(f: (String) => String): Event

    if message has a value, transforms to the result of function

  28. def mapMetadata(f: (ObjectMeta) => ObjectMeta): Event

    transforms metadata to result of function

  29. def mapReason(f: (String) => String): Event

    if reason has a value, transforms to the result of function

  30. def mapRelated(f: (ObjectReference) => ObjectReference): Event

    if related has a value, transforms to the result of function

  31. def mapReportingComponent(f: (String) => String): Event

    if reportingComponent has a value, transforms to the result of function

  32. def mapReportingInstance(f: (String) => String): Event

    if reportingInstance has a value, transforms to the result of function

  33. def mapSeries(f: (EventSeries) => EventSeries): Event

    if series has a value, transforms to the result of function

  34. def mapSource(f: (EventSource) => EventSource): Event

    if source has a value, transforms to the result of function

  35. def mapType(f: (String) => String): Event

    if type has a value, transforms to the result of function

  36. val message: Option[String]
  37. val metadata: ObjectMeta
  38. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. def productElementNames: Iterator[String]
    Definition Classes
    Product
  42. val reason: Option[String]
  43. val related: Option[ObjectReference]
  44. val reportingComponent: Option[String]
  45. val reportingInstance: Option[String]
  46. val series: Option[EventSeries]
  47. val source: Option[EventSource]
  48. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  49. val type: Option[String]
  50. final lazy val version: String
    Definition Classes
    KObject
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  52. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  53. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  54. def withAction(value: String): Event

    Returns a new data with action set to new value

  55. def withCount(value: Int): Event

    Returns a new data with count set to new value

  56. def withEventTime(value: MicroTime): Event

    Returns a new data with eventTime set to new value

  57. def withFirstTimestamp(value: Time): Event

    Returns a new data with firstTimestamp set to new value

  58. def withInvolvedObject(value: ObjectReference): Event

    Returns a new data with involvedObject set to new value

  59. def withLastTimestamp(value: Time): Event

    Returns a new data with lastTimestamp set to new value

  60. def withMessage(value: String): Event

    Returns a new data with message set to new value

  61. def withMetadata(value: ObjectMeta): Event

    Returns a new data with metadata set to new value

  62. def withReason(value: String): Event

    Returns a new data with reason set to new value

  63. def withRelated(value: ObjectReference): Event

    Returns a new data with related set to new value

  64. def withReportingComponent(value: String): Event

    Returns a new data with reportingComponent set to new value

  65. def withReportingInstance(value: String): Event

    Returns a new data with reportingInstance set to new value

  66. def withSeries(value: EventSeries): Event

    Returns a new data with series set to new value

  67. def withSource(value: EventSource): Event

    Returns a new data with source set to new value

  68. def withType(value: String): Event

    Returns a new data with type set to new value

Inherited from KObject

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped