case class VolumeDevice(devicePath: String, name: String) extends Product with Serializable
volumeDevice describes a mapping of a raw block device within a container.
- devicePath
devicePath is the path inside of the container that the device will be mapped to.
- name
name must match the name of a persistentVolumeClaim in the pod
- Alphabetic
- By Inheritance
- VolumeDevice
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
VolumeDevice(devicePath: String, name: String)
- devicePath
devicePath is the path inside of the container that the device will be mapped to.
- name
name must match the name of a persistentVolumeClaim in the pod
Value Members
- val devicePath: String
-
def
getDevicePath: IO[K8sFailure, String]
devicePath is the path inside of the container that the device will be mapped to.
devicePath is the path inside of the container that the device will be mapped to.
This effect always succeeds, it is safe to use the field devicePath directly.
-
def
getName: IO[K8sFailure, String]
name must match the name of a persistentVolumeClaim in the pod
name must match the name of a persistentVolumeClaim in the pod
This effect always succeeds, it is safe to use the field name directly.
- val name: String