HostPathVolumeSource

io.k8s.api.core.v1.HostPathVolumeSource
See theHostPathVolumeSource companion object
final case class HostPathVolumeSource(path: String, `type`: Option[String])

Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.

Attributes

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

Members list

Value members

Concrete methods

def mapPath(f: String => String): HostPathVolumeSource

transforms path to result of function

transforms path to result of function

Attributes

Source
HostPathVolumeSource.scala
def mapType(f: String => String): HostPathVolumeSource

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

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

Attributes

Source
HostPathVolumeSource.scala
def withPath(value: String): HostPathVolumeSource

Returns a new data with path set to new value

Returns a new data with path set to new value

Attributes

Source
HostPathVolumeSource.scala
def withType(value: String): HostPathVolumeSource

Returns a new data with type set to new value

Returns a new data with type set to new value

Attributes

Source
HostPathVolumeSource.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product