ConfigMapKeySelector

io.k8s.api.core.v1.ConfigMapKeySelector
See theConfigMapKeySelector companion object
final case class ConfigMapKeySelector(key: String, name: Option[String], optional: Option[Boolean])

Selects a key from a ConfigMap.

Attributes

Companion
object
Source
ConfigMapKeySelector.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): ConfigMapKeySelector

transforms key to result of function

transforms key to result of function

Attributes

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

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

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

Attributes

Source
ConfigMapKeySelector.scala
def mapOptional(f: Boolean => Boolean): ConfigMapKeySelector

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

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

Attributes

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

Returns a new data with key set to new value

Returns a new data with key set to new value

Attributes

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

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
ConfigMapKeySelector.scala
def withOptional(value: Boolean): ConfigMapKeySelector

Returns a new data with optional set to new value

Returns a new data with optional set to new value

Attributes

Source
ConfigMapKeySelector.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product