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

Members list

Concise view

Value members

Concrete methods

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

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

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

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product