final case class SecretProjection(items: Option[Seq[KeyToPath]] = None, name: Option[String] = None, optional: Option[Boolean] = None) extends Product with Serializable
Adapts a secret into a projected volume.
The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.
- Source
- SecretProjection.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SecretProjection
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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*): SecretProjection
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()
-
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
mapItems(f: (Seq[KeyToPath]) ⇒ Seq[KeyToPath]): SecretProjection
if items has a value, transforms to the result of function
-
def
mapName(f: (String) ⇒ String): SecretProjection
if name has a value, transforms to the result of function
-
def
mapOptional(f: (Boolean) ⇒ Boolean): SecretProjection
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
withItems(value: Seq[KeyToPath]): SecretProjection
Returns a new data with items set to new value
-
def
withName(value: String): SecretProjection
Returns a new data with name set to new value
-
def
withOptional(value: Boolean): SecretProjection
Returns a new data with optional set to new value