final case class Secret(data: Option[Map[String, String]] = None, immutable: Option[Boolean] = None, metadata: Option[ObjectMeta] = None, type: Option[String] = None, stringData: Option[Map[String, String]] = None) extends KObject with Product with Serializable
Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.
- Source
- Secret.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Secret
- KObject
- Product
- Equals
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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
- val _resourceKind: ResourceKind
- def addData(newValues: (String, String)*): Secret
Adds new values to data
- def addStringData(newValues: (String, String)*): Secret
Adds new values to stringData
- final lazy val apiVersion: String
- Definition Classes
- KObject
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val data: Option[Map[String, String]]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def foldTo[T](implicit arg0: Builder[T]): T
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def group: String
- Definition Classes
- KObject
- val immutable: Option[Boolean]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final lazy val kind: String
- Definition Classes
- KObject
- def mapData(f: (Map[String, String]) => Map[String, String]): Secret
if data has a value, transforms to the result of function
- def mapImmutable(f: (Boolean) => Boolean): Secret
if immutable has a value, transforms to the result of function
- def mapMetadata(f: (ObjectMeta) => ObjectMeta): Secret
if metadata has a value, transforms to the result of function
- def mapStringData(f: (Map[String, String]) => Map[String, String]): Secret
if stringData has a value, transforms to the result of function
- def mapType(f: (String) => String): Secret
if
type
has a value, transforms to the result of function - val metadata: Option[ObjectMeta]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val stringData: Option[Map[String, String]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val type: Option[String]
- final lazy val version: String
- Definition Classes
- KObject
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withData(value: Map[String, String]): Secret
Returns a new data with data set to new value
- def withImmutable(value: Boolean): Secret
Returns a new data with immutable set to new value
- def withMetadata(value: ObjectMeta): Secret
Returns a new data with metadata set to new value
- def withStringData(value: Map[String, String]): Secret
Returns a new data with stringData set to new value
- def withType(value: String): Secret
Returns a new data with
type
set to new value