SecretEnvSource

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

SecretEnvSource selects a Secret to populate the environment variables with.

The contents of the target Secret's Data field will represent the key-value pairs as environment variables.

Attributes

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

Members list

Value members

Concrete methods

def mapName(f: String => String): SecretEnvSource

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

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

Attributes

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

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

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

Attributes

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

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

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

Returns a new data with optional set to new value

Returns a new data with optional set to new value

Attributes

Source
SecretEnvSource.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product