final case class RBDVolumeSource(image: String, monitors: Seq[String], readOnly: Option[Boolean] = None, fsType: Option[String] = None, secretRef: Option[LocalObjectReference] = None, pool: Option[String] = None, keyring: Option[String] = None, user: Option[String] = None) extends Product with Serializable
Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.
- Source
- RBDVolumeSource.scala
- Alphabetic
- By Inheritance
- RBDVolumeSource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
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
addMonitors(newValues: String*): RBDVolumeSource
Appends new values to monitors
-
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
- val fsType: Option[String]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val image: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keyring: Option[String]
-
def
mapFsType(f: (String) ⇒ String): RBDVolumeSource
if fsType has a value, transforms to the result of function
-
def
mapImage(f: (String) ⇒ String): RBDVolumeSource
transforms image to result of function
-
def
mapKeyring(f: (String) ⇒ String): RBDVolumeSource
if keyring has a value, transforms to the result of function
-
def
mapMonitors(f: (Seq[String]) ⇒ Seq[String]): RBDVolumeSource
transforms monitors to result of function
-
def
mapPool(f: (String) ⇒ String): RBDVolumeSource
if pool has a value, transforms to the result of function
-
def
mapReadOnly(f: (Boolean) ⇒ Boolean): RBDVolumeSource
if readOnly has a value, transforms to the result of function
-
def
mapSecretRef(f: (LocalObjectReference) ⇒ LocalObjectReference): RBDVolumeSource
if secretRef has a value, transforms to the result of function
-
def
mapUser(f: (String) ⇒ String): RBDVolumeSource
if user has a value, transforms to the result of function
- val monitors: Seq[String]
-
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 pool: Option[String]
- val readOnly: Option[Boolean]
- val secretRef: Option[LocalObjectReference]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val user: Option[String]
-
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( ... )
-
def
withFsType(value: String): RBDVolumeSource
Returns a new data with fsType set to new value
-
def
withImage(value: String): RBDVolumeSource
Returns a new data with image set to new value
-
def
withKeyring(value: String): RBDVolumeSource
Returns a new data with keyring set to new value
-
def
withMonitors(value: Seq[String]): RBDVolumeSource
Returns a new data with monitors set to new value
-
def
withPool(value: String): RBDVolumeSource
Returns a new data with pool set to new value
-
def
withReadOnly(value: Boolean): RBDVolumeSource
Returns a new data with readOnly set to new value
-
def
withSecretRef(value: LocalObjectReference): RBDVolumeSource
Returns a new data with secretRef set to new value
-
def
withUser(value: String): RBDVolumeSource
Returns a new data with user set to new value