KeyToPath

io.k8s.api.core.v1.KeyToPath
See theKeyToPath companion object
final case class KeyToPath(key: String, path: String, mode: Option[Int])

Maps a string key to a path within a volume.

Attributes

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

Members list

Value members

Concrete methods

def mapKey(f: String => String): KeyToPath

transforms key to result of function

transforms key to result of function

Attributes

Source
KeyToPath.scala
def mapMode(f: Int => Int): KeyToPath

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

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

Attributes

Source
KeyToPath.scala
def mapPath(f: String => String): KeyToPath

transforms path to result of function

transforms path to result of function

Attributes

Source
KeyToPath.scala
def withKey(value: String): KeyToPath

Returns a new data with key set to new value

Returns a new data with key set to new value

Attributes

Source
KeyToPath.scala
def withMode(value: Int): KeyToPath

Returns a new data with mode set to new value

Returns a new data with mode set to new value

Attributes

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

Returns a new data with path set to new value

Returns a new data with path set to new value

Attributes

Source
KeyToPath.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product