case class Event(action: Optional[String] = Optional.Absent, deprecatedCount: Optional[Int] = Optional.Absent, deprecatedFirstTimestamp: Optional[Time] = Optional.Absent, deprecatedLastTimestamp: Optional[Time] = Optional.Absent, deprecatedSource: Optional[EventSource] = Optional.Absent, eventTime: MicroTime, metadata: Optional[ObjectMeta] = Optional.Absent, note: Optional[String] = Optional.Absent, reason: Optional[String] = Optional.Absent, regarding: Optional[ObjectReference] = Optional.Absent, related: Optional[ObjectReference] = Optional.Absent, reportingController: Optional[String] = Optional.Absent, reportingInstance: Optional[String] = Optional.Absent, series: Optional[EventSeries] = Optional.Absent, type: Optional[String] = Optional.Absent) extends Product with Serializable
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.
- action
action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters.
- deprecatedCount
deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.
- note
note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.
- reason
reason is why the action was taken. It is human-readable. This field can have at most 128 characters.
- reportingController
reportingController is the name of the controller that emitted this Event, e.g.
kubernetes.io/kubelet
. This field cannot be empty for new Events.- reportingInstance
reportingInstance is the ID of the controller instance, e.g.
kubelet-xyzf
. This field cannot be empty for new Events and it can have at most 128 characters.- type
type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable.
- 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, deprecatedCount: Optional[Int] = Optional.Absent, deprecatedFirstTimestamp: Optional[Time] = Optional.Absent, deprecatedLastTimestamp: Optional[Time] = Optional.Absent, deprecatedSource: Optional[EventSource] = Optional.Absent, eventTime: MicroTime, metadata: Optional[ObjectMeta] = Optional.Absent, note: Optional[String] = Optional.Absent, reason: Optional[String] = Optional.Absent, regarding: Optional[ObjectReference] = Optional.Absent, related: Optional[ObjectReference] = Optional.Absent, reportingController: Optional[String] = Optional.Absent, reportingInstance: Optional[String] = Optional.Absent, series: Optional[EventSeries] = Optional.Absent, type: Optional[String] = Optional.Absent)
- action
action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters.
- deprecatedCount
deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.
- note
note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.
- reason
reason is why the action was taken. It is human-readable. This field can have at most 128 characters.
- reportingController
reportingController is the name of the controller that emitted this Event, e.g.
kubernetes.io/kubelet
. This field cannot be empty for new Events.- reportingInstance
reportingInstance is the ID of the controller instance, e.g.
kubelet-xyzf
. This field cannot be empty for new Events and it can have at most 128 characters.- type
type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable.
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 deprecatedCount: Optional[Int]
- val deprecatedFirstTimestamp: Optional[Time]
- val deprecatedLastTimestamp: Optional[Time]
- val deprecatedSource: Optional[EventSource]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val eventTime: MicroTime
-
def
getAction: IO[K8sFailure, String]
action is what action was taken/failed regarding to the regarding object.
action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters.
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
getDeprecatedCount: IO[K8sFailure, Int]
deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.
deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getDeprecatedFirstTimestamp: IO[K8sFailure, Time]
Gets deprecatedFirstTimestamp.
Gets deprecatedFirstTimestamp.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getDeprecatedLastTimestamp: IO[K8sFailure, Time]
Gets deprecatedLastTimestamp.
Gets deprecatedLastTimestamp.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getDeprecatedSource: IO[K8sFailure, EventSource]
Gets deprecatedSource.
Gets deprecatedSource.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getEventTime: IO[K8sFailure, MicroTime]
Gets eventTime.
Gets eventTime.
This effect always succeeds, it is safe to use the field eventTime directly.
-
def
getMetadata: IO[K8sFailure, ObjectMeta]
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getNote: IO[K8sFailure, String]
note is a human-readable description of the status of this operation.
note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getReason: IO[K8sFailure, String]
reason is why the action was taken.
reason is why the action was taken. It is human-readable. This field can have at most 128 characters.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getRegarding: IO[K8sFailure, ObjectReference]
Gets regarding.
Gets regarding.
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
getReportingController: IO[K8sFailure, String]
reportingController is the name of the controller that emitted this Event, e.g.
reportingController is the name of the controller that emitted this Event, e.g.
kubernetes.io/kubelet
. This field cannot be empty for new Events.If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getReportingInstance: IO[K8sFailure, String]
reportingInstance is the ID of the controller instance, e.g.
reportingInstance is the ID of the controller instance, e.g.
kubelet-xyzf
. This field cannot be empty for new Events and it can have at most 128 characters.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
getType: IO[K8sFailure, String]
type is the type of this event (Normal, Warning), new types could be added in the future.
type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val metadata: Optional[ObjectMeta]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val note: Optional[String]
-
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 regarding: Optional[ObjectReference]
- val related: Optional[ObjectReference]
- val reportingController: Optional[String]
- val reportingInstance: Optional[String]
- val series: Optional[EventSeries]
-
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