final case class ConfigMapVolumeSource(defaultMode: Option[Int] = None, items: Option[Seq[KeyToPath]] = None, name: Option[String] = None, optional: Option[Boolean] = None) extends Product with Serializable
Adapts a ConfigMap into a volume.
The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.
- Alphabetic
- By Inheritance
- ConfigMapVolumeSource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addItems(newValues: KeyToPath*): ConfigMapVolumeSource
Appends new values to items
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val defaultMode: Option[Int]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val items: Option[Seq[KeyToPath]]
-
def
mapDefaultMode(f: (Int) ⇒ Int): ConfigMapVolumeSource
if defaultMode has a value, transforms to the result of function
-
def
mapItems(f: (Seq[KeyToPath]) ⇒ Seq[KeyToPath]): ConfigMapVolumeSource
if items has a value, transforms to the result of function
-
def
mapName(f: (String) ⇒ String): ConfigMapVolumeSource
if name has a value, transforms to the result of function
-
def
mapOptional(f: (Boolean) ⇒ Boolean): ConfigMapVolumeSource
if optional has a value, transforms to the result of function
- val name: Option[String]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val optional: Option[Boolean]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withDefaultMode(value: Int): ConfigMapVolumeSource
Returns a new data with defaultMode set to new value
-
def
withItems(value: Seq[KeyToPath]): ConfigMapVolumeSource
Returns a new data with items set to new value
-
def
withName(value: String): ConfigMapVolumeSource
Returns a new data with name set to new value
-
def
withOptional(value: Boolean): ConfigMapVolumeSource
Returns a new data with optional set to new value