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>/... if served is 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 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

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

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CustomResourceDefinitionVersion
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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>/... if served is 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 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

    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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val additionalPrinterColumns: Option[Seq[CustomResourceColumnDefinition]]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. val deprecated: Option[Boolean]
  8. val deprecationWarning: Option[String]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. val name: String
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def productElementNames: Iterator[String]
    Definition Classes
    Product
  17. val schema: Option[CustomResourceValidation]
  18. val served: Boolean
  19. val storage: Boolean
  20. val subresources: Option[CustomResourceSubresources]
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped