class K8S::Api::Events::V1::Event

Overview

Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.

Included Modules

Defined in:

versions/v1.19/api/events/v1/event.cr

Constructors

Class Method Summary

Instance Method Summary

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

Constructor Detail

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

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.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) #

[View source]

Class Method Detail

def self.from_h(hash) #

[View source]

Instance Method Detail

def action : String? #

[View source]
def action=(action : String?) #

[View source]
def api_version : String #

[View source]
def deprecated_count : Int32? #

[View source]
def deprecated_count=(deprecated_count : Int32?) #

[View source]
def deprecated_first_timestamp : Time? #

[View source]
def deprecated_first_timestamp=(deprecated_first_timestamp : Time?) #

[View source]
def deprecated_last_timestamp : Time? #

[View source]
def deprecated_last_timestamp=(deprecated_last_timestamp : Time?) #

[View source]
def deprecated_source : Api::Core::V1::EventSource? #

[View source]
def deprecated_source=(deprecated_source : Api::Core::V1::EventSource?) #

[View source]
def event_time : Time? #

[View source]
def event_time=(event_time : Time?) #

[View source]
def kind : String #

[View source]
def merge(other) #

[View source]

[View source]
def metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?) #

[View source]
def note : String? #

[View source]
def note=(note : String?) #

[View source]
def reason : String? #

[View source]
def reason=(reason : String?) #

[View source]

[View source]
def regarding=(regarding : Api::Core::V1::ObjectReference?) #

[View source]

[View source]
def related=(related : Api::Core::V1::ObjectReference?) #

[View source]
def reporting_controller : String? #

[View source]
def reporting_controller=(reporting_controller : String?) #

[View source]
def reporting_instance : String? #

[View source]
def reporting_instance=(reporting_instance : String?) #

[View source]

[View source]
def series=(series : Api::Events::V1::EventSeries?) #

[View source]
def to_h #

[View source]
def type : String? #

[View source]
def type=(type : String?) #

[View source]