Event

final case class Event(eventTime: MicroTime, regarding: Option[ObjectReference], series: Option[EventSeries], reason: Option[String], deprecatedCount: Option[Int], related: Option[ObjectReference], deprecatedFirstTimestamp: Option[Time], note: Option[String], reportingController: Option[String], metadata: Option[ObjectMeta], deprecatedSource: Option[EventSource], `type`: Option[String], deprecatedLastTimestamp: Option[Time], reportingInstance: Option[String], action: Option[String]) extends KObject

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.

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

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

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

Source:
Event.scala

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

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

Source:
Event.scala

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

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

Source:
Event.scala

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

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

Source:
Event.scala

transforms eventTime to result of function

transforms eventTime to result of function

Source:
Event.scala

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

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

Source:
Event.scala

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

if note has a value, transforms to the 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 regarding has a value, transforms to the result of function

if regarding 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 reportingController has a value, transforms to the result of function

if reportingController 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 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

Returns a new data with deprecatedCount set to new value

Returns a new data with deprecatedCount set to new value

Source:
Event.scala

Returns a new data with deprecatedFirstTimestamp set to new value

Returns a new data with deprecatedFirstTimestamp set to new value

Source:
Event.scala

Returns a new data with deprecatedLastTimestamp set to new value

Returns a new data with deprecatedLastTimestamp set to new value

Source:
Event.scala

Returns a new data with deprecatedSource set to new value

Returns a new data with deprecatedSource 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 metadata set to new value

Returns a new data with metadata set to new value

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

Returns a new data with note set to new value

Returns a new data with note 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 regarding set to new value

Returns a new data with regarding 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 reportingController set to new value

Returns a new data with reportingController 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
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