Event

final case class Event(involvedObject: ObjectReference, metadata: ObjectMeta, series: Option[EventSeries], count: Option[Int], source: Option[EventSource], reportingComponent: Option[String], reason: Option[String], related: Option[ObjectReference], eventTime: Option[MicroTime], lastTimestamp: Option[Time], message: Option[String], firstTimestamp: Option[Time], `type`: Option[String], reportingInstance: Option[String], action: Option[String]) extends KObject

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.

Companion:
object
Source:
Event.scala
trait KObject
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

override def foldTo[T : Builder]: T
Definition Classes
Source:
Event.scala

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

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

Source:
Event.scala
def mapCount(f: Int => Int): Event

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

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

Source:
Event.scala

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

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

Source:
Event.scala

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

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

Source:
Event.scala

transforms involvedObject to result of function

transforms involvedObject to result of function

Source:
Event.scala

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

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

Source:
Event.scala

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

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

Source:
Event.scala

transforms metadata to result of function

transforms metadata to result of function

Source:
Event.scala

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

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

Source:
Event.scala

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

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

Source:
Event.scala

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

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

Source:
Event.scala

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

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

Source:
Event.scala

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

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

Source:
Event.scala

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

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

Source:
Event.scala

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

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

Source:
Event.scala
def withAction(value: String): Event

Returns a new data with action set to new value

Returns a new data with action set to new value

Source:
Event.scala
def withCount(value: Int): Event

Returns a new data with count set to new value

Returns a new data with count set to new value

Source:
Event.scala

Returns a new data with eventTime set to new value

Returns a new data with eventTime set to new value

Source:
Event.scala

Returns a new data with firstTimestamp set to new value

Returns a new data with firstTimestamp set to new value

Source:
Event.scala

Returns a new data with involvedObject set to new value

Returns a new data with involvedObject set to new value

Source:
Event.scala

Returns a new data with lastTimestamp set to new value

Returns a new data with lastTimestamp set to new value

Source:
Event.scala
def withMessage(value: String): Event

Returns a new data with message set to new value

Returns a new data with message set to new value

Source:
Event.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Source:
Event.scala
def withReason(value: String): Event

Returns a new data with reason set to new value

Returns a new data with reason set to new value

Source:
Event.scala

Returns a new data with related set to new value

Returns a new data with related set to new value

Source:
Event.scala

Returns a new data with reportingComponent set to new value

Returns a new data with reportingComponent set to new value

Source:
Event.scala

Returns a new data with reportingInstance set to new value

Returns a new data with reportingInstance set to new value

Source:
Event.scala

Returns a new data with series set to new value

Returns a new data with series set to new value

Source:
Event.scala

Returns a new data with source set to new value

Returns a new data with source set to new value

Source:
Event.scala
def withType(value: String): Event

Returns a new data with type set to new value

Returns a new data with type set to new value

Source:
Event.scala

Inherited methods

final def group: String
Inherited from:
KObject
Source:
ResourceKind.scala
Inherited from:
Product

Inherited fields

final lazy val apiVersion: String
Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val kind: String
Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val version: String
Inherited from:
KObject
Source:
ResourceKind.scala