struct Kubernetes::EventSeries

Overview

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.

Included Modules

Defined in:

generated/models/io_k8s_api_core_v1.cr
generated/models/io_k8s_api_events_v1.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : ::JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : ::JSON::PullParser) #

def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

Macro Detail

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

Helper macro for defining fields with automatic camelCase conversion


Instance Method Detail

def count : Int32 | Nil #

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


def count=(count : Int32 | Nil) #

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


def last_observed_time : MicroTime | Nil #

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


def last_observed_time=(last_observed_time : MicroTime | Nil) #

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