class K8S::Apimachinery::Apis::Meta::V1::APIResource
- K8S::Apimachinery::Apis::Meta::V1::APIResource
- Reference
- Object
Overview
APIResource specifies the name of a resource and whether it is namespaced.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.23/apimachinery/apis/meta/v1/api_resource.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, kind : String, name : String, namespaced : Bool, singular_name : String, verbs : Array, categories : Array? = nil, group : String? = nil, short_names : Array? = nil, storage_version_hash : String? = nil, 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 Detail
def self.new(*, kind : String, name : String, namespaced : Bool, singular_name : String, verbs : Array, categories : Array? = nil, group : String? = nil, short_names : Array? = nil, storage_version_hash : String? = nil, version : String? = nil)
#