struct
Kubernetes::EventSeries
- Kubernetes::EventSeries
- Struct
- Value
- Object
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
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_core_v1.crgenerated/models/io_k8s_api_events_v1.cr
Constructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .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)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#count : Int32 | Nil
count is the number of occurrences in this series up to the last heartbeat time.
-
#count=(count : Int32 | Nil)
count is the number of occurrences in this series up to the last heartbeat time.
-
#last_observed_time : MicroTime | Nil
lastObservedTime is the time when last Event from the series was seen before last heartbeat.
-
#last_observed_time=(last_observed_time : MicroTime | Nil)
lastObservedTime is the time when last Event from the series was seen before last heartbeat.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
count is the number of occurrences in this series up to the last heartbeat time.
count is the number of occurrences in this series up to the last heartbeat time.
lastObservedTime is the time when last Event from the series was seen before last heartbeat.