class K8S::ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceDefinitionSpec
- K8S::ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceDefinitionSpec
- Reference
- Object
Overview
CustomResourceDefinitionSpec describes how a user wants their resource to appear
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.11/apiextensions_apiserver/apis/apiextensions/v1beta1/custom_resource_definition_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, group : String, names : ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceDefinitionNames, scope : String, additional_printer_columns : Array(ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceColumnDefinition)? = nil, subresources : ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceSubresources? = nil, validation : ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceValidation? = nil, version : String? = nil, versions : Array(ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceDefinitionVersion)? = nil)
Instance Method Summary
- #additional_printer_columns : Array(ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceColumnDefinition)?
- #additional_printer_columns=(additional_printer_columns : Array(ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceColumnDefinition)?)
- #group : String
- #group=(group : String)
- #names : ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceDefinitionNames
- #names=(names : ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceDefinitionNames)
- #scope : String
- #scope=(scope : String)
- #subresources : ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceSubresources?
- #subresources=(subresources : ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceSubresources?)
- #validation : ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceValidation?
- #validation=(validation : ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceValidation?)
- #version : String?
- #version=(version : String?)
- #versions : Array(ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceDefinitionVersion)?
- #versions=(versions : Array(ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceDefinitionVersion)?)
Constructor Detail
def self.new(*, group : String, names : ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceDefinitionNames, scope : String, additional_printer_columns : Array(ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceColumnDefinition)? = nil, subresources : ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceSubresources? = nil, validation : ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceValidation? = nil, version : String? = nil, versions : Array(ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceDefinitionVersion)? = nil)
#
Instance Method Detail
def additional_printer_columns : Array(ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceColumnDefinition)?
#
def additional_printer_columns=(additional_printer_columns : Array(ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceColumnDefinition)?)
#
def names=(names : ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceDefinitionNames)
#
def subresources : ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceSubresources?
#
def subresources=(subresources : ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceSubresources?)
#
def validation=(validation : ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceValidation?)
#
def versions : Array(ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceDefinitionVersion)?
#
def versions=(versions : Array(ApiextensionsApiserver::Apis::Apiextensions::V1beta1::CustomResourceDefinitionVersion)?)
#