io.k8s.apiextensionsapiserver.pkg.apis.apiextensions.v1
CustomResourceDefinitionVersion
Companion object CustomResourceDefinitionVersion
case class CustomResourceDefinitionVersion(name: String, served: Boolean, storage: Boolean, additionalPrinterColumns: Option[Seq[CustomResourceColumnDefinition]] = None, deprecated: Option[Boolean] = None, deprecationWarning: Option[String] = None, schema: Option[CustomResourceValidation] = None, subresources: Option[CustomResourceSubresources] = None) extends Product with Serializable
CustomResourceDefinitionVersion describes a version for CRD.
- name
name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at
/apis/<group>/<version>/...ifservedis true.- served
served is a flag enabling/disabling this version from being served via REST APIs
- storage
storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.
- additionalPrinterColumns
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
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
deprecationWarning overrides the default warning returned to API clients. May only be set when
deprecatedis 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- schema
schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.
- subresources
subresources specify what subresources this version of the defined custom resource have
- Alphabetic
- By Inheritance
- CustomResourceDefinitionVersion
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CustomResourceDefinitionVersion(name: String, served: Boolean, storage: Boolean, additionalPrinterColumns: Option[Seq[CustomResourceColumnDefinition]] = None, deprecated: Option[Boolean] = None, deprecationWarning: Option[String] = None, schema: Option[CustomResourceValidation] = None, subresources: Option[CustomResourceSubresources] = None)
- name
name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at
/apis/<group>/<version>/...ifservedis true.- served
served is a flag enabling/disabling this version from being served via REST APIs
- storage
storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.
- additionalPrinterColumns
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
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
deprecationWarning overrides the default warning returned to API clients. May only be set when
deprecatedis 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- schema
schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.
- subresources
subresources specify what subresources this version of the defined custom resource have
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val additionalPrinterColumns: Option[Seq[CustomResourceColumnDefinition]]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val deprecated: Option[Boolean]
- val deprecationWarning: Option[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val schema: Option[CustomResourceValidation]
- val served: Boolean
- val storage: Boolean
- val subresources: Option[CustomResourceSubresources]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated