final case class CustomResourceDefinitionSpec(versions: Seq[CustomResourceDefinitionVersion], scope: String, names: CustomResourceDefinitionNames, group: String, conversion: Option[CustomResourceConversion] = None, preserveUnknownFields: Option[Boolean] = None) extends Product with Serializable
CustomResourceDefinitionSpec describes how a user wants their resource to appear
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CustomResourceDefinitionSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new CustomResourceDefinitionSpec(versions: Seq[CustomResourceDefinitionVersion], scope: String, names: CustomResourceDefinitionNames, group: String, conversion: Option[CustomResourceConversion] = None, preserveUnknownFields: Option[Boolean] = 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
addVersions(newValues: CustomResourceDefinitionVersion*): CustomResourceDefinitionSpec
Appends new values to versions
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val conversion: Option[CustomResourceConversion]
-
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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val group: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapConversion(f: (CustomResourceConversion) ⇒ CustomResourceConversion): CustomResourceDefinitionSpec
if conversion has a value, transforms to the result of function
-
def
mapGroup(f: (String) ⇒ String): CustomResourceDefinitionSpec
transforms group to result of function
-
def
mapNames(f: (CustomResourceDefinitionNames) ⇒ CustomResourceDefinitionNames): CustomResourceDefinitionSpec
transforms names to result of function
-
def
mapPreserveUnknownFields(f: (Boolean) ⇒ Boolean): CustomResourceDefinitionSpec
if preserveUnknownFields has a value, transforms to the result of function
-
def
mapScope(f: (String) ⇒ String): CustomResourceDefinitionSpec
transforms scope to result of function
-
def
mapVersions(f: (Seq[CustomResourceDefinitionVersion]) ⇒ Seq[CustomResourceDefinitionVersion]): CustomResourceDefinitionSpec
transforms versions to result of function
- val names: CustomResourceDefinitionNames
-
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()
- val preserveUnknownFields: Option[Boolean]
- val scope: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val versions: Seq[CustomResourceDefinitionVersion]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()
-
def
withConversion(value: CustomResourceConversion): CustomResourceDefinitionSpec
Returns a new data with conversion set to new value
-
def
withGroup(value: String): CustomResourceDefinitionSpec
Returns a new data with group set to new value
-
def
withNames(value: CustomResourceDefinitionNames): CustomResourceDefinitionSpec
Returns a new data with names set to new value
-
def
withPreserveUnknownFields(value: Boolean): CustomResourceDefinitionSpec
Returns a new data with preserveUnknownFields set to new value
-
def
withScope(value: String): CustomResourceDefinitionSpec
Returns a new data with scope set to new value
-
def
withVersions(value: Seq[CustomResourceDefinitionVersion]): CustomResourceDefinitionSpec
Returns a new data with versions set to new value