struct Kubernetes::Resource(T)

Included Modules

Defined in:

kubernetes.cr

Constructors

Instance Method Summary

Instance methods inherited from module Kubernetes::Serializable

pretty_print(pp) : Nil pretty_print

Constructor Detail

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

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

def self.new(*, api_version : Nil | String, kind : Nil | 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 #