struct

Kubernetes::EventSeries

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

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

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

count

count is the number of occurrences in this series up to the last heartbeat time.

Source
count=(count : Int32 | Nil)

count is the number of occurrences in this series up to the last heartbeat time.

Source
last_observed_time

lastObservedTime is the time when last Event from the series was seen before last heartbeat.

Source
last_observed_time=(last_observed_time : MicroTime | Nil)

lastObservedTime is the time when last Event from the series was seen before last heartbeat.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source