VolumeMount

io.k8s.api.core.v1.VolumeMount
See theVolumeMount companion object
final case class VolumeMount(name: String, mountPath: String, subPath: Option[String], mountPropagation: Option[String], readOnly: Option[Boolean], subPathExpr: Option[String])

VolumeMount describes a mounting of a Volume within a container.

Attributes

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

Members list

Value members

Concrete methods

def mapMountPath(f: String => String): VolumeMount

transforms mountPath to result of function

transforms mountPath to result of function

Attributes

Source
VolumeMount.scala
def mapMountPropagation(f: String => String): VolumeMount

if mountPropagation has a value, transforms to the result of function

if mountPropagation has a value, transforms to the result of function

Attributes

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

transforms name to result of function

transforms name to result of function

Attributes

Source
VolumeMount.scala
def mapReadOnly(f: Boolean => Boolean): VolumeMount

if readOnly has a value, transforms to the result of function

if readOnly has a value, transforms to the result of function

Attributes

Source
VolumeMount.scala
def mapSubPath(f: String => String): VolumeMount

if subPath has a value, transforms to the result of function

if subPath has a value, transforms to the result of function

Attributes

Source
VolumeMount.scala
def mapSubPathExpr(f: String => String): VolumeMount

if subPathExpr has a value, transforms to the result of function

if subPathExpr has a value, transforms to the result of function

Attributes

Source
VolumeMount.scala
def withMountPath(value: String): VolumeMount

Returns a new data with mountPath set to new value

Returns a new data with mountPath set to new value

Attributes

Source
VolumeMount.scala
def withMountPropagation(value: String): VolumeMount

Returns a new data with mountPropagation set to new value

Returns a new data with mountPropagation set to new value

Attributes

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

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
VolumeMount.scala
def withReadOnly(value: Boolean): VolumeMount

Returns a new data with readOnly set to new value

Returns a new data with readOnly set to new value

Attributes

Source
VolumeMount.scala
def withSubPath(value: String): VolumeMount

Returns a new data with subPath set to new value

Returns a new data with subPath set to new value

Attributes

Source
VolumeMount.scala
def withSubPathExpr(value: String): VolumeMount

Returns a new data with subPathExpr set to new value

Returns a new data with subPathExpr set to new value

Attributes

Source
VolumeMount.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product