io.k8s.apiextensions_apiserver.pkg.apis.apiextensions.v1
CustomResourceDefinitionVersion
Companion object CustomResourceDefinitionVersion
final case class CustomResourceDefinitionVersion(name: String, served: Boolean, storage: Boolean, deprecationWarning: Option[String] = None, deprecated: Option[Boolean] = None, subresources: Option[CustomResourceSubresources] = None, schema: Option[CustomResourceValidation] = None, additionalPrinterColumns: Option[Seq[CustomResourceColumnDefinition]] = None) extends Product with Serializable
CustomResourceDefinitionVersion describes a version for CRD.
- 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, deprecationWarning: Option[String] = None, deprecated: Option[Boolean] = None, subresources: Option[CustomResourceSubresources] = None, schema: Option[CustomResourceValidation] = None, additionalPrinterColumns: Option[Seq[CustomResourceColumnDefinition]] = None)
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
- def addAdditionalPrinterColumns(newValues: CustomResourceColumnDefinition*): CustomResourceDefinitionVersion
Appends new values to additionalPrinterColumns
- 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()
- val deprecated: Option[Boolean]
- val deprecationWarning: Option[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapAdditionalPrinterColumns(f: (Seq[CustomResourceColumnDefinition]) => Seq[CustomResourceColumnDefinition]): CustomResourceDefinitionVersion
if additionalPrinterColumns has a value, transforms to the result of function
- def mapDeprecated(f: (Boolean) => Boolean): CustomResourceDefinitionVersion
if deprecated has a value, transforms to the result of function
- def mapDeprecationWarning(f: (String) => String): CustomResourceDefinitionVersion
if deprecationWarning has a value, transforms to the result of function
- def mapName(f: (String) => String): CustomResourceDefinitionVersion
transforms name to result of function
- def mapSchema(f: (CustomResourceValidation) => CustomResourceValidation): CustomResourceDefinitionVersion
if schema has a value, transforms to the result of function
- def mapServed(f: (Boolean) => Boolean): CustomResourceDefinitionVersion
transforms served to result of function
- def mapStorage(f: (Boolean) => Boolean): CustomResourceDefinitionVersion
transforms storage to result of function
- def mapSubresources(f: (CustomResourceSubresources) => CustomResourceSubresources): CustomResourceDefinitionVersion
if subresources has a value, transforms to the result of function
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- def withAdditionalPrinterColumns(value: Seq[CustomResourceColumnDefinition]): CustomResourceDefinitionVersion
Returns a new data with additionalPrinterColumns set to new value
- def withDeprecated(value: Boolean): CustomResourceDefinitionVersion
Returns a new data with deprecated set to new value
- def withDeprecationWarning(value: String): CustomResourceDefinitionVersion
Returns a new data with deprecationWarning set to new value
- def withName(value: String): CustomResourceDefinitionVersion
Returns a new data with name set to new value
- def withSchema(value: CustomResourceValidation): CustomResourceDefinitionVersion
Returns a new data with schema set to new value
- def withServed(value: Boolean): CustomResourceDefinitionVersion
Returns a new data with served set to new value
- def withStorage(value: Boolean): CustomResourceDefinitionVersion
Returns a new data with storage set to new value
- def withSubresources(value: CustomResourceSubresources): CustomResourceDefinitionVersion
Returns a new data with subresources set to new value