EventSeries class

EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in "k8s.io/client-go/tools/events/event_broadcaster.go" shows how this struct is updated on heartbeats and can guide customized reporter implementations.

Constructors

EventSeries({required int count, required String lastObservedTime})
Default constructor.
const
EventSeries.fromJson(Map<String, dynamic> json)
Creates a EventSeries from JSON data.
factory

Properties

count int
count is the number of occurrences in this series up to the last heartbeat time.
final
hashCode int
The hash code for this object.
no setterinherited
lastObservedTime String
lastObservedTime is the time when last Event from the series was seen before last heartbeat.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a EventSeries instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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