class K8S::Api::Core::V1::Event

Overview

Event is a report of an event somewhere in the cluster.

Included Modules

Defined in:

versions/v1.15/api/core/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(*, 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) #

[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 count : Int32? #

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

[View source]
def event_time : Time? #

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

[View source]
def first_timestamp : Time? #

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

[View source]
def involved_object : Api::Core::V1::ObjectReference #

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

[View source]
def kind : String #

[View source]
def last_timestamp : Time? #

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

[View source]
def merge(other) #

[View source]
def message : String? #

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

[View source]

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

[View source]
def reason : String? #

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

[View source]

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

[View source]
def reporting_component : String? #

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

[View source]
def reporting_instance : String? #

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

[View source]

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

[View source]

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

[View source]
def to_h #

[View source]
def type : String? #

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

[View source]