Event class

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.

Constructors

Event({Input<String>? action, Input<String>? apiVersion, Input<int>? count, Input<String>? eventTime, Input<String>? firstTimestamp, required Input<ObjectReference> involvedObject, Input<String>? kind, Input<String>? lastTimestamp, Input<String>? message, required Input<ObjectMeta> metadata, Input<String>? reason, Input<ObjectReference>? related, Input<String>? reportingComponent, Input<String>? reportingInstance, Input<EventSeries>? series, Input<EventSource>? source, Input<String>? type})
Creates a new Event. action What action was taken/failed regarding to the Regarding object. apiVersion APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources count The number of times this event has occurred. eventTime Time when this Event was first observed. firstTimestamp The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) involvedObject The object that this event is about. kind Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds lastTimestamp The time at which the most recent occurrence of this event was recorded. message A human-readable description of the status of this operation. metadata Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata reason This should be a short, machine understandable string that gives the reason for the transition into the object's current status. related Optional secondary object for more complex actions. reportingComponent Name of the controller that emitted this Event, e.g. kubernetes.io/kubelet. reportingInstance ID of the controller instance, e.g. kubelet-xyzf. series Data about the Event series this event represents or nil if it's a singleton Event. source The component reporting this event. Should be a short machine understandable string. type Type of this event (Normal, Warning), new types could be added in the future
const
Event.fromMap(Map<String, dynamic> map)
factory

Properties

action → Input<String>?
What action was taken/failed regarding to the Regarding object.
final
apiVersion → Input<String>?
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
final
count → Input<int>?
The number of times this event has occurred.
final
eventTime → Input<String>?
Time when this Event was first observed.
final
firstTimestamp → Input<String>?
The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)
final
hashCode → int
The hash code for this object.
no setterinherited
involvedObject → Input<ObjectReference>
The object that this event is about.
final
kind → Input<String>?
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
final
lastTimestamp → Input<String>?
The time at which the most recent occurrence of this event was recorded.
final
message → Input<String>?
A human-readable description of the status of this operation.
final
metadata → Input<ObjectMeta>
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
final
reason → Input<String>?
This should be a short, machine understandable string that gives the reason for the transition into the object's current status.
final
Optional secondary object for more complex actions.
final
reportingComponent → Input<String>?
Name of the controller that emitted this Event, e.g. kubernetes.io/kubelet.
final
reportingInstance → Input<String>?
ID of the controller instance, e.g. kubelet-xyzf.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
series → Input<EventSeries>?
Data about the Event series this event represents or nil if it's a singleton Event.
final
source → Input<EventSource>?
The component reporting this event. Should be a short machine understandable string.
final
type → Input<String>?
Type of this event (Normal, Warning), new types could be added in the future
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited