class K8S::ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinitionSpec
Overview
CustomResourceDefinitionSpec describes how a user wants their resource to appear
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.20/apiextensions_apiserver/apis/apiextensions/v1/custom_resource_definition_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, group : String, names : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinitionNames, scope : String, versions : Array, conversion : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceConversion? = nil, preserve_unknown_fields : Bool? = nil)
Instance Method Summary
- #conversion : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceConversion?
- #conversion=(conversion : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceConversion?)
- #group : String
- #group=(group : String)
- #names : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinitionNames
- #names=(names : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinitionNames)
- #preserve_unknown_fields : Bool?
- #preserve_unknown_fields=(preserve_unknown_fields : Bool?)
- #scope : String
- #scope=(scope : String)
- #versions : Array(ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinitionVersion)
- #versions=(versions : Array(ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinitionVersion))
Constructor Detail
def self.new(*, group : String, names : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinitionNames, scope : String, versions : Array, conversion : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceConversion? = nil, preserve_unknown_fields : Bool? = nil)
#
Instance Method Detail
def conversion : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceConversion?
#
def conversion=(conversion : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceConversion?)
#
def names=(names : ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinitionNames)
#
def versions : Array(ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinitionVersion)
#
def versions=(versions : Array(ApiextensionsApiserver::Apis::Apiextensions::V1::CustomResourceDefinitionVersion))
#