class K8S::Api::Core::V1::Event
- K8S::Api::Core::V1::Event
- K8S::Kubernetes::Resource
- Reference
- Object
Overview
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.
Included Modules
- JSON::Serializable
- K8S::Kubernetes::Resource::Object
- YAML::Serializable
Defined in:
versions/v1.21/api/core/v1/event.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, involved_object : Api::Core::V1::ObjectReference, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta, action : String? = nil, count : Int32? = nil, event_time : Time? = nil, first_timestamp : Time? = nil, last_timestamp : Time? = nil, message : String? = nil, reason : String? = nil, related : Api::Core::V1::ObjectReference? = nil, reporting_component : String? = nil, reporting_instance : String? = nil, series : Api::Core::V1::EventSeries? = nil, source : Api::Core::V1::EventSource? = nil, type : String? = nil)
Class Method Summary
Instance Method Summary
- #action : String?
- #action=(action : String?)
- #api_version : String
- #count : Int32?
- #count=(count : Int32?)
- #event_time : Time?
- #event_time=(event_time : Time?)
- #first_timestamp : Time?
- #first_timestamp=(first_timestamp : Time?)
- #involved_object : Api::Core::V1::ObjectReference
- #involved_object=(involved_object : Api::Core::V1::ObjectReference)
- #kind : String
- #last_timestamp : Time?
- #last_timestamp=(last_timestamp : Time?)
- #merge(other)
- #message : String?
- #message=(message : String?)
- #metadata : Apimachinery::Apis::Meta::V1::ObjectMeta
- #metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta)
- #reason : String?
- #reason=(reason : String?)
- #related : Api::Core::V1::ObjectReference?
- #related=(related : Api::Core::V1::ObjectReference?)
- #reporting_component : String?
- #reporting_component=(reporting_component : String?)
- #reporting_instance : String?
- #reporting_instance=(reporting_instance : String?)
- #series : Api::Core::V1::EventSeries?
- #series=(series : Api::Core::V1::EventSeries?)
- #source : Api::Core::V1::EventSource?
- #source=(source : Api::Core::V1::EventSource?)
- #to_h
- #type : String?
- #type=(type : String?)
Instance methods inherited from module K8S::Kubernetes::Resource::Object
api_version : String
api_version,
kind : String
kind,
metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
metadata,
metadata! : Apimachinery::Apis::Meta::V1::ObjectMeta
metadata!
Instance methods inherited from class K8S::Kubernetes::Resource
api_version : String
api_version,
kind : String
kind
Constructor methods inherited from class K8S::Kubernetes::Resource
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new