class K8S::ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinition
- K8S::ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinition
- K8S::Kubernetes::Resource
- Reference
- Object
Overview
CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.
Included Modules
- JSON::Serializable
- K8S::Kubernetes::Resource::Object
- YAML::Serializable
Defined in:
versions/v1.17/apiextensions_apiserver/apis/apiextensions/v1/custom_resource_definition.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, spec : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinitionSpec, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, status : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinitionStatus? = nil)
Class Method Summary
Instance Method Summary
- #api_version : String
- #kind : String
- #merge(other)
- #metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
- #metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?)
- #spec : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinitionSpec
- #spec=(spec : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinitionSpec)
- #status : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinitionStatus?
- #status=(status : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinitionStatus?)
- #to_h
Instance methods inherited from module K8S::Kubernetes::Resource::Object
api_version : String
api_version,
kind : String
kind,
metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
metadata,
metadata! : Apimachinery::Apis::Meta::V1::ObjectMeta
metadata!
Instance methods inherited from class K8S::Kubernetes::Resource
api_version : String
api_version,
from_file(file)
from_file,
kind : String
kind
Constructor methods inherited from class K8S::Kubernetes::Resource
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
def self.new(*, spec : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinitionSpec, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, status : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinitionStatus? = nil)
#
Class Method Detail
Instance Method Detail
def status=(status : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinitionStatus?)
#