Secret

io.k8s.api.core.v1.Secret
See theSecret companion object
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.

Attributes

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

Members list

Value members

Concrete methods

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

Adds new values to data

Adds new values to data

Attributes

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

Adds new values to stringData

Adds new values to stringData

Attributes

Source
Secret.scala
override def foldTo[T : Builder]: T

Attributes

Definition Classes
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

Attributes

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

Attributes

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

Attributes

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

Attributes

Source
Secret.scala
def mapType(f: String => String): Secret

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

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

Attributes

Source
Secret.scala
def withData(value: Map[String, String]): Secret

Returns a new data with data set to new value

Returns a new data with data set to new value

Attributes

Source
Secret.scala

Returns a new data with immutable set to new value

Returns a new data with immutable set to new value

Attributes

Source
Secret.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Attributes

Source
Secret.scala

Returns a new data with stringData set to new value

Returns a new data with stringData set to new value

Attributes

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

Attributes

Source
Secret.scala

Inherited methods

final def group: String

Attributes

Inherited from:
KObject
Source
ResourceKind.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Inherited fields

final lazy val apiVersion: String

Attributes

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

Attributes

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

Attributes

Inherited from:
KObject
Source
ResourceKind.scala