SecretVolumeSource

io.k8s.api.core.v1.SecretVolumeSource
See theSecretVolumeSource companion object
final case class SecretVolumeSource(defaultMode: Option[Int], items: Option[Seq[KeyToPath]], optional: Option[Boolean], secretName: Option[String])

Adapts a Secret into a volume.

The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.

Attributes

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

Members list

Value members

Concrete methods

Appends new values to items

Appends new values to items

Attributes

Source
SecretVolumeSource.scala
def mapDefaultMode(f: Int => Int): SecretVolumeSource

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

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

Attributes

Source
SecretVolumeSource.scala

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

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

Attributes

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

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

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

Attributes

Source
SecretVolumeSource.scala
def mapSecretName(f: String => String): SecretVolumeSource

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

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

Attributes

Source
SecretVolumeSource.scala

Returns a new data with defaultMode set to new value

Returns a new data with defaultMode set to new value

Attributes

Source
SecretVolumeSource.scala

Returns a new data with items set to new value

Returns a new data with items set to new value

Attributes

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

Returns a new data with optional set to new value

Returns a new data with optional set to new value

Attributes

Source
SecretVolumeSource.scala
def withSecretName(value: String): SecretVolumeSource

Returns a new data with secretName set to new value

Returns a new data with secretName set to new value

Attributes

Source
SecretVolumeSource.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product