struct Kubernetes::APIResource
- Kubernetes::APIResource
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
kubernetes.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, name : String, singular_name : String, namespaced : Bool, kind : String, verbs : Array(String), short_names : Nil | Array(String) = nil, storage_version_hash : Nil | String = nil)
Instance Method Summary
- #kind : String
- #name : String
- #namespaced : Bool
- #short_names : Array(String)
- #singular_name : String
- #storage_version_hash : String | Nil
- #verbs : Array(String)
Instance methods inherited from module Kubernetes::Serializable
pretty_print(pp) : Nil
pretty_print
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!,
field?(type, key = nil, **args, &block)
field?
Constructor Detail
def self.new(*, name : String, singular_name : String, namespaced : Bool, kind : String, verbs : Array(String), short_names : Nil | Array(String) = nil, storage_version_hash : Nil | String = nil)
#