Packages

case class Secret(data: Optional[Map[String, Chunk[Byte]]] = Optional.Absent, immutable: Optional[Boolean] = Optional.Absent, metadata: Optional[ObjectMeta] = Optional.Absent, stringData: Optional[Map[String, String]] = Optional.Absent, type: Optional[String] = Optional.Absent) extends 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.

data

Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4

immutable

Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.

stringData

stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.

type

Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Secret
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Secret(data: Optional[Map[String, Chunk[Byte]]] = Optional.Absent, immutable: Optional[Boolean] = Optional.Absent, metadata: Optional[ObjectMeta] = Optional.Absent, stringData: Optional[Map[String, String]] = Optional.Absent, type: Optional[String] = Optional.Absent)

    data

    Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4

    immutable

    Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.

    stringData

    stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.

    type

    Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types

Value Members

  1. val data: Optional[Map[String, Chunk[Byte]]]
  2. def getData: IO[K8sFailure, Map[String, Chunk[Byte]]]

    Data contains the secret data.

    Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  3. def getImmutable: IO[K8sFailure, Boolean]

    Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).

    Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  4. def getMetadata: IO[K8sFailure, ObjectMeta]

    Gets metadata.

    Gets metadata.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  5. def getStringData: IO[K8sFailure, Map[String, String]]

    stringData allows specifying non-binary secret data in string form.

    stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  6. def getType: IO[K8sFailure, String]

    Used to facilitate programmatic handling of secret data.

    Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  7. val immutable: Optional[Boolean]
  8. val metadata: Optional[ObjectMeta]
  9. val stringData: Optional[Map[String, String]]
  10. val type: Optional[String]