class K8S::Api::Events::V1::Event
- K8S::Api::Events::V1::Event
- K8S::Kubernetes::Resource
- Reference
- Object
Overview
Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. 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.23/api/events/v1/event.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, action : String? = nil, deprecated_count : Int32? = nil, deprecated_first_timestamp : Time? = nil, deprecated_last_timestamp : Time? = nil, deprecated_source : Api::Core::V1::EventSource? = nil, event_time : Time? = nil, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, note : String? = nil, reason : String? = nil, regarding : Api::Core::V1::ObjectReference? = nil, related : Api::Core::V1::ObjectReference? = nil, reporting_controller : String? = nil, reporting_instance : String? = nil, series : Api::Events::V1::EventSeries? = nil, type : String? = nil)
Class Method Summary
Instance Method Summary
- #action : String?
- #action=(action : String?)
- #api_version : String
- #deprecated_count : Int32?
- #deprecated_count=(deprecated_count : Int32?)
- #deprecated_first_timestamp : Time?
- #deprecated_first_timestamp=(deprecated_first_timestamp : Time?)
- #deprecated_last_timestamp : Time?
- #deprecated_last_timestamp=(deprecated_last_timestamp : Time?)
- #deprecated_source : Api::Core::V1::EventSource?
- #deprecated_source=(deprecated_source : Api::Core::V1::EventSource?)
- #event_time : Time?
- #event_time=(event_time : Time?)
- #kind : String
- #merge(other)
- #metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
- #metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?)
- #note : String?
- #note=(note : String?)
- #reason : String?
- #reason=(reason : String?)
- #regarding : Api::Core::V1::ObjectReference?
- #regarding=(regarding : Api::Core::V1::ObjectReference?)
- #related : Api::Core::V1::ObjectReference?
- #related=(related : Api::Core::V1::ObjectReference?)
- #reporting_controller : String?
- #reporting_controller=(reporting_controller : String?)
- #reporting_instance : String?
- #reporting_instance=(reporting_instance : String?)
- #series : Api::Events::V1::EventSeries?
- #series=(series : Api::Events::V1::EventSeries?)
- #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