struct Kubernetes::Resource(T)

Included Modules

Defined in:

kubernetes.cr

Constructors

Instance Method Summary

Macros inherited from module Kubernetes::Serializable

add_field(type, getter_type, key = nil, **args, &block) add_field, field(type, key = nil, **args, &block) field, field?(type, key = nil, **args, &block) field?

Constructor Detail

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

def self.new(pull : JSON::PullParser) #

def self.new(*, api_version : String, kind : String, metadata : Kubernetes::Metadata, spec : T, status : JSON::Any = JSON::Any.new(nil)) #

[View source]

Instance Method Detail

def api_version : String #

def kind : String #

def metadata : Metadata #

def spec : T #

def status : JSON::Any #