struct
Kubernetes::CustomResourceDefinitionVersion
- Kubernetes::CustomResourceDefinitionVersion
- Struct
- Value
- Object
Overview
CustomResourceDefinitionVersion describes a version for CRD.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#additional_printer_columns : Array(CustomResourceColumnDefinition) | Nil
additionalPrinterColumns specifies additional columns returned in Table output.
-
#additional_printer_columns=(additional_printer_columns : Array(CustomResourceColumnDefinition) | Nil)
additionalPrinterColumns specifies additional columns returned in Table output.
-
#deprecated : Bool | Nil
deprecated indicates this version of the custom resource API is deprecated.
-
#deprecated=(deprecated : Bool | Nil)
deprecated indicates this version of the custom resource API is deprecated.
-
#deprecation_warning : String | Nil
deprecationWarning overrides the default warning returned to API clients.
-
#deprecation_warning=(deprecation_warning : String | Nil)
deprecationWarning overrides the default warning returned to API clients.
-
#name : String | Nil
name is the version name, e.g.
-
#name=(name : String | Nil)
name is the version name, e.g.
-
#schema : CustomResourceValidation | Nil
schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.
-
#schema=(schema : CustomResourceValidation | Nil)
schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.
-
#selectable_fields : Array(SelectableField) | Nil
selectableFields specifies paths to fields that may be used as field selectors.
-
#selectable_fields=(selectable_fields : Array(SelectableField) | Nil)
selectableFields specifies paths to fields that may be used as field selectors.
-
#served : Bool | Nil
served is a flag enabling/disabling this version from being served via REST APIs
-
#served=(served : Bool | Nil)
served is a flag enabling/disabling this version from being served via REST APIs
-
#storage : Bool | Nil
storage indicates this version should be used when persisting custom resources to storage.
-
#storage=(storage : Bool | Nil)
storage indicates this version should be used when persisting custom resources to storage.
-
#subresources : CustomResourceSubresources | Nil
subresources specify what subresources this version of the defined custom resource have.
-
#subresources=(subresources : CustomResourceSubresources | Nil)
subresources specify what subresources this version of the defined custom resource have.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.
deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.
deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.
deprecationWarning overrides the default warning returned to API clients. May only be set when #deprecated is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.
deprecationWarning overrides the default warning returned to API clients. May only be set when #deprecated is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.
name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at /apis/<group>/<version>/... if #served is true.
name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at /apis/<group>/<version>/... if #served is true.
schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.
schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.
selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors
selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors
served is a flag enabling/disabling this version from being served via REST APIs
served is a flag enabling/disabling this version from being served via REST APIs
storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.
storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.
subresources specify what subresources this version of the defined custom resource have.
subresources specify what subresources this version of the defined custom resource have.