case class FlexVolumeSource(driver: String, fsType: Optional[String] = Optional.Absent, options: Optional[Map[String, String]] = Optional.Absent, readOnly: Optional[Boolean] = Optional.Absent, secretRef: Optional[LocalObjectReference] = Optional.Absent) extends Product with Serializable
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
- driver
Driver is the name of the driver to use for this volume.
- fsType
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
- options
Optional: Extra command options if any.
- readOnly
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- Alphabetic
- By Inheritance
- FlexVolumeSource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
FlexVolumeSource(driver: String, fsType: Optional[String] = Optional.Absent, options: Optional[Map[String, String]] = Optional.Absent, readOnly: Optional[Boolean] = Optional.Absent, secretRef: Optional[LocalObjectReference] = Optional.Absent)
- driver
Driver is the name of the driver to use for this volume.
- fsType
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
- options
Optional: Extra command options if any.
- readOnly
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
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()
- val driver: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fsType: Optional[String]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getDriver: IO[K8sFailure, String]
Driver is the name of the driver to use for this volume.
Driver is the name of the driver to use for this volume.
This effect always succeeds, it is safe to use the field driver directly.
-
def
getFsType: IO[K8sFailure, String]
Filesystem type to mount.
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getOptions: IO[K8sFailure, Map[String, String]]
Optional: Extra command options if any.
Optional: Extra command options if any.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getReadOnly: IO[K8sFailure, Boolean]
Optional: Defaults to false (read/write).
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSecretRef: IO[K8sFailure, LocalObjectReference]
Gets secretRef.
Gets secretRef.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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 options: Optional[Map[String, String]]
- val readOnly: Optional[Boolean]
- val secretRef: Optional[LocalObjectReference]
-
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( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated