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
- Alphabetic
- By Inheritance
- Secret
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val data: Optional[Map[String, Chunk[Byte]]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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.
-
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.
-
def
getMetadata: IO[K8sFailure, ObjectMeta]
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
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.
-
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.
- val immutable: Optional[Boolean]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val metadata: Optional[ObjectMeta]
-
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 stringData: Optional[Map[String, String]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val type: Optional[String]
-
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( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated