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
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val strategy: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- 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