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.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- K8S::Kubernetes::Resource::Object
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.15/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?
Standard object's metadata.
-
#metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?)
Standard object's metadata.
- #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
Class methods inherited from class K8S::Kubernetes::Resource
from_file(file)
from_file,
from_files(*paths)
from_files
Constructor Detail
Class Method Detail
Instance Method Detail
def metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
#
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
def metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?)
#
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata