VolumeDevice

io.k8s.api.core.v1.VolumeDevice
See theVolumeDevice companion object
final case class VolumeDevice(devicePath: String, name: String)

volumeDevice describes a mapping of a raw block device within a container.

Attributes

Companion
object
Source
VolumeDevice.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def mapDevicePath(f: String => String): VolumeDevice

transforms devicePath to result of function

transforms devicePath to result of function

Attributes

Source
VolumeDevice.scala
def mapName(f: String => String): VolumeDevice

transforms name to result of function

transforms name to result of function

Attributes

Source
VolumeDevice.scala
def withDevicePath(value: String): VolumeDevice

Returns a new data with devicePath set to new value

Returns a new data with devicePath set to new value

Attributes

Source
VolumeDevice.scala
def withName(value: String): VolumeDevice

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
VolumeDevice.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product