Secret

final case class Secret(data: Option[Map[String, String]], immutable: Option[Boolean], metadata: Option[ObjectMeta], `type`: Option[String], stringData: Option[Map[String, String]]) extends KObject

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
trait KObject
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def addData(newValues: (String, String)*): Secret

Adds new values to data

Adds new values to data

Source:
Secret.scala
def addStringData(newValues: (String, String)*): Secret

Adds new values to stringData

Adds new values to stringData

Source:
Secret.scala

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

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

Source:
Secret.scala

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

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

Source:
Secret.scala

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

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

Source:
Secret.scala

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

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

Source:
Secret.scala

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

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

Source:
Secret.scala

Returns a new data with data set to new value

Returns a new data with data set to new value

Source:
Secret.scala

Returns a new data with immutable set to new value

Returns a new data with immutable set to new value

Source:
Secret.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Source:
Secret.scala

Returns a new data with stringData set to new value

Returns a new data with stringData set to new value

Source:
Secret.scala
def withType(value: String): Secret

Returns a new data with type set to new value

Returns a new data with type set to new value

Source:
Secret.scala

Inherited methods

final def group: String
Inherited from:
KObject
Source:
ResourceKind.scala
Inherited from:
Product

Inherited fields

final lazy val apiVersion: String
Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val kind: String
Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val version: String
Inherited from:
KObject
Source:
ResourceKind.scala