final case class VolumeAttachmentSource(inlineVolumeSpec: Option[PersistentVolumeSpec] = None, persistentVolumeName: Option[String] = None) extends Product with Serializable
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- VolumeAttachmentSource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new VolumeAttachmentSource(inlineVolumeSpec: Option[PersistentVolumeSpec] = None, persistentVolumeName: Option[String] = 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()
- val inlineVolumeSpec: Option[PersistentVolumeSpec]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapInlineVolumeSpec(f: (PersistentVolumeSpec) ⇒ PersistentVolumeSpec): VolumeAttachmentSource
if inlineVolumeSpec has a value, transforms to the result of function
-
def
mapPersistentVolumeName(f: (String) ⇒ String): VolumeAttachmentSource
if persistentVolumeName 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 persistentVolumeName: Option[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( ... )
-
def
withInlineVolumeSpec(value: PersistentVolumeSpec): VolumeAttachmentSource
Returns a new data with inlineVolumeSpec set to new value
-
def
withPersistentVolumeName(value: String): VolumeAttachmentSource
Returns a new data with persistentVolumeName set to new value