Event

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

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.

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.

Value Params
action

What action was taken/failed regarding to the Regarding object.

count

The number of times this event has occurred.

message

A human-readable description of the status of this operation.

reason

This should be a short, machine understandable string that gives the reason for the transition into the object's current status.

reportingComponent

Name of the controller that emitted this Event, e.g. kubernetes.io/kubelet.

reportingInstance

ID of the controller instance, e.g. kubelet-xyzf.

type

Type of this event (Normal, Warning), new types could be added in the future

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getAction: IO[K8sFailure, String]

What action was taken/failed regarding to the Regarding object.

What action was taken/failed regarding to the Regarding object.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getCount: IO[K8sFailure, Int]

The number of times this event has occurred.

The number of times this event has occurred.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets eventTime.

Gets eventTime.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets firstTimestamp.

Gets firstTimestamp.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets involvedObject.

Gets involvedObject.

This effect always succeeds, it is safe to use the field involvedObject directly.

Gets lastTimestamp.

Gets lastTimestamp.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getMessage: IO[K8sFailure, String]

A human-readable description of the status of this operation.

A human-readable description of the status of this operation.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets metadata.

Gets metadata.

This effect always succeeds, it is safe to use the field metadata directly.

def getReason: IO[K8sFailure, String]

This should be a short, machine understandable string that gives the reason for the transition into the object's current status.

This should be a short, machine understandable string that gives the reason for the transition into the object's current status.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets related.

Gets related.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Name of the controller that emitted this Event, e.g. kubernetes.io/kubelet.

Name of the controller that emitted this Event, e.g. kubernetes.io/kubelet.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

ID of the controller instance, e.g. kubelet-xyzf.

ID of the controller instance, e.g. kubelet-xyzf.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets series.

Gets series.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets source.

Gets source.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getType: IO[K8sFailure, String]

Type of this event (Normal, Warning), new types could be added in the future

Type of this event (Normal, Warning), new types could be added in the future

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product