c
io.k8s.apiextensions_apiserver.pkg.apis.apiextensions.v1
CustomResourceConversion
Companion object CustomResourceConversion
final case class CustomResourceConversion(strategy: String, webhook: Option[WebhookConversion] = None) extends Product with Serializable
CustomResourceConversion describes how to convert different versions of a CR.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CustomResourceConversion
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new CustomResourceConversion(strategy: String, webhook: Option[WebhookConversion] = 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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 mapStrategy(f: (String) => String): CustomResourceConversion
transforms strategy to result of function
- def mapWebhook(f: (WebhookConversion) => WebhookConversion): CustomResourceConversion
if webhook has a value, transforms to the result of function
- 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 strategy: String
- 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()
- val webhook: Option[WebhookConversion]
- def withStrategy(value: String): CustomResourceConversion
Returns a new data with strategy set to new value
- def withWebhook(value: WebhookConversion): CustomResourceConversion
Returns a new data with webhook set to new value