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
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.13/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(String), categories : Array(String)? = nil, group : String? = nil, short_names : Array(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)
- #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(String), categories : Array(String)? = nil, group : String? = nil, short_names : Array(String)? = nil, version : String? = nil)
#