class Pyrite::Apimachinery::Apis::Meta::V1::APIResource
Overview
APIResource specifies the name of a resource and whether it is namespaced.
Defined in:
versions/v1.14/apimachinery/apis/meta/v1/api_resource.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
APIResource specifies the name of a resource and whether it is namespaced.
-
.new(pull : JSON::PullParser)
APIResource specifies the name of a resource and whether it is namespaced.
- .new(*, categories : Array? = nil, group : String? = nil, kind : String, name : String, namespaced : Bool, short_names : Array? = nil, singular_name : String, storage_version_hash : String? = nil, verbs : Array, version : String? = nil)
Instance Method Summary
- #categories : Array(String)?
- #categories=(categories : Array(String)?)
- #group : String?
- #group=(group : String?)
- #kind : String
- #kind=(kind : String)
- #name : String
- #name=(name : String)
- #namespaced : Bool
- #namespaced=(namespaced : Bool)
- #short_names : Array(String)?
- #short_names=(short_names : Array(String)?)
- #singular_name : String
- #singular_name=(singular_name : String)
- #storage_version_hash : String?
- #storage_version_hash=(storage_version_hash : String?)
- #verbs : Array(String)
- #verbs=(verbs : Array(String))
- #version : String?
- #version=(version : String?)
Constructor methods inherited from class Pyrite::Kubernetes::Spec
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
#
APIResource specifies the name of a resource and whether it is namespaced.
def self.new(pull : JSON::PullParser)
#
APIResource specifies the name of a resource and whether it is namespaced.
def self.new(*, categories : Array? = nil, group : String? = nil, kind : String, name : String, namespaced : Bool, short_names : Array? = nil, singular_name : String, storage_version_hash : String? = nil, verbs : Array, version : String? = nil)
#