class K8S::Apimachinery::Apis::Meta::V1::APIResource

Overview

APIResource specifies the name of a resource and whether it is namespaced.

Included Modules

Defined in:

versions/v1.16/apimachinery/apis/meta/v1/api_resource.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
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, storage_version_hash : String? = nil, version : String? = nil) #

[View source]

Instance Method Detail

def categories : Array(String)? #

[View source]
def categories=(categories : Array(String)?) #

[View source]
def group : String? #

[View source]
def group=(group : String?) #

[View source]
def kind : String #

[View source]
def kind=(kind : String) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def namespaced : Bool #

[View source]
def namespaced=(namespaced : Bool) #

[View source]
def short_names : Array(String)? #

[View source]
def short_names=(short_names : Array(String)?) #

[View source]
def singular_name : String #

[View source]
def singular_name=(singular_name : String) #

[View source]
def storage_version_hash : String? #

[View source]
def storage_version_hash=(storage_version_hash : String?) #

[View source]
def verbs : Array(String) #

[View source]
def verbs=(verbs : Array(String)) #

[View source]
def version : String? #

[View source]
def version=(version : String?) #

[View source]