EnvVar

io.k8s.api.core.v1.EnvVar
See theEnvVar companion object
final case class EnvVar(name: String, value: Option[String], valueFrom: Option[EnvVarSource])

EnvVar represents an environment variable present in a Container.

Attributes

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

transforms name to result of function

transforms name to result of function

Attributes

Source
EnvVar.scala

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

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

Attributes

Source
EnvVar.scala

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

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

Attributes

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

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
EnvVar.scala
def withValue(value: String): EnvVar

Returns a new data with value set to new value

Returns a new data with value set to new value

Attributes

Source
EnvVar.scala

Returns a new data with valueFrom set to new value

Returns a new data with valueFrom set to new value

Attributes

Source
EnvVar.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product