case class Event(action: Optional[String] = Optional.Absent, count: Optional[Int] = Optional.Absent, eventTime: Optional[MicroTime] = Optional.Absent, firstTimestamp: Optional[Time] = Optional.Absent, involvedObject: ObjectReference, lastTimestamp: Optional[Time] = Optional.Absent, message: Optional[String] = Optional.Absent, metadata: ObjectMeta, reason: Optional[String] = Optional.Absent, related: Optional[ObjectReference] = Optional.Absent, reportingComponent: Optional[String] = Optional.Absent, reportingInstance: Optional[String] = Optional.Absent, series: Optional[EventSeries] = Optional.Absent, source: Optional[EventSource] = Optional.Absent, type: Optional[String] = Optional.Absent) extends 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.
- 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
- Alphabetic
- By Inheritance
- Event
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Event(action: Optional[String] = Optional.Absent, count: Optional[Int] = Optional.Absent, eventTime: Optional[MicroTime] = Optional.Absent, firstTimestamp: Optional[Time] = Optional.Absent, involvedObject: ObjectReference, lastTimestamp: Optional[Time] = Optional.Absent, message: Optional[String] = Optional.Absent, metadata: ObjectMeta, reason: Optional[String] = Optional.Absent, related: Optional[ObjectReference] = Optional.Absent, reportingComponent: Optional[String] = Optional.Absent, reportingInstance: Optional[String] = Optional.Absent, series: Optional[EventSeries] = Optional.Absent, source: Optional[EventSource] = Optional.Absent, type: Optional[String] = Optional.Absent)
- 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
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 action: Optional[String]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val count: Optional[Int]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val eventTime: Optional[MicroTime]
- val firstTimestamp: Optional[Time]
-
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.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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.
-
def
getEventTime: IO[K8sFailure, MicroTime]
Gets eventTime.
Gets eventTime.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getFirstTimestamp: IO[K8sFailure, Time]
Gets firstTimestamp.
Gets firstTimestamp.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getInvolvedObject: IO[K8sFailure, ObjectReference]
Gets involvedObject.
Gets involvedObject.
This effect always succeeds, it is safe to use the field involvedObject directly.
-
def
getLastTimestamp: IO[K8sFailure, Time]
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.
-
def
getMetadata: IO[K8sFailure, ObjectMeta]
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.
-
def
getRelated: IO[K8sFailure, ObjectReference]
Gets related.
Gets related.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getReportingComponent: IO[K8sFailure, String]
Name of the controller that emitted this Event, e.g.
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.
-
def
getReportingInstance: IO[K8sFailure, String]
ID of the controller instance, e.g.
ID of the controller instance, e.g.
kubelet-xyzf
.If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSeries: IO[K8sFailure, EventSeries]
Gets series.
Gets series.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSource: IO[K8sFailure, EventSource]
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.
- val involvedObject: ObjectReference
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lastTimestamp: Optional[Time]
- val message: Optional[String]
- val metadata: ObjectMeta
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val reason: Optional[String]
- val related: Optional[ObjectReference]
- val reportingComponent: Optional[String]
- val reportingInstance: Optional[String]
- val series: Optional[EventSeries]
- val source: Optional[EventSource]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val type: Optional[String]
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated